File Size Overall
- There are 593 files with 70,057 lines of code.
- 3 very long files (3,443 lines of code)
- 11 long files (7,382 lines of code)
- 89 medium size files (27,202 lines of code)
- 111 small files (15,522 lines of code)
- 379 very small files (16,508 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 |
|---|---|---|
| 1244 | 17 | |
| 1188 | - | |
| 1011 | - | |
| 925 | 6 | |
| 852 | 2 | |
| 752 | 3 | |
| 745 | - | |
| 675 | - | |
| 662 | 1 | |
| 651 | 1 | |
| 545 | 1 | |
| 537 | 1 | |
| 521 | 1 | |
| 517 | 1 | |
| 499 | 1 | |
| 484 | - | |
| 479 | - | |
| 461 | 1 | |
| 440 | 7 | |
| 436 | - | |
| 429 | 1 | |
| 426 | - | |
| 414 | - | |
| 403 | 7 | |
| 403 | 2 | |
| 387 | - | |
| 386 | - | |
| 386 | 1 | |
| 383 | 5 | |
| 378 | - | |
| 375 | 1 | |
| 374 | 1 | |
| 371 | 1 | |
| 371 | - | |
| 367 | - | |
| 363 | 1 | |
| 361 | 7 | |
| 360 | 1 | |
| 358 | - | |
| 356 | 12 | |
| 355 | - | |
| 351 | - | |
| 341 | - | |
| 340 | 53 | |
| 336 | - | |
| 333 | 1 | |
| 327 | - | |
| 319 | - | |
| 319 | - | |
| 318 | - |
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 |
|---|---|---|---|---|---|
| 752 | ~5k–15k | 79 | ~100 | ~7 | |
| 537 | ~3k–10k | 89 | ~30 | ~20 | |
| 1011 | ~7k–15k | 40 | ~50 | ~20 | |
| 745 | ~5k–15k | 52 | ~150 | ~5 | |
| 925 | ~5k–15k | 39 | ~50 | ~20 | |
| 1244 | ~7k–20k | 25 | ~50 | ~20 | |
| 403 | ~2k–7k | 66 | ~15 | ~30 | |
| 852 | ~5k–15k | 31 | ~70 | ~15 | |
| 240 | ~1.5k–5k | 98 | ~50 | ~5 | |
| 479 | ~3k–7k | 38 | ~30 | ~15 | |
| 414 | ~2k–7k | 41 | ~20 | ~20 | |
| 237 | ~1.5k–5k | 68 | ~30 | ~10 | |
| 378 | ~2k–7k | 42 | ~100 | ~3 | |
| 521 | ~3k–10k | 26 | ~30 | ~15 | |
| 361 | ~2k–7k | 32 | ~100 | ~3 | |
| 221 | ~1.5k–5k | 44 | ~15 | ~15 | |
| 299 | ~2k–5k | 30 | ~30 | ~7 | |
| 367 | ~2k–7k | 23 | ~500 | ~1 | |
| 387 | ~2k–7k | 20 | ~30 | ~15 | |
| 340 | ~2k–5k | 22 | ~15 | ~30 |
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 |
|---|---|---|
| 340 | 53 | |
| 215 | 25 | |
| 296 | 19 | |
| 1244 | 17 | |
| 208 | 15 | |
| 215 | 14 | |
| 356 | 12 | |
| 227 | 11 | |
| 129 | 8 | |
| 403 | 7 | |
| 85 | 7 | |
| 361 | 7 | |
| 86 | 7 | |
| 440 | 7 | |
| 925 | 6 | |
| 281 | 5 | |
| 383 | 5 | |
| 153 | 5 | |
| 187 | 4 | |
| 54 | 4 | |
| 116 | 4 | |
| 195 | 4 | |
| 305 | 3 | |
| 103 | 3 | |
| 30 | 3 | |
| 80 | 3 | |
| 240 | 3 | |
| 228 | 3 | |
| 131 | 3 | |
| 42 | 3 | |
| 42 | 3 | |
| 752 | 3 | |
| 303 | 3 | |
| 217 | 2 | |
| 45 | 2 | |
| 24 | 2 | |
| 11 | 2 | |
| 26 | 2 | |
| 32 | 2 | |
| 304 | 2 | |
| 65 | 2 | |
| 251 | 2 | |
| 852 | 2 | |
| 279 | 2 | |
| 304 | 2 | |
| 92 | 2 | |
| 90 | 2 | |
| 221 | 2 | |
| 46 | 2 | |
| 403 | 2 |
Files With Long Lines (Top 50)
There are 99 files with lines longer than 120 characters. In total, there are 278 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1188 | - | 47 | |
| 318 | - | 23 | |
| 925 | 6 | 20 | |
| 355 | - | 15 | |
| 80 | - | 11 | |
| 387 | - | 8 | |
| 319 | - | 8 | |
| 129 | - | 7 | |
| 57 | - | 5 | |
| 118 | - | 5 | |
| 208 | 15 | 4 | |
| 852 | 2 | 4 | |
| 537 | 1 | 4 | |
| 484 | - | 3 | |
| 426 | - | 3 | |
| 378 | - | 3 | |
| 107 | - | 2 | |
| 91 | 1 | 2 | |
| 41 | 1 | 2 | |
| 91 | - | 2 | |
| 228 | - | 2 | |
| 341 | - | 2 | |
| 363 | 1 | 2 | |
| 223 | - | 2 | |
| 304 | 2 | 2 | |
| 371 | - | 2 | |
| 280 | 1 | 2 | |
| 251 | 2 | 2 | |
| 116 | 4 | 2 | |
| 374 | 1 | 2 | |
| 46 | - | 2 | |
| 279 | 2 | 2 | |
| 156 | - | 2 | |
| 197 | 1 | 2 | |
| 128 | - | 2 | |
| 57 | - | 2 | |
| 386 | 1 | 2 | |
| 461 | 1 | 2 | |
| 367 | - | 2 | |
| 116 | - | 2 | |
| 257 | 2 | 2 | |
| 66 | - | 1 | |
| 305 | 3 | 1 | |
| 48 | - | 1 | |
| 414 | - | 1 | |
| 117 | 1 | 1 | |
| 166 | - | 1 | |
| 22 | - | 1 | |
| 130 | - | 1 | |
| 68 | - | 1 |
Correlations
File Size vs. Commits (all time): 593 points
|
|
1244.0 | lines of code min: 1.0average: 118.14 25th percentile: 31.0 median: 69.0 75th percentile: 143.5 max: 1244.0 |
|
| 0 | 218.0 | ||
|
commits (all time) min: 2.0 | average: 18.92 | 25th percentile: 6.0 | median: 11.0 | 75th percentile: 22.0 | max: 218.0
|
|||
File Size vs. Contributors (all time): 593 points
|
|
1244.0 | lines of code min: 1.0average: 118.14 25th percentile: 31.0 median: 69.0 75th percentile: 143.5 max: 1244.0 |
|
| 0 | 23.0 | ||
|
contributors (all time) min: 1.0 | average: 5.64 | 25th percentile: 3.0 | median: 4.0 | 75th percentile: 8.0 | max: 23.0
|
|||
File Size vs. Commits (30 days): 42 points
|
|
925.0 | lines of code min: 18.0average: 194.24 25th percentile: 37.0 median: 117.0 75th percentile: 269.25 max: 925.0 |
|
| 0 | 8.0 | ||
|
commits (30d) min: 1.0 | average: 3.5 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 5.0 | max: 8.0
|
|||
File Size vs. Contributors (30 days): 42 points
|
|
925.0 | lines of code min: 18.0average: 194.24 25th percentile: 37.0 median: 117.0 75th percentile: 269.25 max: 925.0 |
|
| 0 | 4.0 | ||
|
contributors (30d) min: 1.0 | average: 1.83 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 4.0
|
|||
File Size vs. Commits (90 days): 103 points
|
|
1244.0 | lines of code min: 1.0average: 171.84 25th percentile: 38.0 median: 91.0 75th percentile: 221.0 max: 1244.0 |
|
| 0 | 30.0 | ||
|
commits (90d) min: 1.0 | average: 5.98 | 25th percentile: 2.0 | median: 5.0 | 75th percentile: 7.0 | max: 30.0
|
|||
File Size vs. Contributors (90 days): 103 points
|
|
1244.0 | lines of code min: 1.0average: 171.84 25th percentile: 38.0 median: 91.0 75th percentile: 221.0 max: 1244.0 |
|
| 0 | 5.0 | ||
|
contributors (90d) min: 1.0 | average: 2.22 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 5.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