File Size Overall
- There are 1,120 files with 80,105 lines of code.
- 4 very long files (6,080 lines of code)
- 8 long files (4,544 lines of code)
- 56 medium size files (16,538 lines of code)
- 144 small files (19,485 lines of code)
- 908 very small files (33,458 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 |
|---|---|---|
| 2108 | - | |
| 1584 | 1 | |
| 1196 | 14 | |
| 1192 | 7 | |
| 642 | 1 | |
| 632 | 28 | |
| 590 | 18 | |
| 577 | 9 | |
| 550 | - | |
| 539 | 31 | |
| 510 | 16 | |
| 504 | 12 | |
| 493 | 10 | |
| 491 | - | |
| 487 | 8 | |
| 433 | 1 | |
| 411 | 5 | |
| 404 | 5 | |
| 403 | 18 | |
| 393 | 24 | |
| 367 | 4 | |
| 352 | - | |
| 351 | 10 | |
| 346 | 11 | |
| 345 | 3 | |
| 343 | 2 | |
| 337 | - | |
| 326 | 2 | |
| 326 | 8 | |
| 325 | 1 | |
| 325 | 21 | |
| 324 | 7 | |
| 315 | 17 | |
| 312 | 1 | |
| 303 | 13 | |
| 296 | 6 | |
| 296 | 23 | |
| 292 | 11 | |
| 290 | 1 | |
| 290 | 6 | |
| 277 | 5 | |
| 274 | 31 | |
| 273 | 1 | |
| 271 | - | |
| 271 | 13 | |
| 263 | 9 | |
| 262 | 3 | |
| 257 | - | |
| 252 | - | |
| 248 | 1 |
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 |
|---|---|---|---|---|---|
| 1192 | ~7k–20k | 91 | ~50 | ~30 | |
| 1196 | ~7k–20k | 53 | ~30 | ~30 | |
| 642 | ~3k–10k | 68 | ~50 | ~15 | |
| 504 | ~3k–10k | 86 | ~30 | ~15 | |
| 577 | ~3k–10k | 72 | ~30 | ~15 | |
| 632 | ~3k–10k | 54 | ~15 | ~30 | |
| 326 | ~2k–5k | 72 | ~20 | ~15 | |
| 352 | ~2k–5k | 61 | ~30 | ~15 | |
| 539 | ~3k–10k | 34 | ~30 | ~15 | |
| 343 | ~2k–5k | 51 | ~50 | ~7 | |
| 493 | ~3k–7k | 32 | ~30 | ~20 | |
| 257 | ~1.5k–5k | 61 | ~50 | ~5 | |
| 351 | ~2k–5k | 44 | ~30 | ~10 | |
| 262 | ~1.5k–5k | 55 | ~30 | ~10 | |
| 296 | ~2k–5k | 47 | ~20 | ~10 | |
| 296 | ~2k–5k | 46 | ~30 | ~7 | |
| 273 | ~1.5k–5k | 49 | ~50 | ~5 | |
| 2108 | ~10k–30k | 6 | ~1,000 | ~2 | |
| 252 | ~1.5k–5k | 50 | ~30 | ~10 | |
| 219 | ~1.5k–5k | 54 | ~15 | ~15 |
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 |
|---|---|---|
| 539 | 31 | |
| 274 | 31 | |
| 164 | 31 | |
| 632 | 28 | |
| 393 | 24 | |
| 296 | 23 | |
| 325 | 21 | |
| 590 | 18 | |
| 403 | 18 | |
| 315 | 17 | |
| 510 | 16 | |
| 182 | 16 | |
| 208 | 15 | |
| 1196 | 14 | |
| 303 | 13 | |
| 271 | 13 | |
| 121 | 12 | |
| 504 | 12 | |
| 101 | 11 | |
| 346 | 11 | |
| 160 | 11 | |
| 166 | 11 | |
| 128 | 11 | |
| 160 | 11 | |
| 292 | 11 | |
| 493 | 10 | |
| 351 | 10 | |
| 134 | 10 | |
| 207 | 10 | |
| 158 | 9 | |
| 235 | 9 | |
| 263 | 9 | |
| 123 | 9 | |
| 577 | 9 | |
| 199 | 9 | |
| 117 | 9 | |
| 487 | 8 | |
| 97 | 8 | |
| 88 | 8 | |
| 140 | 8 | |
| 232 | 8 | |
| 206 | 8 | |
| 326 | 8 | |
| 113 | 8 | |
| 93 | 8 | |
| 181 | 8 | |
| 171 | 7 | |
| 41 | 7 | |
| 41 | 7 | |
| 106 | 7 |
Files With Long Lines (Top 50)
There are 119 files with lines longer than 120 characters. In total, there are 302 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 152 | - | 28 | |
| 577 | 9 | 12 | |
| 73 | 1 | 11 | |
| 433 | 1 | 10 | |
| 54 | - | 9 | |
| 53 | 1 | 9 | |
| 71 | 2 | 9 | |
| 1192 | 7 | 7 | |
| 95 | 1 | 7 | |
| 110 | 1 | 7 | |
| 642 | 1 | 6 | |
| 125 | 3 | 6 | |
| 539 | 31 | 5 | |
| 116 | 1 | 5 | |
| 44 | 1 | 5 | |
| 47 | - | 5 | |
| 27 | - | 4 | |
| 324 | 7 | 4 | |
| 47 | - | 4 | |
| 1196 | 14 | 4 | |
| 66 | - | 4 | |
| 100 | 4 | 3 | |
| 337 | - | 3 | |
| 590 | 18 | 3 | |
| 68 | - | 3 | |
| 26 | 1 | 3 | |
| 1584 | 1 | 3 | |
| 40 | 1 | 3 | |
| 219 | 1 | 3 | |
| 296 | 23 | 3 | |
| 146 | 4 | 3 | |
| 96 | - | 3 | |
| 82 | - | 3 | |
| 187 | 1 | 2 | |
| 491 | - | 2 | |
| 76 | 2 | 2 | |
| 33 | 1 | 2 | |
| 112 | 1 | 2 | |
| 119 | 5 | 2 | |
| 632 | 28 | 2 | |
| 129 | 1 | 2 | |
| 112 | - | 2 | |
| 404 | 5 | 2 | |
| 38 | 1 | 2 | |
| 138 | 1 | 2 | |
| 85 | - | 2 | |
| 208 | 15 | 2 | |
| 84 | - | 2 | |
| 206 | 8 | 2 | |
| 130 | 1 | 2 |
Correlations
File Size vs. Commits (all time): 1120 points
|
|
2108.0 | lines of code min: 1.0average: 71.52 25th percentile: 20.0 median: 40.0 75th percentile: 81.0 max: 2108.0 |
|
| 0 | 826.0 | ||
|
commits (all time) min: 1.0 | average: 30.08 | 25th percentile: 7.0 | median: 14.0 | 75th percentile: 30.75 | max: 826.0
|
|||
File Size vs. Contributors (all time): 1120 points
|
|
2108.0 | lines of code min: 1.0average: 71.52 25th percentile: 20.0 median: 40.0 75th percentile: 81.0 max: 2108.0 |
|
| 0 | 55.0 | ||
|
contributors (all time) min: 1.0 | average: 8.05 | 25th percentile: 4.0 | median: 6.0 | 75th percentile: 10.0 | max: 55.0
|
|||
File Size vs. Commits (30 days): 154 points
|
|
1196.0 | lines of code min: 6.0average: 138.73 25th percentile: 41.75 median: 82.0 75th percentile: 168.5 max: 1196.0 |
|
| 0 | 19.0 | ||
|
commits (30d) min: 1.0 | average: 3.03 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 19.0
|
|||
File Size vs. Contributors (30 days): 154 points
|
|
1196.0 | lines of code min: 6.0average: 138.73 25th percentile: 41.75 median: 82.0 75th percentile: 168.5 max: 1196.0 |
|
| 0 | 6.0 | ||
|
contributors (30d) min: 1.0 | average: 1.92 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 6.0
|
|||
File Size vs. Commits (90 days): 299 points
|
|
2108.0 | lines of code min: 5.0average: 128.78 25th percentile: 41.0 median: 81.0 75th percentile: 141.0 max: 2108.0 |
|
| 0 | 26.0 | ||
|
commits (90d) min: 1.0 | average: 4.69 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 6.0 | max: 26.0
|
|||
File Size vs. Contributors (90 days): 299 points
|
|
2108.0 | lines of code min: 5.0average: 128.78 25th percentile: 41.0 median: 81.0 75th percentile: 141.0 max: 2108.0 |
|
| 0 | 9.0 | ||
|
contributors (90d) min: 1.0 | average: 3.17 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 9.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