File Size Overall
- There are 1,426 files with 195,874 lines of code.
- 16 very long files (27,398 lines of code)
- 39 long files (26,600 lines of code)
- 207 medium size files (63,895 lines of code)
- 279 small files (40,588 lines of code)
- 885 very small files (37,393 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 |
|---|---|---|
| 8426 | 6 | |
| 1838 | - | |
| 1805 | - | |
| 1577 | - | |
| 1303 | - | |
| 1234 | - | |
| 1205 | - | |
| 1200 | 12 | |
| 1199 | - | |
| 1175 | 1 | |
| 1137 | - | |
| 1101 | - | |
| 1098 | - | |
| 1043 | - | |
| 1034 | - | |
| 1023 | - | |
| 994 | 2 | |
| 981 | - | |
| 948 | - | |
| 894 | 2 | |
| 850 | - | |
| 843 | - | |
| 834 | 3 | |
| 833 | 2 | |
| 832 | - | |
| 805 | - | |
| 797 | - | |
| 791 | 18 | |
| 743 | - | |
| 703 | - | |
| 695 | 27 | |
| 686 | - | |
| 672 | - | |
| 663 | - | |
| 657 | 9 | |
| 651 | 1 | |
| 643 | 5 | |
| 632 | 1 | |
| 613 | 3 | |
| 605 | - | |
| 599 | 1 | |
| 583 | 1 | |
| 575 | 2 | |
| 575 | 2 | |
| 561 | 8 | |
| 559 | - | |
| 545 | 1 | |
| 544 | - | |
| 541 | 6 | |
| 536 | 2 |
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 |
|---|---|---|---|---|---|
| 8426 | ~50k–150k | 185 | ~70 | ~150 | |
| 1175 | ~7k–20k | 224 | ~30 | ~50 | |
| 994 | ~5k–15k | 150 | ~70 | ~15 | |
| 1199 | ~7k–20k | 115 | ~30 | ~30 | |
| 1838 | ~10k–30k | 69 | ~50 | ~30 | |
| 1098 | ~7k–20k | 115 | ~20 | ~50 | |
| 301 | ~2k–5k | 382 | ~10 | ~30 | |
| 833 | ~5k–15k | 117 | ~30 | ~30 | |
| 605 | ~3k–10k | 127 | ~20 | ~30 | |
| 1101 | ~7k–20k | 69 | ~50 | ~30 | |
| 464 | ~3k–7k | 160 | ~30 | ~15 | |
| 981 | ~5k–15k | 66 | ~20 | ~50 | |
| 346 | ~2k–5k | 152 | ~30 | ~15 | |
| 1805 | ~10k–30k | 29 | ~300 | ~5 | |
| 530 | ~3k–10k | 94 | ~15 | ~30 | |
| 643 | ~3k–10k | 77 | ~30 | ~20 | |
| 805 | ~5k–15k | 61 | ~20 | ~30 | |
| 544 | ~3k–10k | 83 | ~30 | ~20 | |
| 561 | ~3k–10k | 77 | ~50 | ~15 | |
| 599 | ~3k–10k | 71 | ~30 | ~20 |
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 |
|---|---|---|
| 381 | 94 | |
| 93 | 60 | |
| 113 | 41 | |
| 94 | 37 | |
| 242 | 31 | |
| 246 | 27 | |
| 695 | 27 | |
| 370 | 23 | |
| 227 | 21 | |
| 274 | 21 | |
| 188 | 19 | |
| 791 | 18 | |
| 397 | 14 | |
| 129 | 13 | |
| 91 | 12 | |
| 76 | 12 | |
| 369 | 12 | |
| 127 | 12 | |
| 140 | 12 | |
| 140 | 12 | |
| 1200 | 12 | |
| 533 | 9 | |
| 396 | 9 | |
| 657 | 9 | |
| 402 | 9 | |
| 277 | 9 | |
| 39 | 8 | |
| 561 | 8 | |
| 136 | 8 | |
| 189 | 8 | |
| 405 | 8 | |
| 61 | 8 | |
| 530 | 8 | |
| 172 | 8 | |
| 117 | 7 | |
| 309 | 7 | |
| 64 | 7 | |
| 144 | 7 | |
| 235 | 6 | |
| 8426 | 6 | |
| 80 | 6 | |
| 379 | 6 | |
| 541 | 6 | |
| 107 | 6 | |
| 90 | 6 | |
| 26 | 6 | |
| 231 | 5 | |
| 263 | 5 | |
| 269 | 5 | |
| 98 | 5 |
Files With Long Lines (Top 50)
There are 197 files with lines longer than 120 characters. In total, there are 1211 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1303 | - | 228 | |
| 791 | 18 | 65 | |
| 1805 | - | 59 | |
| 327 | - | 54 | |
| 411 | - | 36 | |
| 672 | - | 31 | |
| 385 | 2 | 30 | |
| 198 | - | 28 | |
| 1205 | - | 26 | |
| 495 | - | 23 | |
| 25 | 1 | 23 | |
| 196 | - | 22 | |
| 1034 | - | 21 | |
| 843 | - | 21 | |
| 651 | 1 | 20 | |
| 1577 | - | 20 | |
| 203 | - | 19 | |
| 223 | - | 19 | |
| 541 | 6 | 17 | |
| 466 | - | 17 | |
| 354 | - | 16 | |
| 400 | - | 14 | |
| 375 | - | 13 | |
| 402 | 1 | 12 | |
| 231 | 5 | 11 | |
| 335 | - | 9 | |
| 42 | - | 9 | |
| 695 | 27 | 9 | |
| 310 | - | 8 | |
| 1838 | - | 8 | |
| 457 | - | 8 | |
| 139 | - | 8 | |
| 1234 | - | 7 | |
| 155 | - | 7 | |
| 520 | - | 7 | |
| 57 | - | 6 | |
| 168 | - | 6 | |
| 75 | - | 5 | |
| 102 | - | 5 | |
| 452 | - | 5 | |
| 335 | - | 5 | |
| 105 | - | 5 | |
| 140 | 12 | 5 | |
| 159 | - | 5 | |
| 237 | - | 5 | |
| 336 | 2 | 4 | |
| 263 | 5 | 4 | |
| 263 | 4 | 4 | |
| 301 | - | 4 | |
| 20 | - | 4 |
Correlations
File Size vs. Commits (all time): 1426 points
|
|
8426.0 | lines of code min: 1.0average: 137.36 25th percentile: 30.0 median: 69.0 75th percentile: 157.25 max: 8426.0 |
|
| 0 | 705.0 | ||
|
commits (all time) min: 1.0 | average: 28.86 | 25th percentile: 6.0 | median: 13.0 | 75th percentile: 31.0 | max: 705.0
|
|||
File Size vs. Contributors (all time): 1426 points
|
|
8426.0 | lines of code min: 1.0average: 137.36 25th percentile: 30.0 median: 69.0 75th percentile: 157.25 max: 8426.0 |
|
| 0 | 75.0 | ||
|
contributors (all time) min: 1.0 | average: 12.25 | 25th percentile: 4.0 | median: 9.0 | 75th percentile: 17.0 | max: 75.0
|
|||
File Size vs. Commits (30 days): 189 points
|
|
8426.0 | lines of code min: 1.0average: 281.61 25th percentile: 62.5 median: 139.0 75th percentile: 340.5 max: 8426.0 |
|
| 0 | 30.0 | ||
|
commits (30d) min: 1.0 | average: 1.79 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 30.0
|
|||
File Size vs. Contributors (30 days): 189 points
|
|
8426.0 | lines of code min: 1.0average: 281.61 25th percentile: 62.5 median: 139.0 75th percentile: 340.5 max: 8426.0 |
|
| 0 | 12.0 | ||
|
contributors (30d) min: 1.0 | average: 1.24 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 12.0
|
|||
File Size vs. Commits (90 days): 361 points
|
|
8426.0 | lines of code min: 1.0average: 233.06 25th percentile: 58.5 median: 136.0 75th percentile: 278.0 max: 8426.0 |
|
| 0 | 69.0 | ||
|
commits (90d) min: 1.0 | average: 2.59 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 69.0
|
|||
File Size vs. Contributors (90 days): 361 points
|
|
8426.0 | lines of code min: 1.0average: 233.06 25th percentile: 58.5 median: 136.0 75th percentile: 278.0 max: 8426.0 |
|
| 0 | 24.0 | ||
|
contributors (90d) min: 1.0 | average: 1.77 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 24.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