File Size Overall
- There are 42 files with 23,248 lines of code.
- 6 very long files (13,018 lines of code)
- 8 long files (5,894 lines of code)
- 8 medium size files (2,907 lines of code)
- 5 small files (744 lines of code)
- 15 very small files (685 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 42)
| File | # lines | # units |
|---|---|---|
| 3200 | 106 | |
| 2908 | 118 | |
| 2562 | 94 | |
| 1908 | 69 | |
| 1350 | 40 | |
| 1090 | 35 | |
| 952 | 45 | |
| 930 | 21 | |
| 822 | 4 | |
| 793 | 32 | |
| 771 | 37 | |
| 611 | 34 | |
| 510 | 18 | |
| 505 | 16 | |
| 462 | 5 | |
| 425 | 7 | |
| 394 | 1 | |
| 376 | - | |
| 343 | 7 | |
| 342 | 11 | |
| 332 | 16 | |
| 233 | 16 | |
| 160 | - | |
| 153 | - | |
| 150 | - | |
| 145 | 8 | |
| 136 | - | |
| 100 | - | |
| 95 | 4 | |
| 92 | 6 | |
| 88 | 6 | |
| 71 | 1 | |
| 53 | - | |
| 46 | - | |
| 43 | 1 | |
| 25 | - | |
| 23 | - | |
| 18 | - | |
| 11 | - | |
| 10 | 1 | |
| 6 | - | |
| 4 | - |
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 |
|---|---|---|---|---|---|
| 2908 | ~20k–50k | 27 | ~300 | ~7 | |
| 2562 | ~15k–50k | 20 | ~500 | ~5 | |
| 1908 | ~10k–30k | 25 | ~200 | ~10 | |
| 3200 | ~20k–50k | 12 | ~700 | ~5 | |
| 930 | ~5k–15k | 39 | ~70 | ~15 | |
| 822 | ~5k–15k | 28 | ~70 | ~10 | |
| 1350 | ~7k–20k | 15 | ~500 | ~3 | |
| 425 | ~2k–7k | 35 | ~100 | ~5 | |
| 1090 | ~7k–20k | 12 | ~300 | ~3 | |
| 771 | ~5k–15k | 14 | ~100 | ~7 | |
| 394 | ~2k–7k | 22 | ~50 | ~10 | |
| 332 | ~2k–5k | 26 | ~30 | ~10 | |
| 952 | ~5k–15k | 8 | ~300 | ~3 | |
| 462 | ~3k–7k | 15 | ~150 | ~3 | |
| 793 | ~5k–15k | 7 | ~300 | ~3 | |
| 611 | ~3k–10k | 9 | ~100 | ~5 | |
| 343 | ~2k–5k | 12 | ~70 | ~5 | |
| 505 | ~3k–10k | 8 | ~150 | ~3 | |
| 342 | ~2k–5k | 9 | ~100 | ~3 | |
| 71 | ~300–1k | 29 | ~15 | ~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 28)
| File | # lines | # units |
|---|---|---|
| 2908 | 118 | |
| 3200 | 106 | |
| 2562 | 94 | |
| 1908 | 69 | |
| 952 | 45 | |
| 1350 | 40 | |
| 771 | 37 | |
| 1090 | 35 | |
| 611 | 34 | |
| 793 | 32 | |
| 930 | 21 | |
| 510 | 18 | |
| 233 | 16 | |
| 505 | 16 | |
| 332 | 16 | |
| 342 | 11 | |
| 145 | 8 | |
| 425 | 7 | |
| 343 | 7 | |
| 92 | 6 | |
| 88 | 6 | |
| 462 | 5 | |
| 822 | 4 | |
| 95 | 4 | |
| 43 | 1 | |
| 394 | 1 | |
| 71 | 1 | |
| 10 | 1 |
Files With Long Lines (Top 12)
There are 12 files with lines longer than 120 characters. In total, there are 63 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1908 | 69 | 23 | |
| 930 | 21 | 18 | |
| 343 | 7 | 6 | |
| 160 | - | 3 | |
| 136 | - | 2 | |
| 53 | - | 2 | |
| 462 | 5 | 2 | |
| 332 | 16 | 2 | |
| 1090 | 35 | 2 | |
| 376 | - | 1 | |
| 2908 | 118 | 1 | |
| 822 | 4 | 1 |
Correlations
File Size vs. Commits (all time): 42 points
|
|
3200.0 | lines of code min: 4.0average: 553.52 25th percentile: 66.5 median: 282.5 75th percentile: 776.5 max: 3200.0 |
|
| 0 | 39.0 | ||
|
commits (all time) min: 2.0 | average: 10.95 | 25th percentile: 3.0 | median: 8.0 | 75th percentile: 15.0 | max: 39.0
|
|||
File Size vs. Contributors (all time): 42 points
|
|
3200.0 | lines of code min: 4.0average: 553.52 25th percentile: 66.5 median: 282.5 75th percentile: 776.5 max: 3200.0 |
|
| 0 | 3.0 | ||
|
contributors (all time) min: 1.0 | average: 2.02 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 3.0
|
|||
File Size vs. Commits (30 days): 7 points
|
|
2908.0 | lines of code min: 92.0average: 1126.0 25th percentile: 233.0 median: 793.0 75th percentile: 2562.0 max: 2908.0 |
|
| 0 | 4.0 | ||
|
commits (30d) min: 1.0 | average: 1.43 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 4.0
|
|||
File Size vs. Contributors (30 days): 7 points
|
|
2908.0 | lines of code min: 92.0average: 1126.0 25th percentile: 233.0 median: 793.0 75th percentile: 2562.0 max: 2908.0 |
|
| 0 | 3.0 | ||
|
contributors (30d) min: 1.0 | average: 1.29 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0
|
|||
File Size vs. Commits (90 days): 23 points
|
|
3200.0 | lines of code min: 4.0average: 792.96 25th percentile: 153.0 median: 425.0 75th percentile: 952.0 max: 3200.0 |
|
| 0 | 15.0 | ||
|
commits (90d) min: 2.0 | average: 5.78 | 25th percentile: 3.0 | median: 5.0 | 75th percentile: 7.0 | max: 15.0
|
|||
File Size vs. Contributors (90 days): 23 points
|
|
3200.0 | lines of code min: 4.0average: 792.96 25th percentile: 153.0 median: 425.0 75th percentile: 952.0 max: 3200.0 |
|
| 0 | 3.0 | ||
|
contributors (90d) min: 1.0 | average: 1.78 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 3.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