File Size Overall
- There are 68 files with 21,430 lines of code.
- 4 very long files (5,714 lines of code)
- 8 long files (5,326 lines of code)
- 23 medium size files (7,710 lines of code)
- 14 small files (1,960 lines of code)
- 19 very small files (720 lines of code)
Legend:
1001+
501-1000
201-500
101-200
1-100
explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
File Size per Logical Decomposition
primary
Longest Files (Top 50)
| File | # lines | # units |
|---|---|---|
| 1678 | 7 | |
| 1557 | 7 | |
| 1386 | 32 | |
| 1093 | 45 | |
| 877 | 26 | |
| 858 | 26 | |
| 856 | 24 | |
| 570 | 15 | |
| 557 | 5 | |
| 540 | 31 | |
| 535 | 5 | |
| 533 | 19 | |
| 497 | 17 | |
| 477 | 6 | |
| 454 | 12 | |
| 450 | 12 | |
| 401 | 18 | |
| 393 | 29 | |
| 388 | 13 | |
| 387 | 13 | |
| 374 | 12 | |
| 345 | 13 | |
| 339 | - | |
| 316 | 6 | |
| 302 | 12 | |
| 298 | 4 | |
| 296 | 11 | |
| 289 | 11 | |
| 288 | 15 | |
| 276 | 6 | |
| 266 | 3 | |
| 232 | 14 | |
| 219 | 11 | |
| 213 | 8 | |
| 210 | 11 | |
| 191 | 4 | |
| 180 | 9 | |
| 180 | 4 | |
| 166 | 7 | |
| 152 | 18 | |
| 145 | 6 | |
| 139 | 4 | |
| 130 | 8 | |
| 127 | 3 | |
| 123 | 3 | |
| 110 | 1 | |
| 107 | 8 | |
| 107 | 3 | |
| 103 | 3 | |
| 94 | 9 |
Large Files That Change Often (Top 20)
To change a file, an AI coding agent (or a person) has to read it: these files are read the most for the changes in the past year (lines × changes).
| File | # lines | ≈ tokens to read | # changes (1y) | ≈ lines edited per change | lines read per line changed |
|---|---|---|---|---|---|
| 1386 | ~7k–20k | 2 | ~1,000 | ~1 | |
| 339 | ~2k–5k | 3 | ~100 | ~3 | |
| 477 | ~3k–7k | 1 | ~700 | ~1 | |
| 374 | ~2k–7k | 1 | ~700 | ~1 | |
| 316 | ~2k–5k | 1 | ~500 | ~1 | |
| 298 | ~2k–5k | 1 | ~500 | ~1 | |
| 266 | ~1.5k–5k | 1 | ~300 | ~1 | |
| 213 | ~1k–3k | 1 | ~300 | ~1 | |
| 210 | ~1k–3k | 1 | ~300 | ~1 | |
| 180 | ~1k–3k | 1 | ~300 | ~1 | |
| 166 | ~1k–3k | 1 | ~300 | ~1 | |
| 145 | ~1k–3k | 1 | ~200 | ~1 | |
| 130 | ~700–2k | 1 | ~200 | ~1 | |
| 127 | ~700–2k | 1 | ~200 | ~1 | |
| 123 | ~700–2k | 1 | ~200 | ~1 | |
| 110 | ~700–2k | 1 | ~200 | ~1 | |
| 107 | ~700–1.5k | 1 | ~150 | ~1 | |
| 103 | ~700–1.5k | 1 | ~300 | ~0 | |
| 82 | ~500–1.5k | 1 | ~100 | ~1 | |
| 76 | ~500–1.5k | 1 | ~100 | ~1 |
Tokens are lines × 7 to 14 (analysis.fileReadsForChanges). Lines edited per change are the file's lines added and deleted divided by its commits over the whole history. Agents read about 2,000 lines at a time: when a 17,000-line file was split into modules, the tokens an agent read for the same change fell by 83% (The Economic Benefit of Refactoring, 2026).
Files With Most Units (Top 50)
| File | # lines | # units |
|---|---|---|
| 1093 | 45 | |
| 1386 | 32 | |
| 540 | 31 | |
| 393 | 29 | |
| 877 | 26 | |
| 858 | 26 | |
| 856 | 24 | |
| 533 | 19 | |
| 401 | 18 | |
| 152 | 18 | |
| 497 | 17 | |
| 288 | 15 | |
| 570 | 15 | |
| 232 | 14 | |
| 345 | 13 | |
| 387 | 13 | |
| 388 | 13 | |
| 450 | 12 | |
| 454 | 12 | |
| 302 | 12 | |
| 374 | 12 | |
| 289 | 11 | |
| 296 | 11 | |
| 219 | 11 | |
| 210 | 11 | |
| 94 | 9 | |
| 180 | 9 | |
| 107 | 8 | |
| 130 | 8 | |
| 213 | 8 | |
| 1678 | 7 | |
| 1557 | 7 | |
| 166 | 7 | |
| 276 | 6 | |
| 316 | 6 | |
| 477 | 6 | |
| 145 | 6 | |
| 76 | 5 | |
| 58 | 5 | |
| 58 | 5 | |
| 535 | 5 | |
| 557 | 5 | |
| 139 | 4 | |
| 47 | 4 | |
| 57 | 4 | |
| 38 | 4 | |
| 191 | 4 | |
| 62 | 4 | |
| 298 | 4 | |
| 180 | 4 |
Files With Long Lines (Top 39)
There are 39 files with lines longer than 120 characters. In total, there are 362 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1678 | 7 | 53 | |
| 1557 | 7 | 47 | |
| 557 | 5 | 38 | |
| 535 | 5 | 37 | |
| 232 | 14 | 24 | |
| 877 | 26 | 17 | |
| 570 | 15 | 15 | |
| 858 | 26 | 15 | |
| 856 | 24 | 14 | |
| 1386 | 32 | 14 | |
| 497 | 17 | 9 | |
| 339 | - | 7 | |
| 210 | 11 | 7 | |
| 288 | 15 | 6 | |
| 401 | 18 | 5 | |
| 191 | 4 | 5 | |
| 266 | 3 | 5 | |
| 110 | 1 | 5 | |
| 540 | 31 | 4 | |
| 387 | 13 | 4 | |
| 296 | 11 | 4 | |
| 166 | 7 | 4 | |
| 393 | 29 | 3 | |
| 450 | 12 | 2 | |
| 454 | 12 | 2 | |
| 180 | 9 | 2 | |
| 127 | 3 | 2 | |
| 58 | 5 | 1 | |
| 58 | 5 | 1 | |
| 533 | 19 | 1 | |
| 38 | 4 | 1 | |
| 219 | 11 | 1 | |
| 302 | 12 | 1 | |
| 36 | 1 | 1 | |
| 298 | 4 | 1 | |
| 374 | 12 | 1 | |
| 316 | 6 | 1 | |
| 477 | 6 | 1 | |
| 107 | 3 | 1 |
Correlations
File Size vs. Commits (all time): 25 points
|
|
1386.0 | lines of code min: 1.0average: 217.2 25th percentile: 79.0 median: 130.0 75th percentile: 282.0 max: 1386.0 |
|
| 0 | 3.0 | ||
|
commits (all time) min: 1.0 | average: 1.12 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0
|
|||
File Size vs. Contributors (all time): 25 points
|
|
1386.0 | lines of code min: 1.0average: 217.2 25th percentile: 79.0 median: 130.0 75th percentile: 282.0 max: 1386.0 |
|
| 0 | 1.0 | ||
|
contributors (all time) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Commits (30 days): 0 points
No data for "commits (30d)" vs. "lines of code".
File Size vs. Contributors (30 days): 0 points
No data for "contributors (30d)" vs. "lines of code".
File Size vs. Commits (90 days): 0 points
No data for "commits (90d)" vs. "lines of code".
File Size vs. Contributors (90 days): 0 points
No data for "contributors (90d)" vs. "lines of code".
About This Analysis
- File size measurements show the distribution of size of files.
- Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
- It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
- To learn more about bloaters and how to deal with long code structures, Sokrates recommends the following resources:
- Refactoring bloaters, sourcemaking.com
- The Blob Software Development Anti-Pattern, sourcemaking.com