File Size Overall
- There are 395 files with 49,382 lines of code.
- 6 very long files (8,159 lines of code)
- 11 long files (7,347 lines of code)
- 37 medium size files (10,999 lines of code)
- 63 small files (8,721 lines of code)
- 278 very small files (14,156 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 |
|---|---|---|
| 2085 | 92 | |
| 1524 | 9 | |
| 1237 | 74 | |
| 1175 | 8 | |
| 1125 | 7 | |
| 1013 | 6 | |
| 845 | 32 | |
| 836 | 6 | |
| 806 | 31 | |
| 696 | 5 | |
| 640 | 11 | |
| 622 | 32 | |
| 621 | 31 | |
| 592 | 61 | |
| 582 | 31 | |
| 576 | 46 | |
| 531 | 16 | |
| 482 | 26 | |
| 481 | 3 | |
| 464 | 18 | |
| 441 | 41 | |
| 439 | 9 | |
| 418 | 15 | |
| 379 | 15 | |
| 365 | 10 | |
| 339 | 30 | |
| 335 | 15 | |
| 323 | 7 | |
| 315 | 25 | |
| 301 | 2 | |
| 298 | 29 | |
| 293 | 11 | |
| 283 | 28 | |
| 278 | 9 | |
| 270 | 12 | |
| 266 | 12 | |
| 265 | 14 | |
| 259 | 9 | |
| 254 | 12 | |
| 252 | 23 | |
| 251 | 5 | |
| 249 | 13 | |
| 249 | 5 | |
| 248 | 5 | |
| 242 | 14 | |
| 233 | 5 | |
| 232 | 2 | |
| 227 | 22 | |
| 221 | 7 | |
| 217 | 3 |
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 |
|---|---|---|---|---|---|
| 1524 | ~10k–30k | 5 | ~300 | ~5 | |
| 2085 | ~10k–30k | 3 | ~700 | ~3 | |
| 531 | ~3k–10k | 5 | ~150 | ~3 | |
| 592 | ~3k–10k | 4 | ~200 | ~3 | |
| 1125 | ~7k–20k | 2 | ~700 | ~2 | |
| 301 | ~2k–5k | 6 | ~50 | ~5 | |
| 696 | ~3k–10k | 2 | ~500 | ~2 | |
| 441 | ~3k–7k | 3 | ~200 | ~2 | |
| 640 | ~3k–10k | 2 | ~500 | ~2 | |
| 622 | ~3k–10k | 2 | ~300 | ~2 | |
| 1237 | ~7k–20k | 1 | ~1,500 | ~1 | |
| 298 | ~2k–5k | 4 | ~100 | ~3 | |
| 1175 | ~7k–20k | 1 | ~1,500 | ~1 | |
| 576 | ~3k–10k | 2 | ~300 | ~2 | |
| 365 | ~2k–7k | 3 | ~150 | ~3 | |
| 217 | ~1.5k–5k | 5 | ~50 | ~5 | |
| 266 | ~1.5k–5k | 4 | ~70 | ~3 | |
| 339 | ~2k–5k | 3 | ~150 | ~2 | |
| 1013 | ~7k–15k | 1 | ~1,000 | ~1 | |
| 199 | ~1k–3k | 5 | ~100 | ~2 |
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 |
|---|---|---|
| 2085 | 92 | |
| 1237 | 74 | |
| 592 | 61 | |
| 576 | 46 | |
| 441 | 41 | |
| 125 | 33 | |
| 622 | 32 | |
| 845 | 32 | |
| 806 | 31 | |
| 582 | 31 | |
| 621 | 31 | |
| 339 | 30 | |
| 298 | 29 | |
| 283 | 28 | |
| 103 | 27 | |
| 482 | 26 | |
| 315 | 25 | |
| 252 | 23 | |
| 210 | 22 | |
| 227 | 22 | |
| 154 | 21 | |
| 195 | 20 | |
| 152 | 20 | |
| 131 | 19 | |
| 464 | 18 | |
| 174 | 18 | |
| 172 | 18 | |
| 142 | 18 | |
| 173 | 17 | |
| 173 | 17 | |
| 117 | 17 | |
| 531 | 16 | |
| 166 | 16 | |
| 166 | 16 | |
| 97 | 16 | |
| 418 | 15 | |
| 379 | 15 | |
| 335 | 15 | |
| 134 | 15 | |
| 113 | 15 | |
| 103 | 15 | |
| 103 | 15 | |
| 102 | 15 | |
| 102 | 15 | |
| 103 | 15 | |
| 106 | 15 | |
| 265 | 14 | |
| 107 | 14 | |
| 242 | 14 | |
| 95 | 14 |
Files With Long Lines (Top 50)
There are 143 files with lines longer than 120 characters. In total, there are 846 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 108 | 3 | 47 | |
| 1524 | 9 | 40 | |
| 2085 | 92 | 26 | |
| 582 | 31 | 26 | |
| 531 | 16 | 22 | |
| 482 | 26 | 21 | |
| 146 | - | 19 | |
| 217 | 3 | 18 | |
| 1175 | 8 | 18 | |
| 379 | 15 | 17 | |
| 1013 | 6 | 16 | |
| 441 | 41 | 15 | |
| 171 | 2 | 14 | |
| 464 | 18 | 13 | |
| 1125 | 7 | 13 | |
| 171 | 2 | 12 | |
| 178 | 2 | 12 | |
| 96 | 2 | 12 | |
| 836 | 6 | 12 | |
| 301 | 2 | 11 | |
| 134 | 11 | 11 | |
| 439 | 9 | 10 | |
| 298 | 29 | 10 | |
| 1237 | 74 | 9 | |
| 91 | 2 | 9 | |
| 83 | 2 | 9 | |
| 153 | 3 | 9 | |
| 242 | 14 | 9 | |
| 696 | 5 | 9 | |
| 80 | 2 | 8 | |
| 86 | 2 | 8 | |
| 202 | 12 | 8 | |
| 123 | 11 | 8 | |
| 116 | 10 | 8 | |
| 622 | 32 | 7 | |
| 113 | 2 | 7 | |
| 251 | 5 | 7 | |
| 576 | 46 | 7 | |
| 210 | 22 | 7 | |
| 845 | 32 | 7 | |
| 88 | 2 | 6 | |
| 335 | 15 | 6 | |
| 481 | 3 | 6 | |
| 592 | 61 | 6 | |
| 166 | 16 | 6 | |
| 172 | 18 | 6 | |
| 184 | 9 | 5 | |
| 105 | - | 5 | |
| 266 | 12 | 5 | |
| 100 | 2 | 5 |
Correlations
File Size vs. Commits (all time): 395 points
|
|
2085.0 | lines of code min: 3.0average: 125.02 25th percentile: 33.0 median: 74.0 75th percentile: 113.0 max: 2085.0 |
|
| 0 | 6.0 | ||
|
commits (all time) min: 1.0 | average: 1.46 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 6.0
|
|||
File Size vs. Contributors (all time): 395 points
|
|
2085.0 | lines of code min: 3.0average: 125.02 25th percentile: 33.0 median: 74.0 75th percentile: 113.0 max: 2085.0 |
|
| 0 | 4.0 | ||
|
contributors (all time) min: 1.0 | average: 1.16 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 4.0
|
|||
File Size vs. Commits (30 days): 395 points
|
|
2085.0 | lines of code min: 3.0average: 125.02 25th percentile: 33.0 median: 74.0 75th percentile: 113.0 max: 2085.0 |
|
| 0 | 6.0 | ||
|
commits (30d) min: 1.0 | average: 1.46 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 6.0
|
|||
File Size vs. Contributors (30 days): 395 points
|
|
2085.0 | lines of code min: 3.0average: 125.02 25th percentile: 33.0 median: 74.0 75th percentile: 113.0 max: 2085.0 |
|
| 0 | 4.0 | ||
|
contributors (30d) min: 1.0 | average: 1.16 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 4.0
|
|||
File Size vs. Commits (90 days): 395 points
|
|
2085.0 | lines of code min: 3.0average: 125.02 25th percentile: 33.0 median: 74.0 75th percentile: 113.0 max: 2085.0 |
|
| 0 | 6.0 | ||
|
commits (90d) min: 1.0 | average: 1.46 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 6.0
|
|||
File Size vs. Contributors (90 days): 395 points
|
|
2085.0 | lines of code min: 3.0average: 125.02 25th percentile: 33.0 median: 74.0 75th percentile: 113.0 max: 2085.0 |
|
| 0 | 4.0 | ||
|
contributors (90d) min: 1.0 | average: 1.16 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.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