File Size Overall
- There are 2,092 files with 153,170 lines of code.
- 4 very long files (5,519 lines of code)
- 36 long files (23,687 lines of code)
- 110 medium size files (33,518 lines of code)
- 237 small files (32,980 lines of code)
- 1,705 very small files (57,466 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 |
|---|---|---|
| 2169 | 26 | |
| 1275 | - | |
| 1038 | - | |
| 1037 | - | |
| 951 | 16 | |
| 935 | - | |
| 916 | - | |
| 895 | - | |
| 833 | - | |
| 809 | - | |
| 799 | 22 | |
| 790 | - | |
| 777 | 49 | |
| 737 | - | |
| 734 | 1 | |
| 692 | 51 | |
| 690 | - | |
| 678 | 26 | |
| 653 | - | |
| 645 | 11 | |
| 636 | - | |
| 635 | - | |
| 631 | - | |
| 625 | 45 | |
| 613 | - | |
| 590 | 24 | |
| 582 | 7 | |
| 579 | 29 | |
| 564 | 41 | |
| 537 | 25 | |
| 536 | - | |
| 527 | 28 | |
| 520 | - | |
| 518 | - | |
| 513 | - | |
| 513 | - | |
| 512 | 25 | |
| 511 | 18 | |
| 507 | - | |
| 504 | 41 | |
| 495 | - | |
| 487 | 23 | |
| 483 | 23 | |
| 465 | - | |
| 459 | - | |
| 458 | - | |
| 450 | 25 | |
| 446 | - | |
| 443 | - | |
| 442 | 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 |
|---|---|---|---|---|---|
| 2169 | ~15k–50k | 90 | ~30 | ~70 | |
| 833 | ~5k–15k | 68 | ~20 | ~50 | |
| 635 | ~3k–10k | 65 | ~15 | ~50 | |
| 678 | ~3k–10k | 56 | ~20 | ~30 | |
| 645 | ~3k–10k | 58 | ~20 | ~30 | |
| 951 | ~5k–15k | 39 | ~20 | ~50 | |
| 527 | ~3k–10k | 64 | ~15 | ~30 | |
| 114 | ~700–2k | 283 | ~5 | ~30 | |
| 412 | ~2k–7k | 73 | ~30 | ~15 | |
| 777 | ~5k–15k | 30 | ~20 | ~30 | |
| 302 | ~2k–5k | 75 | ~30 | ~10 | |
| 582 | ~3k–10k | 37 | ~7 | ~70 | |
| 579 | ~3k–10k | 30 | ~30 | ~20 | |
| 415 | ~2k–7k | 39 | ~15 | ~20 | |
| 483 | ~3k–7k | 19 | ~50 | ~10 | |
| 314 | ~2k–5k | 29 | ~70 | ~5 | |
| 284 | ~1.5k–5k | 31 | ~30 | ~10 | |
| 450 | ~3k–7k | 18 | ~20 | ~20 | |
| 799 | ~5k–15k | 10 | ~15 | ~50 | |
| 173 | ~1k–3k | 43 | ~20 | ~10 |
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 |
|---|---|---|
| 692 | 51 | |
| 777 | 49 | |
| 625 | 45 | |
| 504 | 41 | |
| 564 | 41 | |
| 579 | 29 | |
| 527 | 28 | |
| 2169 | 26 | |
| 678 | 26 | |
| 450 | 25 | |
| 302 | 25 | |
| 512 | 25 | |
| 537 | 25 | |
| 590 | 24 | |
| 483 | 23 | |
| 487 | 23 | |
| 799 | 22 | |
| 364 | 21 | |
| 248 | 20 | |
| 314 | 20 | |
| 247 | 19 | |
| 182 | 19 | |
| 511 | 18 | |
| 96 | 17 | |
| 364 | 17 | |
| 192 | 17 | |
| 951 | 16 | |
| 175 | 15 | |
| 185 | 15 | |
| 336 | 15 | |
| 139 | 14 | |
| 214 | 14 | |
| 415 | 14 | |
| 412 | 14 | |
| 360 | 14 | |
| 271 | 14 | |
| 156 | 14 | |
| 201 | 14 | |
| 186 | 13 | |
| 179 | 13 | |
| 26 | 13 | |
| 169 | 12 | |
| 111 | 12 | |
| 158 | 12 | |
| 152 | 12 | |
| 142 | 11 | |
| 162 | 11 | |
| 284 | 11 | |
| 133 | 11 | |
| 174 | 11 |
Files With Long Lines (Top 50)
There are 417 files with lines longer than 120 characters. In total, there are 1204 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 77 | - | 26 | |
| 47 | - | 18 | |
| 97 | - | 18 | |
| 164 | - | 17 | |
| 259 | - | 17 | |
| 121 | - | 16 | |
| 124 | - | 15 | |
| 224 | - | 14 | |
| 173 | - | 14 | |
| 38 | - | 13 | |
| 67 | - | 13 | |
| 51 | 5 | 13 | |
| 123 | - | 12 | |
| 62 | - | 11 | |
| 125 | - | 11 | |
| 147 | - | 10 | |
| 137 | - | 10 | |
| 148 | - | 10 | |
| 109 | - | 9 | |
| 116 | - | 9 | |
| 77 | - | 9 | |
| 62 | - | 9 | |
| 97 | - | 9 | |
| 122 | - | 9 | |
| 76 | - | 9 | |
| 258 | - | 8 | |
| 63 | - | 8 | |
| 143 | - | 8 | |
| 251 | - | 8 | |
| 123 | - | 8 | |
| 68 | - | 7 | |
| 88 | - | 7 | |
| 108 | - | 7 | |
| 45 | - | 7 | |
| 142 | - | 7 | |
| 72 | - | 7 | |
| 156 | - | 7 | |
| 80 | - | 6 | |
| 100 | - | 6 | |
| 75 | - | 6 | |
| 125 | - | 6 | |
| 56 | - | 6 | |
| 82 | - | 6 | |
| 146 | 1 | 6 | |
| 115 | 1 | 6 | |
| 179 | - | 6 | |
| 87 | - | 6 | |
| 38 | - | 5 | |
| 53 | - | 5 | |
| 30 | - | 5 |
Correlations
File Size vs. Commits (all time): 2092 points
|
|
2169.0 | lines of code min: 1.0average: 73.22 25th percentile: 16.0 median: 35.0 75th percentile: 79.0 max: 2169.0 |
|
| 0 | 3731.0 | ||
|
commits (all time) min: 1.0 | average: 116.93 | 25th percentile: 17.0 | median: 47.0 | 75th percentile: 125.0 | max: 3731.0
|
|||
File Size vs. Contributors (all time): 2092 points
|
|
2169.0 | lines of code min: 1.0average: 73.22 25th percentile: 16.0 median: 35.0 75th percentile: 79.0 max: 2169.0 |
|
| 0 | 212.0 | ||
|
contributors (all time) min: 1.0 | average: 27.58 | 25th percentile: 9.0 | median: 20.0 | 75th percentile: 39.0 | max: 212.0
|
|||
File Size vs. Commits (30 days): 94 points
|
|
2169.0 | lines of code min: 10.0average: 184.35 25th percentile: 44.75 median: 97.0 75th percentile: 176.5 max: 2169.0 |
|
| 0 | 27.0 | ||
|
commits (30d) min: 1.0 | average: 5.01 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 6.0 | max: 27.0
|
|||
File Size vs. Contributors (30 days): 94 points
|
|
2169.0 | lines of code min: 10.0average: 184.35 25th percentile: 44.75 median: 97.0 75th percentile: 176.5 max: 2169.0 |
|
| 0 | 10.0 | ||
|
contributors (30d) min: 1.0 | average: 2.7 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 10.0
|
|||
File Size vs. Commits (90 days): 277 points
|
|
2169.0 | lines of code min: 2.0average: 101.44 25th percentile: 14.0 median: 44.0 75th percentile: 113.5 max: 2169.0 |
|
| 0 | 56.0 | ||
|
commits (90d) min: 1.0 | average: 4.74 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 4.0 | max: 56.0
|
|||
File Size vs. Contributors (90 days): 277 points
|
|
2169.0 | lines of code min: 2.0average: 101.44 25th percentile: 14.0 median: 44.0 75th percentile: 113.5 max: 2169.0 |
|
| 0 | 16.0 | ||
|
contributors (90d) min: 1.0 | average: 2.45 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 16.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