File Size Overall
- There are 632 files with 49,415 lines of code.
- 2 very long files (2,570 lines of code)
- 5 long files (3,653 lines of code)
- 45 medium size files (12,923 lines of code)
- 93 small files (12,981 lines of code)
- 487 very small files (17,288 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 |
|---|---|---|
| 1364 | 17 | |
| 1206 | 44 | |
| 955 | - | |
| 940 | 32 | |
| 708 | 28 | |
| 548 | 7 | |
| 502 | 3 | |
| 458 | 17 | |
| 412 | - | |
| 397 | 24 | |
| 394 | 28 | |
| 387 | - | |
| 366 | 6 | |
| 362 | 10 | |
| 355 | 8 | |
| 343 | 2 | |
| 343 | 3 | |
| 340 | 5 | |
| 335 | - | |
| 333 | - | |
| 324 | 29 | |
| 319 | - | |
| 305 | - | |
| 297 | 15 | |
| 295 | - | |
| 289 | - | |
| 288 | - | |
| 284 | 7 | |
| 279 | 6 | |
| 261 | - | |
| 260 | 5 | |
| 257 | 13 | |
| 256 | 10 | |
| 255 | 2 | |
| 255 | 23 | |
| 254 | - | |
| 253 | - | |
| 244 | 7 | |
| 241 | 15 | |
| 239 | 6 | |
| 235 | - | |
| 232 | - | |
| 228 | 21 | |
| 227 | 10 | |
| 226 | 9 | |
| 222 | 1 | |
| 217 | - | |
| 217 | 17 | |
| 214 | 9 | |
| 210 | 1 |
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 |
|---|---|---|---|---|---|
| 1364 | ~7k–20k | 81 | ~50 | ~30 | |
| 1206 | ~7k–20k | 45 | ~30 | ~50 | |
| 940 | ~5k–15k | 37 | ~30 | ~30 | |
| 708 | ~3k–10k | 32 | ~20 | ~30 | |
| 343 | ~2k–5k | 56 | ~30 | ~10 | |
| 394 | ~2k–7k | 29 | ~15 | ~20 | |
| 253 | ~1.5k–5k | 39 | ~7 | ~30 | |
| 355 | ~2k–5k | 25 | ~70 | ~5 | |
| 235 | ~1.5k–5k | 34 | ~30 | ~7 | |
| 257 | ~1.5k–5k | 28 | ~30 | ~7 | |
| 362 | ~2k–7k | 19 | ~30 | ~10 | |
| 305 | ~2k–5k | 22 | ~30 | ~10 | |
| 324 | ~2k–5k | 20 | ~10 | ~30 | |
| 458 | ~3k–7k | 14 | ~30 | ~15 | |
| 217 | ~1.5k–5k | 29 | ~15 | ~15 | |
| 319 | ~2k–5k | 18 | ~20 | ~15 | |
| 340 | ~2k–5k | 16 | ~30 | ~10 | |
| 214 | ~1k–3k | 24 | ~50 | ~5 | |
| 181 | ~1k–3k | 28 | ~30 | ~7 | |
| 955 | ~5k–15k | 5 | ~500 | ~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 |
|---|---|---|
| 1206 | 44 | |
| 940 | 32 | |
| 324 | 29 | |
| 394 | 28 | |
| 708 | 28 | |
| 397 | 24 | |
| 255 | 23 | |
| 228 | 21 | |
| 135 | 20 | |
| 1364 | 17 | |
| 458 | 17 | |
| 103 | 17 | |
| 217 | 17 | |
| 154 | 15 | |
| 241 | 15 | |
| 297 | 15 | |
| 137 | 14 | |
| 257 | 13 | |
| 137 | 13 | |
| 79 | 12 | |
| 147 | 12 | |
| 159 | 11 | |
| 178 | 11 | |
| 126 | 11 | |
| 120 | 11 | |
| 127 | 10 | |
| 256 | 10 | |
| 362 | 10 | |
| 111 | 10 | |
| 227 | 10 | |
| 97 | 9 | |
| 226 | 9 | |
| 101 | 9 | |
| 141 | 9 | |
| 160 | 9 | |
| 214 | 9 | |
| 184 | 9 | |
| 112 | 9 | |
| 148 | 9 | |
| 355 | 8 | |
| 165 | 8 | |
| 83 | 8 | |
| 170 | 8 | |
| 178 | 8 | |
| 126 | 8 | |
| 107 | 8 | |
| 117 | 7 | |
| 77 | 7 | |
| 284 | 7 | |
| 123 | 7 |
Files With Long Lines (Top 50)
There are 158 files with lines longer than 120 characters. In total, there are 730 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1206 | 44 | 47 | |
| 708 | 28 | 40 | |
| 253 | - | 38 | |
| 257 | 13 | 23 | |
| 217 | 17 | 21 | |
| 940 | 32 | 21 | |
| 160 | 2 | 18 | |
| 394 | 28 | 18 | |
| 178 | 11 | 17 | |
| 244 | 7 | 16 | |
| 148 | 1 | 14 | |
| 181 | 5 | 13 | |
| 55 | 5 | 10 | |
| 126 | 8 | 10 | |
| 239 | 6 | 10 | |
| 241 | 15 | 9 | |
| 159 | 11 | 9 | |
| 81 | 3 | 9 | |
| 397 | 24 | 9 | |
| 165 | 8 | 8 | |
| 88 | 4 | 8 | |
| 144 | 5 | 8 | |
| 141 | 9 | 8 | |
| 137 | 13 | 8 | |
| 226 | 9 | 7 | |
| 146 | 7 | 7 | |
| 184 | 9 | 7 | |
| 83 | 8 | 6 | |
| 45 | 3 | 6 | |
| 143 | 6 | 6 | |
| 112 | 9 | 6 | |
| 324 | 29 | 6 | |
| 135 | 20 | 6 | |
| 255 | 23 | 5 | |
| 88 | 3 | 5 | |
| 72 | 7 | 5 | |
| 178 | 8 | 5 | |
| 72 | 4 | 5 | |
| 77 | 4 | 5 | |
| 122 | 7 | 5 | |
| 129 | 5 | 5 | |
| 68 | 1 | 5 | |
| 58 | 2 | 5 | |
| 153 | 7 | 5 | |
| 98 | 4 | 5 | |
| 214 | 9 | 5 | |
| 47 | 2 | 5 | |
| 227 | 10 | 5 | |
| 28 | 4 | 4 | |
| 101 | 9 | 4 |
Correlations
File Size vs. Commits (all time): 554 points
|
|
1364.0 | lines of code min: 1.0average: 86.14 25th percentile: 23.0 median: 46.5 75th percentile: 106.25 max: 1364.0 |
|
| 0 | 122.0 | ||
|
commits (all time) min: 1.0 | average: 8.56 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 8.0 | max: 122.0
|
|||
File Size vs. Contributors (all time): 554 points
|
|
1364.0 | lines of code min: 1.0average: 86.14 25th percentile: 23.0 median: 46.5 75th percentile: 106.25 max: 1364.0 |
|
| 0 | 13.0 | ||
|
contributors (all time) min: 1.0 | average: 2.29 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 13.0
|
|||
File Size vs. Commits (30 days): 152 points
|
|
1364.0 | lines of code min: 2.0average: 136.98 25th percentile: 34.25 median: 83.0 75th percentile: 178.75 max: 1364.0 |
|
| 0 | 6.0 | ||
|
commits (30d) min: 1.0 | average: 1.99 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 6.0
|
|||
File Size vs. Contributors (30 days): 152 points
|
|
1364.0 | lines of code min: 2.0average: 136.98 25th percentile: 34.25 median: 83.0 75th percentile: 178.75 max: 1364.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.27 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 181 points
|
|
1364.0 | lines of code min: 2.0average: 141.44 25th percentile: 35.5 median: 85.0 75th percentile: 186.5 max: 1364.0 |
|
| 0 | 16.0 | ||
|
commits (90d) min: 1.0 | average: 3.08 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.5 | max: 16.0
|
|||
File Size vs. Contributors (90 days): 181 points
|
|
1364.0 | lines of code min: 2.0average: 141.44 25th percentile: 35.5 median: 85.0 75th percentile: 186.5 max: 1364.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.28 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.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