File Size Overall
- There are 335 files with 49,226 lines of code.
- 8 very long files (13,552 lines of code)
- 14 long files (9,410 lines of code)
- 33 medium size files (10,613 lines of code)
- 52 small files (7,429 lines of code)
- 228 very small files (8,222 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 |
|---|---|---|
| 2385 | 37 | |
| 2305 | 36 | |
| 1874 | 30 | |
| 1689 | 115 | |
| 1449 | 17 | |
| 1400 | 16 | |
| 1370 | 23 | |
| 1080 | 17 | |
| 949 | 25 | |
| 891 | 15 | |
| 852 | 14 | |
| 731 | 12 | |
| 678 | 7 | |
| 672 | 6 | |
| 655 | 63 | |
| 653 | 2 | |
| 633 | 11 | |
| 580 | 8 | |
| 552 | 37 | |
| 539 | 3 | |
| 517 | 12 | |
| 508 | 6 | |
| 477 | 5 | |
| 467 | 10 | |
| 408 | 3 | |
| 408 | 13 | |
| 402 | 11 | |
| 393 | 6 | |
| 389 | 12 | |
| 383 | 10 | |
| 376 | 11 | |
| 370 | 3 | |
| 370 | 3 | |
| 351 | 6 | |
| 340 | 1 | |
| 338 | 4 | |
| 329 | 58 | |
| 323 | 3 | |
| 310 | 2 | |
| 302 | 9 | |
| 299 | 11 | |
| 287 | 12 | |
| 284 | 7 | |
| 284 | 6 | |
| 280 | 2 | |
| 278 | 3 | |
| 263 | 3 | |
| 263 | 2 | |
| 262 | 2 | |
| 245 | - |
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 |
|---|---|---|---|---|---|
| 154 | ~1k–3k | 105 | ~3 | ~50 | |
| 653 | ~3k–10k | 16 | ~30 | ~20 | |
| 383 | ~2k–7k | 15 | ~30 | ~10 | |
| 196 | ~1k–3k | 26 | ~15 | ~15 | |
| 467 | ~3k–7k | 9 | ~70 | ~7 | |
| 655 | ~3k–10k | 6 | ~100 | ~7 | |
| 949 | ~5k–15k | 4 | ~300 | ~3 | |
| 245 | ~1.5k–5k | 12 | ~20 | ~10 | |
| 245 | ~1.5k–5k | 12 | ~20 | ~10 | |
| 389 | ~2k–7k | 7 | ~100 | ~5 | |
| 263 | ~1.5k–5k | 10 | ~30 | ~10 | |
| 517 | ~3k–10k | 5 | ~100 | ~5 | |
| 2385 | ~15k–50k | 1 | ~700 | ~3 | |
| 2305 | ~15k–50k | 1 | ~700 | ~3 | |
| 329 | ~2k–5k | 7 | ~70 | ~5 | |
| 731 | ~5k–15k | 3 | ~300 | ~2 | |
| 1874 | ~10k–30k | 1 | ~500 | ~3 | |
| 580 | ~3k–10k | 3 | ~200 | ~2 | |
| 284 | ~1.5k–5k | 6 | ~70 | ~5 | |
| 1689 | ~10k–30k | 1 | ~700 | ~3 |
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 |
|---|---|---|
| 1689 | 115 | |
| 655 | 63 | |
| 329 | 58 | |
| 552 | 37 | |
| 2385 | 37 | |
| 2305 | 36 | |
| 1874 | 30 | |
| 949 | 25 | |
| 1370 | 23 | |
| 1449 | 17 | |
| 1080 | 17 | |
| 1400 | 16 | |
| 891 | 15 | |
| 852 | 14 | |
| 408 | 13 | |
| 287 | 12 | |
| 389 | 12 | |
| 517 | 12 | |
| 731 | 12 | |
| 402 | 11 | |
| 299 | 11 | |
| 633 | 11 | |
| 376 | 11 | |
| 467 | 10 | |
| 383 | 10 | |
| 302 | 9 | |
| 166 | 9 | |
| 98 | 8 | |
| 91 | 8 | |
| 580 | 8 | |
| 46 | 7 | |
| 284 | 7 | |
| 678 | 7 | |
| 148 | 7 | |
| 104 | 7 | |
| 96 | 6 | |
| 672 | 6 | |
| 393 | 6 | |
| 351 | 6 | |
| 94 | 6 | |
| 508 | 6 | |
| 70 | 6 | |
| 76 | 6 | |
| 284 | 6 | |
| 60 | 6 | |
| 13 | 5 | |
| 21 | 5 | |
| 477 | 5 | |
| 103 | 5 | |
| 167 | 5 |
Files With Long Lines (Top 50)
There are 67 files with lines longer than 120 characters. In total, there are 125 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 508 | 6 | 12 | |
| 1689 | 115 | 7 | |
| 2385 | 37 | 6 | |
| 2305 | 36 | 5 | |
| 1874 | 30 | 5 | |
| 1449 | 17 | 4 | |
| 1400 | 16 | 4 | |
| 1370 | 23 | 4 | |
| 949 | 25 | 4 | |
| 653 | 2 | 3 | |
| 672 | 6 | 3 | |
| 1080 | 17 | 3 | |
| 891 | 15 | 3 | |
| 408 | 3 | 3 | |
| 323 | 3 | 2 | |
| 678 | 7 | 2 | |
| 370 | 3 | 2 | |
| 370 | 3 | 2 | |
| 383 | 10 | 2 | |
| 376 | 11 | 2 | |
| 81 | - | 1 | |
| 137 | - | 1 | |
| 124 | 1 | 1 | |
| 278 | 3 | 1 | |
| 130 | 1 | 1 | |
| 156 | 1 | 1 | |
| 145 | 1 | 1 | |
| 189 | 1 | 1 | |
| 280 | 2 | 1 | |
| 477 | 5 | 1 | |
| 190 | 1 | 1 | |
| 123 | 1 | 1 | |
| 149 | 1 | 1 | |
| 148 | 1 | 1 | |
| 310 | 2 | 1 | |
| 131 | 1 | 1 | |
| 190 | 1 | 1 | |
| 221 | 2 | 1 | |
| 125 | 1 | 1 | |
| 192 | 1 | 1 | |
| 124 | 1 | 1 | |
| 124 | 1 | 1 | |
| 130 | 1 | 1 | |
| 154 | 1 | 1 | |
| 143 | 1 | 1 | |
| 156 | 1 | 1 | |
| 141 | 1 | 1 | |
| 262 | 2 | 1 | |
| 177 | 1 | 1 | |
| 154 | 1 | 1 |
Correlations
File Size vs. Commits (all time): 335 points
|
|
2385.0 | lines of code min: 1.0average: 146.94 25th percentile: 22.0 median: 54.0 75th percentile: 134.0 max: 2385.0 |
|
| 0 | 279.0 | ||
|
commits (all time) min: 1.0 | average: 5.73 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 6.0 | max: 279.0
|
|||
File Size vs. Contributors (all time): 335 points
|
|
2385.0 | lines of code min: 1.0average: 146.94 25th percentile: 22.0 median: 54.0 75th percentile: 134.0 max: 2385.0 |
|
| 0 | 13.0 | ||
|
contributors (all time) min: 1.0 | average: 2.34 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 13.0
|
|||
File Size vs. Commits (30 days): 91 points
|
|
949.0 | lines of code min: 4.0average: 154.66 25th percentile: 34.0 median: 73.0 75th percentile: 222.0 max: 949.0 |
|
| 0 | 63.0 | ||
|
commits (30d) min: 1.0 | average: 2.54 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 63.0
|
|||
File Size vs. Contributors (30 days): 91 points
|
|
949.0 | lines of code min: 4.0average: 154.66 25th percentile: 34.0 median: 73.0 75th percentile: 222.0 max: 949.0 |
|
| 0 | 5.0 | ||
|
contributors (30d) min: 1.0 | average: 1.2 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 5.0
|
|||
File Size vs. Commits (90 days): 249 points
|
|
2385.0 | lines of code min: 1.0average: 184.1 25th percentile: 30.5 median: 70.0 75th percentile: 189.0 max: 2385.0 |
|
| 0 | 89.0 | ||
|
commits (90d) min: 1.0 | average: 2.22 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 89.0
|
|||
File Size vs. Contributors (90 days): 249 points
|
|
2385.0 | lines of code min: 1.0average: 184.1 25th percentile: 30.5 median: 70.0 75th percentile: 189.0 max: 2385.0 |
|
| 0 | 7.0 | ||
|
contributors (90d) min: 1.0 | average: 1.27 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 7.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