File Size Overall
- There are 468 files with 78,270 lines of code.
- 12 very long files (18,863 lines of code)
- 26 long files (16,534 lines of code)
- 83 medium size files (26,426 lines of code)
- 57 small files (8,148 lines of code)
- 290 very small files (8,299 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 |
|---|---|---|
| 2409 | 3 | |
| 2134 | 51 | |
| 1925 | 1 | |
| 1787 | 7 | |
| 1759 | 49 | |
| 1590 | 47 | |
| 1492 | - | |
| 1410 | - | |
| 1267 | 39 | |
| 1046 | 2 | |
| 1026 | 2 | |
| 1018 | 2 | |
| 949 | 25 | |
| 896 | 4 | |
| 855 | 24 | |
| 841 | 14 | |
| 775 | - | |
| 717 | - | |
| 715 | 7 | |
| 692 | 1 | |
| 691 | 1 | |
| 655 | 6 | |
| 609 | 11 | |
| 590 | 24 | |
| 582 | 14 | |
| 578 | 14 | |
| 559 | 22 | |
| 556 | 7 | |
| 545 | 2 | |
| 536 | 11 | |
| 532 | 2 | |
| 531 | 11 | |
| 531 | 32 | |
| 528 | 11 | |
| 524 | 18 | |
| 519 | 3 | |
| 515 | 14 | |
| 513 | 7 | |
| 495 | 7 | |
| 491 | 2 | |
| 489 | 2 | |
| 474 | 17 | |
| 460 | 16 | |
| 458 | 8 | |
| 438 | 7 | |
| 435 | 20 | |
| 426 | 2 | |
| 424 | 2 | |
| 393 | 7 | |
| 389 | 13 |
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 |
|---|---|---|---|---|---|
| 1410 | ~7k–20k | 188 | ~10 | ~150 | |
| 2409 | ~15k–50k | 56 | ~70 | ~30 | |
| 2134 | ~10k–30k | 39 | ~50 | ~30 | |
| 1492 | ~10k–30k | 31 | ~200 | ~7 | |
| 1759 | ~10k–30k | 26 | ~100 | ~20 | |
| 1046 | ~7k–15k | 39 | ~70 | ~15 | |
| 855 | ~5k–15k | 35 | ~50 | ~20 | |
| 590 | ~3k–10k | 45 | ~50 | ~15 | |
| 1925 | ~10k–30k | 13 | ~700 | ~3 | |
| 1787 | ~10k–30k | 14 | ~500 | ~5 | |
| 1590 | ~10k–30k | 15 | ~150 | ~10 | |
| 896 | ~5k–15k | 22 | ~100 | ~7 | |
| 1018 | ~7k–15k | 19 | ~300 | ~3 | |
| 692 | ~3k–10k | 26 | ~30 | ~20 | |
| 1026 | ~7k–15k | 14 | ~150 | ~7 | |
| 515 | ~3k–10k | 25 | ~50 | ~10 | |
| 519 | ~3k–10k | 24 | ~70 | ~7 | |
| 775 | ~5k–15k | 16 | ~30 | ~30 | |
| 524 | ~3k–10k | 23 | ~50 | ~10 | |
| 559 | ~3k–10k | 21 | ~30 | ~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 |
|---|---|---|
| 2134 | 51 | |
| 1759 | 49 | |
| 1590 | 47 | |
| 1267 | 39 | |
| 531 | 32 | |
| 949 | 25 | |
| 590 | 24 | |
| 855 | 24 | |
| 559 | 22 | |
| 328 | 22 | |
| 435 | 20 | |
| 377 | 20 | |
| 385 | 19 | |
| 524 | 18 | |
| 357 | 18 | |
| 474 | 17 | |
| 460 | 16 | |
| 333 | 16 | |
| 307 | 14 | |
| 582 | 14 | |
| 578 | 14 | |
| 841 | 14 | |
| 515 | 14 | |
| 201 | 13 | |
| 389 | 13 | |
| 340 | 12 | |
| 244 | 12 | |
| 260 | 12 | |
| 388 | 12 | |
| 159 | 12 | |
| 376 | 11 | |
| 609 | 11 | |
| 536 | 11 | |
| 531 | 11 | |
| 528 | 11 | |
| 275 | 11 | |
| 54 | 10 | |
| 162 | 10 | |
| 293 | 10 | |
| 149 | 10 | |
| 197 | 10 | |
| 169 | 10 | |
| 231 | 10 | |
| 285 | 9 | |
| 74 | 9 | |
| 250 | 9 | |
| 173 | 9 | |
| 306 | 8 | |
| 163 | 8 | |
| 458 | 8 |
Files With Long Lines (Top 46)
There are 46 files with lines longer than 120 characters. In total, there are 139 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 692 | 1 | 27 | |
| 260 | 12 | 10 | |
| 524 | 18 | 10 | |
| 2134 | 51 | 9 | |
| 2409 | 3 | 6 | |
| 949 | 25 | 4 | |
| 356 | 3 | 4 | |
| 1787 | 7 | 4 | |
| 435 | 20 | 4 | |
| 49 | - | 4 | |
| 855 | 24 | 4 | |
| 531 | 32 | 4 | |
| 200 | 8 | 3 | |
| 165 | 5 | 3 | |
| 1590 | 47 | 3 | |
| 376 | 11 | 2 | |
| 265 | 7 | 2 | |
| 123 | 7 | 2 | |
| 201 | 13 | 2 | |
| 75 | 3 | 2 | |
| 74 | 9 | 2 | |
| 257 | 6 | 2 | |
| 1759 | 49 | 2 | |
| 328 | 22 | 2 | |
| 306 | 8 | 1 | |
| 18 | - | 1 | |
| 18 | - | 1 | |
| 137 | 4 | 1 | |
| 60 | 6 | 1 | |
| 20 | - | 1 | |
| 64 | - | 1 | |
| 7 | - | 1 | |
| 590 | 24 | 1 | |
| 32 | 3 | 1 | |
| 99 | 4 | 1 | |
| 95 | 4 | 1 | |
| 90 | 4 | 1 | |
| 90 | 4 | 1 | |
| 87 | 4 | 1 | |
| 896 | 4 | 1 | |
| 285 | 9 | 1 | |
| 139 | 4 | 1 | |
| 515 | 14 | 1 | |
| 275 | 11 | 1 | |
| 333 | 16 | 1 | |
| 474 | 17 | 1 |
Correlations
File Size vs. Commits (all time): 468 points
|
|
2409.0 | lines of code min: 1.0average: 167.24 25th percentile: 14.0 median: 54.0 75th percentile: 224.5 max: 2409.0 |
|
| 0 | 466.0 | ||
|
commits (all time) min: 1.0 | average: 12.65 | 25th percentile: 2.0 | median: 5.0 | 75th percentile: 14.0 | max: 466.0
|
|||
File Size vs. Contributors (all time): 468 points
|
|
2409.0 | lines of code min: 1.0average: 167.24 25th percentile: 14.0 median: 54.0 75th percentile: 224.5 max: 2409.0 |
|
| 0 | 20.0 | ||
|
contributors (all time) min: 1.0 | average: 4.05 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 5.0 | max: 20.0
|
|||
File Size vs. Commits (30 days): 295 points
|
|
2409.0 | lines of code min: 1.0average: 246.41 25th percentile: 39.0 median: 139.0 75th percentile: 321.0 max: 2409.0 |
|
| 0 | 51.0 | ||
|
commits (30d) min: 1.0 | average: 2.43 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 51.0
|
|||
File Size vs. Contributors (30 days): 295 points
|
|
2409.0 | lines of code min: 1.0average: 246.41 25th percentile: 39.0 median: 139.0 75th percentile: 321.0 max: 2409.0 |
|
| 0 | 8.0 | ||
|
contributors (30d) min: 1.0 | average: 1.83 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 8.0
|
|||
File Size vs. Commits (90 days): 448 points
|
|
2409.0 | lines of code min: 1.0average: 174.38 25th percentile: 18.0 median: 59.5 75th percentile: 241.25 max: 2409.0 |
|
| 0 | 188.0 | ||
|
commits (90d) min: 1.0 | average: 4.82 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 5.0 | max: 188.0
|
|||
File Size vs. Contributors (90 days): 448 points
|
|
2409.0 | lines of code min: 1.0average: 174.38 25th percentile: 18.0 median: 59.5 75th percentile: 241.25 max: 2409.0 |
|
| 0 | 11.0 | ||
|
contributors (90d) min: 1.0 | average: 2.05 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 11.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