File Size Overall
- There are 85 files with 35,452 lines of code.
- 9 very long files (15,553 lines of code)
- 12 long files (8,658 lines of code)
- 18 medium size files (6,783 lines of code)
- 22 small files (3,273 lines of code)
- 24 very small files (1,185 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 |
|---|---|---|
| 3106 | - | |
| 2800 | - | |
| 1736 | - | |
| 1534 | - | |
| 1509 | - | |
| 1249 | - | |
| 1247 | - | |
| 1241 | - | |
| 1131 | - | |
| 919 | - | |
| 898 | - | |
| 824 | - | |
| 789 | - | |
| 771 | - | |
| 745 | - | |
| 704 | - | |
| 679 | - | |
| 615 | - | |
| 595 | - | |
| 568 | - | |
| 551 | - | |
| 496 | 1 | |
| 493 | - | |
| 468 | - | |
| 466 | - | |
| 464 | 3 | |
| 463 | - | |
| 423 | - | |
| 408 | - | |
| 389 | 4 | |
| 378 | - | |
| 351 | - | |
| 344 | - | |
| 313 | - | |
| 304 | 1 | |
| 288 | - | |
| 258 | 5 | |
| 248 | - | |
| 229 | 3 | |
| 196 | 3 | |
| 191 | - | |
| 190 | 4 | |
| 188 | 4 | |
| 187 | 1 | |
| 171 | 8 | |
| 162 | 2 | |
| 161 | - | |
| 154 | - | |
| 145 | 2 | |
| 140 | 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 |
|---|---|---|---|---|---|
| 2800 | ~15k–50k | 11 | ~300 | ~10 | |
| 1534 | ~10k–30k | 15 | ~500 | ~3 | |
| 1249 | ~7k–20k | 16 | ~100 | ~10 | |
| 1247 | ~7k–20k | 15 | ~500 | ~3 | |
| 1509 | ~10k–30k | 12 | ~200 | ~7 | |
| 1131 | ~7k–20k | 14 | ~150 | ~7 | |
| 3106 | ~20k–50k | 5 | ~200 | ~15 | |
| 1241 | ~7k–20k | 12 | ~150 | ~7 | |
| 919 | ~5k–15k | 16 | ~150 | ~7 | |
| 1736 | ~10k–30k | 8 | ~200 | ~7 | |
| 789 | ~5k–15k | 16 | ~70 | ~15 | |
| 898 | ~5k–15k | 14 | ~70 | ~10 | |
| 704 | ~3k–10k | 14 | ~50 | ~15 | |
| 771 | ~5k–15k | 12 | ~20 | ~30 | |
| 595 | ~3k–10k | 15 | ~30 | ~15 | |
| 679 | ~3k–10k | 13 | ~70 | ~10 | |
| 615 | ~3k–10k | 13 | ~70 | ~10 | |
| 551 | ~3k–10k | 14 | ~50 | ~10 | |
| 745 | ~5k–15k | 9 | ~150 | ~5 | |
| 466 | ~3k–7k | 14 | ~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 30)
| File | # lines | # units |
|---|---|---|
| 171 | 8 | |
| 128 | 7 | |
| 139 | 7 | |
| 113 | 6 | |
| 139 | 5 | |
| 258 | 5 | |
| 133 | 5 | |
| 114 | 5 | |
| 188 | 4 | |
| 190 | 4 | |
| 389 | 4 | |
| 87 | 4 | |
| 92 | 4 | |
| 129 | 4 | |
| 73 | 3 | |
| 464 | 3 | |
| 229 | 3 | |
| 196 | 3 | |
| 81 | 2 | |
| 162 | 2 | |
| 140 | 2 | |
| 145 | 2 | |
| 50 | 2 | |
| 122 | 1 | |
| 54 | 1 | |
| 304 | 1 | |
| 496 | 1 | |
| 187 | 1 | |
| 50 | 1 | |
| 97 | 1 |
Files With Long Lines (Top 50)
There are 58 files with lines longer than 120 characters. In total, there are 1443 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 2800 | - | 155 | |
| 1249 | - | 133 | |
| 1736 | - | 97 | |
| 1509 | - | 79 | |
| 745 | - | 72 | |
| 1131 | - | 68 | |
| 1241 | - | 61 | |
| 898 | - | 49 | |
| 789 | - | 49 | |
| 919 | - | 42 | |
| 1534 | - | 37 | |
| 1247 | - | 35 | |
| 704 | - | 34 | |
| 423 | - | 33 | |
| 824 | - | 32 | |
| 344 | - | 32 | |
| 468 | - | 29 | |
| 463 | - | 29 | |
| 679 | - | 27 | |
| 551 | - | 26 | |
| 615 | - | 26 | |
| 595 | - | 23 | |
| 313 | - | 22 | |
| 771 | - | 19 | |
| 104 | - | 18 | |
| 493 | - | 18 | |
| 378 | - | 18 | |
| 408 | - | 17 | |
| 568 | - | 17 | |
| 466 | - | 14 | |
| 496 | 1 | 12 | |
| 351 | - | 12 | |
| 162 | 2 | 10 | |
| 191 | - | 10 | |
| 161 | - | 9 | |
| 288 | - | 8 | |
| 248 | - | 7 | |
| 139 | - | 7 | |
| 3106 | - | 7 | |
| 140 | 2 | 6 | |
| 154 | - | 6 | |
| 190 | 4 | 5 | |
| 187 | 1 | 5 | |
| 145 | 2 | 3 | |
| 97 | - | 3 | |
| 122 | 1 | 2 | |
| 113 | 6 | 2 | |
| 133 | 5 | 2 | |
| 114 | 5 | 2 | |
| 54 | 1 | 2 |
Correlations
File Size vs. Commits (all time): 85 points
|
|
3106.0 | lines of code min: 1.0average: 417.08 25th percentile: 91.0 median: 188.0 75th percentile: 523.5 max: 3106.0 |
|
| 0 | 52.0 | ||
|
commits (all time) min: 1.0 | average: 14.68 | 25th percentile: 2.0 | median: 9.0 | 75th percentile: 25.0 | max: 52.0
|
|||
File Size vs. Contributors (all time): 85 points
|
|
3106.0 | lines of code min: 1.0average: 417.08 25th percentile: 91.0 median: 188.0 75th percentile: 523.5 max: 3106.0 |
|
| 0 | 16.0 | ||
|
contributors (all time) min: 1.0 | average: 4.65 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 8.0 | max: 16.0
|
|||
File Size vs. Commits (30 days): 33 points
|
|
2800.0 | lines of code min: 3.0average: 452.7 25th percentile: 113.5 median: 196.0 75th percentile: 605.0 max: 2800.0 |
|
| 0 | 5.0 | ||
|
commits (30d) min: 1.0 | average: 1.73 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 5.0
|
|||
File Size vs. Contributors (30 days): 33 points
|
|
2800.0 | lines of code min: 3.0average: 452.7 25th percentile: 113.5 median: 196.0 75th percentile: 605.0 max: 2800.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.06 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 78 points
|
|
3106.0 | lines of code min: 1.0average: 442.13 25th percentile: 95.75 median: 193.5 75th percentile: 574.75 max: 3106.0 |
|
| 0 | 7.0 | ||
|
commits (90d) min: 1.0 | average: 3.14 | 25th percentile: 1.0 | median: 3.5 | 75th percentile: 5.0 | max: 7.0
|
|||
File Size vs. Contributors (90 days): 78 points
|
|
3106.0 | lines of code min: 1.0average: 442.13 25th percentile: 95.75 median: 193.5 75th percentile: 574.75 max: 3106.0 |
|
| 0 | 4.0 | ||
|
contributors (90d) min: 1.0 | average: 1.59 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 4.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