File Size Overall
- There are 324 files with 77,021 lines of code.
- 20 very long files (38,409 lines of code)
- 23 long files (16,735 lines of code)
- 39 medium size files (12,745 lines of code)
- 30 small files (4,177 lines of code)
- 212 very small files (4,955 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 |
|---|---|---|
| 3068 | 48 | |
| 2968 | 55 | |
| 2809 | 37 | |
| 2496 | 28 | |
| 2485 | 158 | |
| 2398 | 114 | |
| 2314 | 111 | |
| 2156 | 50 | |
| 2084 | 23 | |
| 1818 | 126 | |
| 1684 | 65 | |
| 1615 | 107 | |
| 1593 | 149 | |
| 1520 | 97 | |
| 1379 | 85 | |
| 1272 | 58 | |
| 1268 | 49 | |
| 1239 | - | |
| 1160 | 52 | |
| 1083 | 48 | |
| 956 | 28 | |
| 956 | 86 | |
| 946 | 41 | |
| 904 | 52 | |
| 903 | 41 | |
| 850 | 23 | |
| 849 | 13 | |
| 821 | 45 | |
| 789 | 37 | |
| 750 | 7 | |
| 721 | 30 | |
| 714 | - | |
| 700 | 29 | |
| 657 | 58 | |
| 634 | 17 | |
| 613 | 21 | |
| 597 | 13 | |
| 595 | 25 | |
| 591 | 65 | |
| 572 | 33 | |
| 570 | 22 | |
| 544 | 4 | |
| 503 | 49 | |
| 477 | 26 | |
| 465 | 30 | |
| 452 | 44 | |
| 448 | 38 | |
| 444 | 22 | |
| 443 | 6 | |
| 429 | 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 |
|---|---|---|---|---|---|
| 2809 | ~15k–50k | 73 | ~100 | ~30 | |
| 2968 | ~20k–50k | 50 | ~70 | ~50 | |
| 2496 | ~15k–50k | 56 | ~50 | ~50 | |
| 3068 | ~20k–50k | 39 | ~150 | ~20 | |
| 2084 | ~10k–30k | 51 | ~50 | ~50 | |
| 1684 | ~10k–30k | 52 | ~70 | ~30 | |
| 2314 | ~15k–50k | 34 | ~70 | ~30 | |
| 2398 | ~15k–50k | 29 | ~150 | ~20 | |
| 2156 | ~15k–50k | 30 | ~100 | ~20 | |
| 2485 | ~15k–50k | 22 | ~150 | ~20 | |
| 1818 | ~10k–30k | 24 | ~100 | ~20 | |
| 1615 | ~10k–30k | 23 | ~50 | ~30 | |
| 904 | ~5k–15k | 41 | ~30 | ~30 | |
| 750 | ~5k–15k | 46 | ~20 | ~30 | |
| 956 | ~5k–15k | 29 | ~50 | ~20 | |
| 1379 | ~7k–20k | 19 | ~70 | ~20 | |
| 850 | ~5k–15k | 30 | ~30 | ~30 | |
| 714 | ~3k–10k | 26 | ~15 | ~50 | |
| 465 | ~3k–7k | 38 | ~30 | ~15 | |
| 1593 | ~10k–30k | 11 | ~200 | ~7 |
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 |
|---|---|---|
| 2485 | 158 | |
| 1593 | 149 | |
| 1818 | 126 | |
| 2398 | 114 | |
| 2314 | 111 | |
| 1615 | 107 | |
| 1520 | 97 | |
| 956 | 86 | |
| 1379 | 85 | |
| 591 | 65 | |
| 1684 | 65 | |
| 1272 | 58 | |
| 657 | 58 | |
| 2968 | 55 | |
| 1160 | 52 | |
| 904 | 52 | |
| 2156 | 50 | |
| 503 | 49 | |
| 1268 | 49 | |
| 1083 | 48 | |
| 3068 | 48 | |
| 821 | 45 | |
| 393 | 44 | |
| 452 | 44 | |
| 903 | 41 | |
| 946 | 41 | |
| 448 | 38 | |
| 789 | 37 | |
| 2809 | 37 | |
| 572 | 33 | |
| 304 | 31 | |
| 465 | 30 | |
| 721 | 30 | |
| 700 | 29 | |
| 956 | 28 | |
| 2496 | 28 | |
| 477 | 26 | |
| 595 | 25 | |
| 329 | 25 | |
| 410 | 24 | |
| 370 | 23 | |
| 167 | 23 | |
| 2084 | 23 | |
| 850 | 23 | |
| 570 | 22 | |
| 444 | 22 | |
| 366 | 22 | |
| 359 | 21 | |
| 278 | 21 | |
| 613 | 21 |
Files With Long Lines (Top 50)
There are 54 files with lines longer than 120 characters. In total, there are 84 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 187 | 9 | 6 | |
| 3068 | 48 | 5 | |
| 393 | 44 | 4 | |
| 714 | - | 4 | |
| 1379 | 85 | 3 | |
| 850 | 23 | 3 | |
| 374 | 1 | 3 | |
| 477 | 26 | 2 | |
| 5 | - | 2 | |
| 5 | - | 2 | |
| 6 | - | 2 | |
| 5 | - | 2 | |
| 6 | - | 2 | |
| 5 | - | 2 | |
| 5 | - | 2 | |
| 544 | 4 | 2 | |
| 849 | 13 | 1 | |
| 2496 | 28 | 1 | |
| 4 | - | 1 | |
| 5 | - | 1 | |
| 5 | - | 1 | |
| 4 | - | 1 | |
| 3 | - | 1 | |
| 4 | - | 1 | |
| 5 | - | 1 | |
| 4 | - | 1 | |
| 6 | - | 1 | |
| 4 | - | 1 | |
| 5 | - | 1 | |
| 4 | - | 1 | |
| 4 | - | 1 | |
| 5 | - | 1 | |
| 5 | - | 1 | |
| 3 | - | 1 | |
| 4 | - | 1 | |
| 4 | - | 1 | |
| 5 | - | 1 | |
| 4 | - | 1 | |
| 5 | - | 1 | |
| 4 | - | 1 | |
| 5 | - | 1 | |
| 4 | - | 1 | |
| 4 | - | 1 | |
| 96 | 5 | 1 | |
| 68 | 5 | 1 | |
| 34 | 1 | 1 | |
| 34 | 1 | 1 | |
| 34 | 1 | 1 | |
| 34 | 1 | 1 | |
| 34 | 1 | 1 |
Correlations
File Size vs. Commits (all time): 287 points
|
|
3068.0 | lines of code min: 1.0average: 261.08 25th percentile: 5.0 median: 34.0 75th percentile: 248.0 max: 3068.0 |
|
| 0 | 73.0 | ||
|
commits (all time) min: 1.0 | average: 4.98 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 4.0 | max: 73.0
|
|||
File Size vs. Contributors (all time): 287 points
|
|
3068.0 | lines of code min: 1.0average: 261.08 25th percentile: 5.0 median: 34.0 75th percentile: 248.0 max: 3068.0 |
|
| 0 | 25.0 | ||
|
contributors (all time) min: 1.0 | average: 2.7 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 25.0
|
|||
File Size vs. Commits (30 days): 176 points
|
|
3068.0 | lines of code min: 3.0average: 333.44 25th percentile: 4.0 median: 27.5 75th percentile: 400.5 max: 3068.0 |
|
| 0 | 12.0 | ||
|
commits (30d) min: 1.0 | average: 1.88 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 12.0
|
|||
File Size vs. Contributors (30 days): 176 points
|
|
3068.0 | lines of code min: 3.0average: 333.44 25th percentile: 4.0 median: 27.5 75th percentile: 400.5 max: 3068.0 |
|
| 0 | 6.0 | ||
|
contributors (30d) min: 1.0 | average: 1.49 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 6.0
|
|||
File Size vs. Commits (90 days): 218 points
|
|
3068.0 | lines of code min: 3.0average: 310.37 25th percentile: 4.0 median: 37.5 75th percentile: 326.75 max: 3068.0 |
|
| 0 | 27.0 | ||
|
commits (90d) min: 1.0 | average: 2.82 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 27.0
|
|||
File Size vs. Contributors (90 days): 218 points
|
|
3068.0 | lines of code min: 3.0average: 310.37 25th percentile: 4.0 median: 37.5 75th percentile: 326.75 max: 3068.0 |
|
| 0 | 11.0 | ||
|
contributors (90d) min: 1.0 | average: 2.04 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 11.0
|
|||
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