File Size Overall
- There are 183 files with 51,430 lines of code.
- 9 very long files (14,836 lines of code)
- 25 long files (17,639 lines of code)
- 41 medium size files (12,677 lines of code)
- 19 small files (2,800 lines of code)
- 89 very small files (3,478 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 |
|---|---|---|
| 2280 | 4 | |
| 2160 | - | |
| 1895 | - | |
| 1851 | - | |
| 1663 | - | |
| 1474 | - | |
| 1248 | - | |
| 1175 | - | |
| 1090 | - | |
| 977 | - | |
| 949 | - | |
| 887 | - | |
| 885 | - | |
| 871 | - | |
| 862 | - | |
| 850 | - | |
| 800 | - | |
| 797 | - | |
| 792 | - | |
| 788 | - | |
| 745 | - | |
| 649 | - | |
| 640 | - | |
| 632 | 14 | |
| 592 | - | |
| 585 | - | |
| 564 | - | |
| 563 | - | |
| 552 | 8 | |
| 542 | - | |
| 541 | - | |
| 536 | - | |
| 532 | - | |
| 508 | - | |
| 487 | - | |
| 462 | - | |
| 452 | - | |
| 447 | - | |
| 435 | 4 | |
| 413 | - | |
| 407 | - | |
| 404 | - | |
| 403 | - | |
| 369 | - | |
| 366 | - | |
| 352 | - | |
| 351 | - | |
| 346 | 17 | |
| 340 | 11 | |
| 312 | - |
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 |
|---|---|---|---|---|---|
| 977 | ~5k–15k | 71 | ~30 | ~30 | |
| 1851 | ~10k–30k | 13 | ~500 | ~3 | |
| 1474 | ~10k–30k | 14 | ~700 | ~2 | |
| 1248 | ~7k–20k | 13 | ~500 | ~3 | |
| 2160 | ~15k–50k | 4 | ~1,000 | ~2 | |
| 640 | ~3k–10k | 12 | ~150 | ~5 | |
| 1090 | ~7k–20k | 7 | ~700 | ~2 | |
| 1175 | ~7k–20k | 6 | ~500 | ~2 | |
| 1663 | ~10k–30k | 4 | ~700 | ~2 | |
| 649 | ~3k–10k | 10 | ~150 | ~5 | |
| 850 | ~5k–15k | 7 | ~200 | ~5 | |
| 160 | ~1k–3k | 35 | ~10 | ~15 | |
| 887 | ~5k–15k | 6 | ~200 | ~5 | |
| 632 | ~3k–10k | 8 | ~200 | ~3 | |
| 792 | ~5k–15k | 6 | ~200 | ~5 | |
| 745 | ~5k–15k | 6 | ~200 | ~3 | |
| 536 | ~3k–10k | 8 | ~300 | ~2 | |
| 532 | ~3k–10k | 7 | ~300 | ~2 | |
| 585 | ~3k–10k | 6 | ~300 | ~2 | |
| 862 | ~5k–15k | 4 | ~200 | ~5 |
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 |
|---|---|---|
| 220 | 19 | |
| 346 | 17 | |
| 247 | 16 | |
| 201 | 15 | |
| 632 | 14 | |
| 209 | 12 | |
| 149 | 12 | |
| 96 | 12 | |
| 275 | 12 | |
| 289 | 12 | |
| 231 | 12 | |
| 340 | 11 | |
| 185 | 11 | |
| 207 | 10 | |
| 286 | 10 | |
| 77 | 9 | |
| 192 | 9 | |
| 184 | 9 | |
| 219 | 9 | |
| 260 | 9 | |
| 108 | 8 | |
| 285 | 8 | |
| 552 | 8 | |
| 39 | 7 | |
| 222 | 7 | |
| 159 | 7 | |
| 100 | 7 | |
| 206 | 7 | |
| 289 | 6 | |
| 73 | 6 | |
| 169 | 6 | |
| 73 | 6 | |
| 137 | 5 | |
| 103 | 5 | |
| 54 | 5 | |
| 57 | 5 | |
| 67 | 5 | |
| 119 | 5 | |
| 64 | 5 | |
| 126 | 5 | |
| 435 | 4 | |
| 53 | 4 | |
| 133 | 4 | |
| 63 | 4 | |
| 94 | 4 | |
| 35 | 4 | |
| 130 | 4 | |
| 39 | 4 | |
| 2280 | 4 | |
| 99 | 4 |
Files With Long Lines (Top 50)
There are 71 files with lines longer than 120 characters. In total, there are 1720 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1895 | - | 144 | |
| 1474 | - | 103 | |
| 1175 | - | 90 | |
| 949 | - | 86 | |
| 2160 | - | 76 | |
| 887 | - | 68 | |
| 1248 | - | 66 | |
| 788 | - | 63 | |
| 1851 | - | 55 | |
| 885 | - | 53 | |
| 563 | - | 46 | |
| 407 | - | 44 | |
| 800 | - | 38 | |
| 745 | - | 35 | |
| 649 | - | 35 | |
| 592 | - | 34 | |
| 542 | - | 33 | |
| 1090 | - | 32 | |
| 536 | - | 31 | |
| 289 | 6 | 30 | |
| 585 | - | 30 | |
| 850 | - | 30 | |
| 403 | - | 30 | |
| 508 | - | 30 | |
| 532 | - | 26 | |
| 792 | - | 24 | |
| 462 | - | 23 | |
| 351 | - | 21 | |
| 413 | - | 21 | |
| 20 | - | 20 | |
| 404 | - | 18 | |
| 640 | - | 18 | |
| 447 | - | 18 | |
| 366 | - | 15 | |
| 564 | - | 15 | |
| 369 | - | 15 | |
| 452 | - | 14 | |
| 312 | - | 13 | |
| 266 | - | 13 | |
| 1663 | - | 12 | |
| 862 | - | 12 | |
| 258 | - | 11 | |
| 10 | - | 10 | |
| 352 | - | 9 | |
| 260 | - | 9 | |
| 278 | - | 8 | |
| 275 | 1 | 7 | |
| 135 | - | 7 | |
| 797 | - | 7 | |
| 34 | - | 7 |
Correlations
File Size vs. Commits (all time): 183 points
|
|
2280.0 | lines of code min: 1.0average: 281.04 25th percentile: 36.0 median: 115.0 75th percentile: 352.0 max: 2280.0 |
|
| 0 | 71.0 | ||
|
commits (all time) min: 1.0 | average: 5.81 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 7.0 | max: 71.0
|
|||
File Size vs. Contributors (all time): 183 points
|
|
2280.0 | lines of code min: 1.0average: 281.04 25th percentile: 36.0 median: 115.0 75th percentile: 352.0 max: 2280.0 |
|
| 0 | 29.0 | ||
|
contributors (all time) min: 1.0 | average: 3.33 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 29.0
|
|||
File Size vs. Commits (30 days): 19 points
|
|
1663.0 | lines of code min: 160.0average: 574.79 25th percentile: 312.0 median: 532.0 75th percentile: 800.0 max: 1663.0 |
|
| 0 | 2.0 | ||
|
commits (30d) min: 1.0 | average: 1.05 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Contributors (30 days): 19 points
|
|
1663.0 | lines of code min: 160.0average: 574.79 25th percentile: 312.0 median: 532.0 75th percentile: 800.0 max: 1663.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.05 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 41 points
|
|
1851.0 | lines of code min: 6.0average: 432.17 25th percentile: 159.5 median: 340.0 75th percentile: 577.5 max: 1851.0 |
|
| 0 | 18.0 | ||
|
commits (90d) min: 1.0 | average: 2.34 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 18.0
|
|||
File Size vs. Contributors (90 days): 41 points
|
|
1851.0 | lines of code min: 6.0average: 432.17 25th percentile: 159.5 median: 340.0 75th percentile: 577.5 max: 1851.0 |
|
| 0 | 6.0 | ||
|
contributors (90d) min: 1.0 | average: 1.32 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 6.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