File Size Overall
- There are 1,133 files with 185,039 lines of code.
- 34 very long files (63,406 lines of code)
- 61 long files (42,408 lines of code)
- 164 medium size files (48,218 lines of code)
- 125 small files (19,127 lines of code)
- 749 very small files (11,880 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 |
|---|---|---|
| 3619 | 177 | |
| 3455 | - | |
| 3303 | 57 | |
| 3203 | 98 | |
| 2970 | 60 | |
| 2636 | 109 | |
| 2587 | 109 | |
| 1986 | - | |
| 1986 | - | |
| 1986 | - | |
| 1986 | - | |
| 1986 | - | |
| 1986 | - | |
| 1861 | - | |
| 1842 | 52 | |
| 1781 | 98 | |
| 1675 | 67 | |
| 1671 | 62 | |
| 1625 | 42 | |
| 1525 | 49 | |
| 1516 | 41 | |
| 1457 | 42 | |
| 1420 | - | |
| 1419 | 34 | |
| 1376 | 78 | |
| 1328 | 102 | |
| 1283 | 39 | |
| 1267 | 32 | |
| 1197 | 37 | |
| 1194 | - | |
| 1117 | 24 | |
| 1069 | 12 | |
| 1061 | 34 | |
| 1033 | 38 | |
| 999 | 22 | |
| 997 | 38 | |
| 991 | 20 | |
| 960 | 22 | |
| 958 | 33 | |
| 945 | 19 | |
| 917 | 26 | |
| 909 | 31 | |
| 906 | 41 | |
| 904 | 24 | |
| 894 | 37 | |
| 859 | 37 | |
| 857 | - | |
| 849 | 33 | |
| 847 | 12 | |
| 841 | - |
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 |
|---|---|---|---|---|---|
| 3203 | ~20k–50k | 5 | ~1,500 | ~2 | |
| 2587 | ~15k–50k | 4 | ~700 | ~3 | |
| 1033 | ~7k–15k | 5 | ~300 | ~3 | |
| 997 | ~5k–15k | 4 | ~300 | ~3 | |
| 1842 | ~10k–30k | 2 | ~1,000 | ~2 | |
| 3619 | ~20k–70k | 1 | ~3,000 | ~1 | |
| 3455 | ~20k–50k | 1 | ~5,000 | ~1 | |
| 849 | ~5k–15k | 4 | ~200 | ~3 | |
| 1675 | ~10k–30k | 2 | ~1,000 | ~2 | |
| 3303 | ~20k–50k | 1 | ~3,000 | ~1 | |
| 2970 | ~20k–50k | 1 | ~3,000 | ~1 | |
| 1419 | ~7k–20k | 2 | ~1,000 | ~2 | |
| 904 | ~5k–15k | 3 | ~300 | ~3 | |
| 2636 | ~15k–50k | 1 | ~3,000 | ~1 | |
| 815 | ~5k–15k | 3 | ~500 | ~2 | |
| 694 | ~3k–10k | 3 | ~300 | ~3 | |
| 1986 | ~10k–30k | 1 | ~2,000 | ~1 | |
| 1986 | ~10k–30k | 1 | ~2,000 | ~1 | |
| 1986 | ~10k–30k | 1 | ~2,000 | ~1 | |
| 1986 | ~10k–30k | 1 | ~2,000 | ~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 |
|---|---|---|
| 3619 | 177 | |
| 2636 | 109 | |
| 2587 | 109 | |
| 1328 | 102 | |
| 1781 | 98 | |
| 3203 | 98 | |
| 1376 | 78 | |
| 1675 | 67 | |
| 1671 | 62 | |
| 2970 | 60 | |
| 3303 | 57 | |
| 695 | 57 | |
| 1842 | 52 | |
| 1525 | 49 | |
| 1457 | 42 | |
| 1625 | 42 | |
| 906 | 41 | |
| 1516 | 41 | |
| 1283 | 39 | |
| 1033 | 38 | |
| 997 | 38 | |
| 575 | 38 | |
| 894 | 37 | |
| 859 | 37 | |
| 620 | 37 | |
| 1197 | 37 | |
| 350 | 35 | |
| 631 | 34 | |
| 1419 | 34 | |
| 1061 | 34 | |
| 607 | 34 | |
| 608 | 33 | |
| 958 | 33 | |
| 551 | 33 | |
| 849 | 33 | |
| 270 | 33 | |
| 694 | 32 | |
| 1267 | 32 | |
| 909 | 31 | |
| 389 | 30 | |
| 516 | 30 | |
| 612 | 29 | |
| 792 | 28 | |
| 507 | 27 | |
| 325 | 26 | |
| 288 | 26 | |
| 917 | 26 | |
| 504 | 26 | |
| 597 | 25 | |
| 296 | 25 |
Files With Long Lines (Top 50)
There are 367 files with lines longer than 120 characters. In total, there are 2007 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1328 | 102 | 71 | |
| 587 | - | 64 | |
| 3619 | 177 | 61 | |
| 620 | 37 | 57 | |
| 1376 | 78 | 55 | |
| 2970 | 60 | 51 | |
| 3303 | 57 | 48 | |
| 193 | - | 45 | |
| 159 | 5 | 44 | |
| 1781 | 98 | 40 | |
| 1986 | - | 38 | |
| 1986 | - | 38 | |
| 1986 | - | 38 | |
| 1986 | - | 38 | |
| 1986 | - | 38 | |
| 1986 | - | 38 | |
| 1671 | 62 | 35 | |
| 442 | - | 34 | |
| 1525 | 49 | 32 | |
| 612 | 29 | 25 | |
| 432 | - | 25 | |
| 275 | 20 | 24 | |
| 501 | - | 21 | |
| 608 | 33 | 20 | |
| 567 | 20 | 17 | |
| 484 | 24 | 17 | |
| 537 | 17 | 16 | |
| 220 | - | 15 | |
| 847 | 12 | 14 | |
| 1267 | 32 | 14 | |
| 1283 | 39 | 13 | |
| 158 | 12 | 13 | |
| 538 | 16 | 13 | |
| 223 | 7 | 12 | |
| 336 | 7 | 12 | |
| 188 | - | 12 | |
| 211 | 21 | 12 | |
| 153 | - | 12 | |
| 1061 | 34 | 12 | |
| 413 | 9 | 11 | |
| 157 | - | 11 | |
| 366 | - | 11 | |
| 945 | 19 | 11 | |
| 748 | 11 | 11 | |
| 129 | - | 10 | |
| 269 | 13 | 10 | |
| 381 | 22 | 10 | |
| 194 | - | 10 | |
| 1197 | 37 | 10 | |
| 168 | 22 | 9 |
Correlations
File Size vs. Commits (all time): 1133 points
|
|
3619.0 | lines of code min: 1.0average: 163.32 25th percentile: 5.0 median: 16.0 75th percentile: 185.0 max: 3619.0 |
|
| 0 | 7.0 | ||
|
commits (all time) min: 1.0 | average: 1.15 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 7.0
|
|||
File Size vs. Contributors (all time): 1133 points
|
|
3619.0 | lines of code min: 1.0average: 163.32 25th percentile: 5.0 median: 16.0 75th percentile: 185.0 max: 3619.0 |
|
| 0 | 5.0 | ||
|
contributors (all time) min: 1.0 | average: 1.07 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 5.0
|
|||
File Size vs. Commits (30 days): 29 points
|
|
3203.0 | lines of code min: 4.0average: 672.38 25th percentile: 171.5 median: 437.0 75th percentile: 910.5 max: 3203.0 |
|
| 0 | 1.0 | ||
|
commits (30d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Contributors (30 days): 29 points
|
|
3203.0 | lines of code min: 4.0average: 672.38 25th percentile: 171.5 median: 437.0 75th percentile: 910.5 max: 3203.0 |
|
| 0 | 1.0 | ||
|
contributors (30d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Commits (90 days): 456 points
|
|
3619.0 | lines of code min: 1.0average: 226.59 25th percentile: 8.0 median: 74.0 75th percentile: 223.5 max: 3619.0 |
|
| 0 | 3.0 | ||
|
commits (90d) min: 1.0 | average: 1.08 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0
|
|||
File Size vs. Contributors (90 days): 456 points
|
|
3619.0 | lines of code min: 1.0average: 226.59 25th percentile: 8.0 median: 74.0 75th percentile: 223.5 max: 3619.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.05 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.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