File Size Overall
- There are 749 files with 78,400 lines of code.
- 6 very long files (14,528 lines of code)
- 13 long files (8,411 lines of code)
- 78 medium size files (23,935 lines of code)
- 96 small files (13,746 lines of code)
- 556 very small files (17,780 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 |
|---|---|---|
| 5454 | - | |
| 3219 | - | |
| 2109 | - | |
| 1289 | 5 | |
| 1279 | - | |
| 1178 | - | |
| 799 | 2 | |
| 798 | - | |
| 790 | 16 | |
| 762 | - | |
| 719 | 1 | |
| 640 | 6 | |
| 606 | - | |
| 595 | 2 | |
| 588 | 3 | |
| 547 | 18 | |
| 543 | 5 | |
| 517 | 26 | |
| 507 | 27 | |
| 500 | 9 | |
| 483 | 1 | |
| 468 | - | |
| 468 | - | |
| 466 | - | |
| 466 | - | |
| 459 | 18 | |
| 449 | 35 | |
| 425 | - | |
| 412 | 7 | |
| 409 | 12 | |
| 408 | - | |
| 399 | - | |
| 392 | - | |
| 386 | 11 | |
| 383 | 9 | |
| 380 | 14 | |
| 377 | 19 | |
| 376 | - | |
| 372 | - | |
| 369 | 5 | |
| 366 | 10 | |
| 365 | 30 | |
| 358 | - | |
| 350 | 3 | |
| 350 | 1 | |
| 346 | 12 | |
| 341 | - | |
| 321 | 24 | |
| 317 | 21 | |
| 315 | 8 |
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 |
|---|---|---|---|---|---|
| 640 | ~3k–10k | 50 | ~50 | ~15 | |
| 1289 | ~7k–20k | 20 | ~70 | ~15 | |
| 2109 | ~10k–30k | 11 | ~70 | ~30 | |
| 595 | ~3k–10k | 35 | ~50 | ~15 | |
| 790 | ~5k–15k | 15 | ~150 | ~5 | |
| 317 | ~2k–5k | 23 | ~15 | ~20 | |
| 543 | ~3k–10k | 11 | ~50 | ~15 | |
| 272 | ~1.5k–5k | 21 | ~20 | ~10 | |
| 483 | ~3k–7k | 11 | ~70 | ~7 | |
| 218 | ~1.5k–5k | 24 | ~70 | ~3 | |
| 254 | ~1.5k–5k | 20 | ~15 | ~20 | |
| 547 | ~3k–10k | 9 | ~30 | ~15 | |
| 199 | ~1k–3k | 24 | ~30 | ~5 | |
| 459 | ~3k–7k | 10 | ~30 | ~15 | |
| 303 | ~2k–5k | 14 | ~70 | ~3 | |
| 278 | ~1.5k–5k | 15 | ~20 | ~15 | |
| 121 | ~700–2k | 33 | ~15 | ~7 | |
| 346 | ~2k–5k | 11 | ~100 | ~3 | |
| 315 | ~2k–5k | 12 | ~20 | ~15 | |
| 209 | ~1k–3k | 18 | ~50 | ~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 |
|---|---|---|
| 449 | 35 | |
| 365 | 30 | |
| 507 | 27 | |
| 517 | 26 | |
| 295 | 24 | |
| 321 | 24 | |
| 164 | 22 | |
| 181 | 22 | |
| 317 | 21 | |
| 377 | 19 | |
| 459 | 18 | |
| 547 | 18 | |
| 251 | 18 | |
| 125 | 17 | |
| 198 | 17 | |
| 790 | 16 | |
| 211 | 16 | |
| 141 | 16 | |
| 285 | 15 | |
| 380 | 14 | |
| 165 | 14 | |
| 253 | 13 | |
| 85 | 13 | |
| 196 | 12 | |
| 346 | 12 | |
| 409 | 12 | |
| 303 | 12 | |
| 212 | 12 | |
| 119 | 12 | |
| 274 | 11 | |
| 261 | 11 | |
| 386 | 11 | |
| 97 | 11 | |
| 231 | 11 | |
| 108 | 10 | |
| 366 | 10 | |
| 59 | 10 | |
| 108 | 9 | |
| 383 | 9 | |
| 500 | 9 | |
| 165 | 9 | |
| 315 | 8 | |
| 226 | 8 | |
| 157 | 8 | |
| 256 | 8 | |
| 178 | 8 | |
| 161 | 8 | |
| 48 | 8 | |
| 132 | 7 | |
| 100 | 7 |
Files With Long Lines (Top 50)
There are 86 files with lines longer than 120 characters. In total, there are 533 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 3219 | - | 135 | |
| 5454 | - | 114 | |
| 1178 | - | 24 | |
| 798 | - | 22 | |
| 468 | - | 20 | |
| 218 | - | 17 | |
| 606 | - | 12 | |
| 232 | - | 12 | |
| 449 | 35 | 11 | |
| 49 | - | 10 | |
| 276 | - | 10 | |
| 377 | 19 | 7 | |
| 2109 | - | 6 | |
| 119 | 4 | 5 | |
| 295 | 24 | 5 | |
| 130 | - | 5 | |
| 341 | - | 5 | |
| 205 | - | 4 | |
| 58 | - | 4 | |
| 303 | 12 | 4 | |
| 253 | 13 | 4 | |
| 790 | 16 | 3 | |
| 315 | 8 | 3 | |
| 38 | - | 3 | |
| 1289 | 5 | 3 | |
| 33 | - | 3 | |
| 128 | - | 3 | |
| 408 | - | 3 | |
| 195 | - | 2 | |
| 157 | 6 | 2 | |
| 380 | 14 | 2 | |
| 412 | 7 | 2 | |
| 47 | - | 2 | |
| 81 | 7 | 2 | |
| 483 | 1 | 2 | |
| 115 | - | 2 | |
| 90 | - | 2 | |
| 500 | 9 | 2 | |
| 365 | 30 | 2 | |
| 35 | 2 | 2 | |
| 231 | 11 | 2 | |
| 372 | - | 2 | |
| 79 | - | 2 | |
| 165 | 9 | 2 | |
| 8 | - | 2 | |
| 3 | - | 2 | |
| 297 | 5 | 1 | |
| 165 | - | 1 | |
| 195 | - | 1 | |
| 466 | - | 1 |
Correlations
File Size vs. Commits (all time): 749 points
|
|
5454.0 | lines of code min: 1.0average: 104.67 25th percentile: 14.0 median: 39.0 75th percentile: 104.0 max: 5454.0 |
|
| 0 | 1821.0 | ||
|
commits (all time) min: 1.0 | average: 19.48 | 25th percentile: 6.0 | median: 10.0 | 75th percentile: 19.0 | max: 1821.0
|
|||
File Size vs. Contributors (all time): 749 points
|
|
5454.0 | lines of code min: 1.0average: 104.67 25th percentile: 14.0 median: 39.0 75th percentile: 104.0 max: 5454.0 |
|
| 0 | 73.0 | ||
|
contributors (all time) min: 1.0 | average: 5.79 | 25th percentile: 3.0 | median: 4.0 | 75th percentile: 7.0 | max: 73.0
|
|||
File Size vs. Commits (30 days): 89 points
|
|
1289.0 | lines of code min: 5.0average: 174.42 25th percentile: 48.5 median: 88.0 75th percentile: 217.5 max: 1289.0 |
|
| 0 | 14.0 | ||
|
commits (30d) min: 1.0 | average: 3.56 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 14.0
|
|||
File Size vs. Contributors (30 days): 89 points
|
|
1289.0 | lines of code min: 5.0average: 174.42 25th percentile: 48.5 median: 88.0 75th percentile: 217.5 max: 1289.0 |
|
| 0 | 3.0 | ||
|
contributors (30d) min: 1.0 | average: 1.45 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 3.0
|
|||
File Size vs. Commits (90 days): 123 points
|
|
1289.0 | lines of code min: 5.0average: 169.22 25th percentile: 49.0 median: 92.0 75th percentile: 218.0 max: 1289.0 |
|
| 0 | 35.0 | ||
|
commits (90d) min: 1.0 | average: 5.43 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 7.0 | max: 35.0
|
|||
File Size vs. Contributors (90 days): 123 points
|
|
1289.0 | lines of code min: 5.0average: 169.22 25th percentile: 49.0 median: 92.0 75th percentile: 218.0 max: 1289.0 |
|
| 0 | 6.0 | ||
|
contributors (90d) min: 1.0 | average: 2.06 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 6.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