File Size Overall
- There are 1,016 files with 84,431 lines of code.
- 4 very long files (7,885 lines of code)
- 16 long files (10,288 lines of code)
- 71 medium size files (20,926 lines of code)
- 134 small files (18,137 lines of code)
- 791 very small files (27,195 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 |
|---|---|---|
| 2641 | 134 | |
| 2213 | 99 | |
| 1888 | 231 | |
| 1143 | 56 | |
| 962 | 67 | |
| 895 | 40 | |
| 863 | 70 | |
| 681 | 51 | |
| 666 | 32 | |
| 664 | 25 | |
| 629 | 20 | |
| 604 | 37 | |
| 577 | 33 | |
| 567 | 18 | |
| 565 | 40 | |
| 550 | 39 | |
| 545 | 20 | |
| 509 | 25 | |
| 506 | 6 | |
| 505 | 17 | |
| 480 | 37 | |
| 476 | - | |
| 466 | 44 | |
| 466 | 21 | |
| 444 | 13 | |
| 422 | 22 | |
| 409 | 55 | |
| 406 | 7 | |
| 396 | 11 | |
| 390 | 87 | |
| 384 | 45 | |
| 384 | 8 | |
| 366 | 14 | |
| 355 | 52 | |
| 355 | 15 | |
| 341 | 39 | |
| 341 | 16 | |
| 340 | 37 | |
| 339 | 9 | |
| 338 | 20 | |
| 329 | 15 | |
| 315 | 45 | |
| 315 | 5 | |
| 314 | 46 | |
| 313 | 7 | |
| 306 | 13 | |
| 300 | 20 | |
| 297 | 7 | |
| 295 | 11 | |
| 294 | 8 |
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 |
|---|---|---|---|---|---|
| 2213 | ~15k–50k | 5 | ~150 | ~15 | |
| 2641 | ~15k–50k | 4 | ~200 | ~15 | |
| 1143 | ~7k–20k | 4 | ~300 | ~3 | |
| 895 | ~5k–15k | 3 | ~70 | ~15 | |
| 509 | ~3k–10k | 4 | ~200 | ~3 | |
| 962 | ~5k–15k | 2 | ~200 | ~5 | |
| 1888 | ~10k–30k | 1 | ~300 | ~7 | |
| 604 | ~3k–10k | 3 | ~300 | ~2 | |
| 664 | ~3k–10k | 2 | ~50 | ~15 | |
| 629 | ~3k–10k | 2 | ~200 | ~3 | |
| 863 | ~5k–15k | 1 | ~70 | ~15 | |
| 281 | ~1.5k–5k | 3 | ~20 | ~15 | |
| 366 | ~2k–7k | 2 | ~70 | ~5 | |
| 681 | ~3k–10k | 1 | ~100 | ~7 | |
| 666 | ~3k–10k | 1 | ~150 | ~5 | |
| 295 | ~2k–5k | 2 | ~15 | ~15 | |
| 289 | ~2k–5k | 2 | ~20 | ~15 | |
| 545 | ~3k–10k | 1 | ~300 | ~2 | |
| 505 | ~3k–10k | 1 | ~300 | ~2 | |
| 480 | ~3k–7k | 1 | ~50 | ~10 |
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 |
|---|---|---|
| 1888 | 231 | |
| 2641 | 134 | |
| 2213 | 99 | |
| 390 | 87 | |
| 863 | 70 | |
| 962 | 67 | |
| 1143 | 56 | |
| 409 | 55 | |
| 355 | 52 | |
| 681 | 51 | |
| 283 | 47 | |
| 314 | 46 | |
| 384 | 45 | |
| 315 | 45 | |
| 466 | 44 | |
| 279 | 43 | |
| 225 | 41 | |
| 895 | 40 | |
| 565 | 40 | |
| 341 | 39 | |
| 550 | 39 | |
| 289 | 38 | |
| 180 | 37 | |
| 480 | 37 | |
| 604 | 37 | |
| 340 | 37 | |
| 577 | 33 | |
| 230 | 32 | |
| 269 | 32 | |
| 666 | 32 | |
| 170 | 30 | |
| 140 | 28 | |
| 205 | 28 | |
| 250 | 27 | |
| 148 | 26 | |
| 138 | 26 | |
| 110 | 26 | |
| 509 | 25 | |
| 664 | 25 | |
| 231 | 24 | |
| 191 | 24 | |
| 285 | 24 | |
| 188 | 23 | |
| 134 | 23 | |
| 240 | 23 | |
| 247 | 22 | |
| 422 | 22 | |
| 205 | 21 | |
| 182 | 21 | |
| 466 | 21 |
Files With Long Lines (Top 50)
There are 295 files with lines longer than 120 characters. In total, there are 1801 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 2641 | 134 | 215 | |
| 962 | 67 | 106 | |
| 577 | 33 | 49 | |
| 567 | 18 | 46 | |
| 506 | 6 | 38 | |
| 148 | 19 | 37 | |
| 1143 | 56 | 30 | |
| 681 | 51 | 28 | |
| 396 | 11 | 28 | |
| 406 | 7 | 27 | |
| 444 | 13 | 25 | |
| 152 | 5 | 23 | |
| 231 | 7 | 22 | |
| 266 | 15 | 22 | |
| 863 | 70 | 19 | |
| 545 | 20 | 19 | |
| 664 | 25 | 18 | |
| 315 | 5 | 18 | |
| 339 | 9 | 18 | |
| 262 | 3 | 18 | |
| 127 | 13 | 17 | |
| 29 | - | 16 | |
| 300 | 20 | 16 | |
| 2213 | 99 | 15 | |
| 505 | 17 | 15 | |
| 64 | 8 | 15 | |
| 77 | 6 | 15 | |
| 254 | 10 | 14 | |
| 313 | 7 | 14 | |
| 207 | 9 | 14 | |
| 173 | 7 | 14 | |
| 187 | 13 | 13 | |
| 384 | 8 | 13 | |
| 895 | 40 | 12 | |
| 604 | 37 | 12 | |
| 221 | 14 | 12 | |
| 466 | 21 | 11 | |
| 250 | 27 | 11 | |
| 247 | 22 | 10 | |
| 246 | 18 | 10 | |
| 205 | 28 | 10 | |
| 480 | 37 | 10 | |
| 152 | 12 | 10 | |
| 56 | 4 | 10 | |
| 115 | 4 | 10 | |
| 72 | 4 | 10 | |
| 294 | 8 | 10 | |
| 107 | 3 | 9 | |
| 200 | 2 | 9 | |
| 233 | 13 | 9 |
Correlations
File Size vs. Commits (all time): 894 points
|
|
2641.0 | lines of code min: 1.0average: 91.34 25th percentile: 19.0 median: 45.0 75th percentile: 100.0 max: 2641.0 |
|
| 0 | 61.0 | ||
|
commits (all time) min: 1.0 | average: 3.54 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 4.0 | max: 61.0
|
|||
File Size vs. Contributors (all time): 894 points
|
|
2641.0 | lines of code min: 1.0average: 91.34 25th percentile: 19.0 median: 45.0 75th percentile: 100.0 max: 2641.0 |
|
| 0 | 12.0 | ||
|
contributors (all time) min: 1.0 | average: 2.06 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 12.0
|
|||
File Size vs. Commits (30 days): 0 points
No data for "commits (30d)" vs. "lines of code".
File Size vs. Contributors (30 days): 0 points
No data for "contributors (30d)" vs. "lines of code".
File Size vs. Commits (90 days): 11 points
|
|
505.0 | lines of code min: 11.0average: 185.91 25th percentile: 46.0 median: 173.0 75th percentile: 297.0 max: 505.0 |
|
| 0 | 1.0 | ||
|
commits (90d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Contributors (90 days): 11 points
|
|
505.0 | lines of code min: 11.0average: 185.91 25th percentile: 46.0 median: 173.0 75th percentile: 297.0 max: 505.0 |
|
| 0 | 1.0 | ||
|
contributors (90d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.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