File Size Overall
- There are 466 files with 81,725 lines of code.
- 17 very long files (35,891 lines of code)
- 15 long files (11,087 lines of code)
- 46 medium size files (15,254 lines of code)
- 56 small files (8,095 lines of code)
- 332 very small files (11,398 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 |
|---|---|---|
| 5507 | - | |
| 3358 | 16 | |
| 3358 | 14 | |
| 2722 | - | |
| 2677 | 82 | |
| 2656 | 22 | |
| 2329 | - | |
| 1975 | - | |
| 1722 | - | |
| 1416 | 105 | |
| 1356 | 54 | |
| 1283 | 4 | |
| 1177 | 44 | |
| 1167 | 5 | |
| 1075 | 40 | |
| 1074 | 13 | |
| 1039 | 95 | |
| 971 | 27 | |
| 962 | 19 | |
| 823 | 32 | |
| 810 | 4 | |
| 763 | 23 | |
| 756 | 29 | |
| 754 | - | |
| 716 | 81 | |
| 700 | 12 | |
| 682 | 26 | |
| 682 | 8 | |
| 675 | 60 | |
| 618 | 13 | |
| 611 | 20 | |
| 564 | 31 | |
| 480 | 24 | |
| 471 | - | |
| 466 | 11 | |
| 460 | 63 | |
| 457 | 7 | |
| 433 | 13 | |
| 430 | - | |
| 414 | - | |
| 411 | 12 | |
| 411 | 3 | |
| 409 | 4 | |
| 403 | 4 | |
| 401 | 24 | |
| 395 | 6 | |
| 375 | 18 | |
| 364 | 16 | |
| 358 | 12 | |
| 345 | 45 |
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 |
|---|---|---|---|---|---|
| 3358 | ~20k–50k | 8 | ~500 | ~7 | |
| 3358 | ~20k–50k | 7 | ~700 | ~5 | |
| 2656 | ~15k–50k | 8 | ~150 | ~15 | |
| 1177 | ~7k–20k | 16 | ~50 | ~20 | |
| 1075 | ~7k–20k | 11 | ~70 | ~15 | |
| 1356 | ~7k–20k | 8 | ~200 | ~7 | |
| 1039 | ~7k–15k | 8 | ~70 | ~15 | |
| 756 | ~5k–15k | 8 | ~70 | ~10 | |
| 564 | ~3k–10k | 9 | ~70 | ~7 | |
| 763 | ~5k–15k | 5 | ~150 | ~5 | |
| 403 | ~2k–7k | 9 | ~20 | ~20 | |
| 682 | ~3k–10k | 5 | ~30 | ~20 | |
| 1074 | ~7k–20k | 3 | ~150 | ~7 | |
| 395 | ~2k–7k | 8 | ~50 | ~7 | |
| 1416 | ~7k–20k | 2 | ~150 | ~10 | |
| 700 | ~3k–10k | 4 | ~100 | ~7 | |
| 611 | ~3k–10k | 4 | ~70 | ~10 | |
| 358 | ~2k–7k | 6 | ~50 | ~7 | |
| 682 | ~3k–10k | 3 | ~200 | ~3 | |
| 675 | ~3k–10k | 3 | ~70 | ~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 |
|---|---|---|
| 1416 | 105 | |
| 1039 | 95 | |
| 2677 | 82 | |
| 716 | 81 | |
| 460 | 63 | |
| 675 | 60 | |
| 1356 | 54 | |
| 345 | 45 | |
| 1177 | 44 | |
| 1075 | 40 | |
| 335 | 32 | |
| 823 | 32 | |
| 564 | 31 | |
| 160 | 29 | |
| 756 | 29 | |
| 971 | 27 | |
| 682 | 26 | |
| 211 | 25 | |
| 401 | 24 | |
| 480 | 24 | |
| 763 | 23 | |
| 2656 | 22 | |
| 611 | 20 | |
| 307 | 19 | |
| 962 | 19 | |
| 152 | 18 | |
| 375 | 18 | |
| 304 | 18 | |
| 302 | 16 | |
| 364 | 16 | |
| 3358 | 16 | |
| 3358 | 14 | |
| 95 | 13 | |
| 158 | 13 | |
| 618 | 13 | |
| 187 | 13 | |
| 433 | 13 | |
| 1074 | 13 | |
| 77 | 12 | |
| 123 | 12 | |
| 411 | 12 | |
| 700 | 12 | |
| 358 | 12 | |
| 57 | 11 | |
| 61 | 11 | |
| 97 | 11 | |
| 466 | 11 | |
| 94 | 10 | |
| 219 | 10 | |
| 216 | 10 |
Files With Long Lines (Top 50)
There are 84 files with lines longer than 120 characters. In total, there are 1713 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 682 | 8 | 518 | |
| 3358 | 16 | 247 | |
| 3358 | 14 | 209 | |
| 1283 | 4 | 93 | |
| 113 | - | 77 | |
| 82 | - | 50 | |
| 810 | 4 | 41 | |
| 1177 | 44 | 38 | |
| 1167 | 5 | 36 | |
| 763 | 23 | 34 | |
| 63 | - | 29 | |
| 174 | 7 | 28 | |
| 675 | 60 | 22 | |
| 971 | 27 | 21 | |
| 275 | - | 17 | |
| 358 | 12 | 17 | |
| 1074 | 13 | 14 | |
| 59 | - | 13 | |
| 1416 | 105 | 10 | |
| 962 | 19 | 10 | |
| 756 | 29 | 8 | |
| 457 | 7 | 8 | |
| 219 | 10 | 7 | |
| 1722 | - | 7 | |
| 55 | - | 7 | |
| 66 | 3 | 7 | |
| 258 | 1 | 7 | |
| 564 | 31 | 7 | |
| 260 | 9 | 6 | |
| 2656 | 22 | 6 | |
| 302 | 16 | 5 | |
| 335 | 32 | 5 | |
| 1356 | 54 | 5 | |
| 16 | - | 5 | |
| 8 | - | 4 | |
| 307 | 19 | 4 | |
| 375 | 18 | 4 | |
| 85 | 2 | 4 | |
| 108 | - | 4 | |
| 8 | - | 4 | |
| 409 | 4 | 4 | |
| 2677 | 82 | 4 | |
| 15 | - | 4 | |
| 55 | 7 | 3 | |
| 131 | 3 | 3 | |
| 79 | 3 | 3 | |
| 15 | - | 3 | |
| 164 | 4 | 3 | |
| 328 | 3 | 3 | |
| 345 | 45 | 2 |
Correlations
File Size vs. Commits (all time): 466 points
|
|
5507.0 | lines of code min: 1.0average: 175.38 25th percentile: 15.0 median: 46.5 75th percentile: 125.25 max: 5507.0 |
|
| 0 | 76.0 | ||
|
commits (all time) min: 1.0 | average: 5.65 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 6.0 | max: 76.0
|
|||
File Size vs. Contributors (all time): 466 points
|
|
5507.0 | lines of code min: 1.0average: 175.38 25th percentile: 15.0 median: 46.5 75th percentile: 125.25 max: 5507.0 |
|
| 0 | 13.0 | ||
|
contributors (all time) min: 1.0 | average: 2.63 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 13.0
|
|||
File Size vs. Commits (30 days): 36 points
|
|
3358.0 | lines of code min: 7.0average: 627.42 25th percentile: 53.5 median: 399.0 75th percentile: 747.25 max: 3358.0 |
|
| 0 | 5.0 | ||
|
commits (30d) min: 1.0 | average: 2.0 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 5.0
|
|||
File Size vs. Contributors (30 days): 36 points
|
|
3358.0 | lines of code min: 7.0average: 627.42 25th percentile: 53.5 median: 399.0 75th percentile: 747.25 max: 3358.0 |
|
| 0 | 4.0 | ||
|
contributors (30d) min: 1.0 | average: 1.72 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 4.0
|
|||
File Size vs. Commits (90 days): 45 points
|
|
3358.0 | lines of code min: 7.0average: 591.09 25th percentile: 54.0 median: 358.0 75th percentile: 731.5 max: 3358.0 |
|
| 0 | 5.0 | ||
|
commits (90d) min: 1.0 | average: 1.91 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 5.0
|
|||
File Size vs. Contributors (90 days): 45 points
|
|
3358.0 | lines of code min: 7.0average: 591.09 25th percentile: 54.0 median: 358.0 75th percentile: 731.5 max: 3358.0 |
|
| 0 | 4.0 | ||
|
contributors (90d) min: 1.0 | average: 1.67 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 4.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