File Size Overall
- There are 1,300 files with 242,530 lines of code.
- 32 very long files (52,296 lines of code)
- 69 long files (45,734 lines of code)
- 239 medium size files (73,151 lines of code)
- 283 small files (40,344 lines of code)
- 677 very small files (31,005 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 |
|---|---|---|
| 3621 | 29 | |
| 3544 | 4 | |
| 3474 | 54 | |
| 2544 | 4 | |
| 2220 | 31 | |
| 1991 | 12 | |
| 1899 | 32 | |
| 1867 | 57 | |
| 1782 | 13 | |
| 1668 | 6 | |
| 1659 | 28 | |
| 1602 | 4 | |
| 1466 | 26 | |
| 1429 | 39 | |
| 1427 | 47 | |
| 1406 | 47 | |
| 1353 | 27 | |
| 1273 | 38 | |
| 1271 | 9 | |
| 1256 | 25 | |
| 1240 | 32 | |
| 1226 | 2 | |
| 1212 | 41 | |
| 1152 | 13 | |
| 1145 | 5 | |
| 1132 | 33 | |
| 1119 | 28 | |
| 1098 | 27 | |
| 1092 | 19 | |
| 1069 | 37 | |
| 1034 | 12 | |
| 1025 | - | |
| 978 | - | |
| 958 | 13 | |
| 944 | 30 | |
| 933 | 52 | |
| 933 | 6 | |
| 909 | 17 | |
| 883 | 10 | |
| 879 | 46 | |
| 872 | 21 | |
| 868 | 24 | |
| 848 | - | |
| 848 | 20 | |
| 815 | 17 | |
| 811 | 23 | |
| 799 | 18 | |
| 784 | 25 | |
| 736 | 18 | |
| 725 | 7 |
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 |
|---|---|---|---|---|---|
| 3474 | ~20k–50k | 365 | ~15 | ~200 | |
| 3544 | ~20k–50k | 229 | ~20 | ~200 | |
| 2544 | ~15k–50k | 212 | ~30 | ~100 | |
| 1034 | ~7k–15k | 198 | ~15 | ~70 | |
| 1991 | ~10k–30k | 91 | ~30 | ~70 | |
| 3621 | ~20k–70k | 46 | ~150 | ~30 | |
| 1668 | ~10k–30k | 90 | ~30 | ~50 | |
| 1466 | ~10k–30k | 84 | ~30 | ~50 | |
| 958 | ~5k–15k | 122 | ~15 | ~50 | |
| 1867 | ~10k–30k | 62 | ~50 | ~30 | |
| 2220 | ~15k–50k | 50 | ~30 | ~70 | |
| 1659 | ~10k–30k | 66 | ~70 | ~30 | |
| 1098 | ~7k–20k | 93 | ~20 | ~50 | |
| 1899 | ~10k–30k | 52 | ~30 | ~70 | |
| 1092 | ~7k–20k | 77 | ~30 | ~30 | |
| 1132 | ~7k–20k | 71 | ~20 | ~50 | |
| 1273 | ~7k–20k | 62 | ~30 | ~30 | |
| 1256 | ~7k–20k | 62 | ~50 | ~30 | |
| 799 | ~5k–15k | 84 | ~20 | ~50 | |
| 1240 | ~7k–20k | 47 | ~50 | ~20 |
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 |
|---|---|---|
| 1867 | 57 | |
| 3474 | 54 | |
| 933 | 52 | |
| 1427 | 47 | |
| 1406 | 47 | |
| 879 | 46 | |
| 613 | 45 | |
| 1212 | 41 | |
| 655 | 40 | |
| 1429 | 39 | |
| 1273 | 38 | |
| 1069 | 37 | |
| 670 | 35 | |
| 653 | 34 | |
| 1132 | 33 | |
| 1240 | 32 | |
| 365 | 32 | |
| 531 | 32 | |
| 1899 | 32 | |
| 2220 | 31 | |
| 310 | 31 | |
| 621 | 30 | |
| 944 | 30 | |
| 3621 | 29 | |
| 595 | 28 | |
| 1659 | 28 | |
| 1119 | 28 | |
| 1098 | 27 | |
| 1353 | 27 | |
| 1466 | 26 | |
| 581 | 25 | |
| 784 | 25 | |
| 1256 | 25 | |
| 238 | 24 | |
| 250 | 24 | |
| 527 | 24 | |
| 868 | 24 | |
| 811 | 23 | |
| 441 | 23 | |
| 353 | 22 | |
| 872 | 21 | |
| 511 | 21 | |
| 640 | 21 | |
| 542 | 21 | |
| 532 | 20 | |
| 848 | 20 | |
| 654 | 19 | |
| 1092 | 19 | |
| 527 | 19 | |
| 279 | 19 |
Files With Long Lines (Top 50)
There are 287 files with lines longer than 120 characters. In total, there are 1115 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 653 | 34 | 126 | |
| 707 | - | 66 | |
| 694 | 1 | 62 | |
| 438 | 6 | 25 | |
| 3544 | 4 | 25 | |
| 168 | 1 | 21 | |
| 203 | 9 | 16 | |
| 140 | 1 | 16 | |
| 203 | 2 | 15 | |
| 532 | 2 | 14 | |
| 469 | 8 | 13 | |
| 195 | 1 | 12 | |
| 1212 | 41 | 12 | |
| 37 | - | 11 | |
| 1273 | 38 | 11 | |
| 19 | - | 9 | |
| 588 | 14 | 9 | |
| 38 | 1 | 9 | |
| 2220 | 31 | 9 | |
| 1152 | 13 | 9 | |
| 316 | 8 | 9 | |
| 22 | - | 8 | |
| 84 | - | 8 | |
| 269 | 11 | 8 | |
| 319 | 1 | 8 | |
| 1867 | 57 | 8 | |
| 177 | - | 8 | |
| 883 | 10 | 8 | |
| 848 | 20 | 8 | |
| 536 | 8 | 7 | |
| 358 | 12 | 7 | |
| 1256 | 25 | 7 | |
| 157 | 3 | 7 | |
| 132 | 10 | 7 | |
| 933 | 6 | 7 | |
| 1991 | 12 | 7 | |
| 1034 | 12 | 7 | |
| 620 | 18 | 7 | |
| 417 | - | 7 | |
| 17 | - | 6 | |
| 448 | 2 | 6 | |
| 1240 | 32 | 6 | |
| 318 | 9 | 6 | |
| 103 | 1 | 6 | |
| 182 | 1 | 6 | |
| 606 | 3 | 6 | |
| 176 | 2 | 6 | |
| 444 | 11 | 5 | |
| 302 | 10 | 5 | |
| 138 | 6 | 5 |
Correlations
File Size vs. Commits (all time): 1300 points
|
|
3621.0 | lines of code min: 1.0average: 186.56 25th percentile: 41.0 median: 94.0 75th percentile: 206.0 max: 3621.0 |
|
| 0 | 534.0 | ||
|
commits (all time) min: 1.0 | average: 12.45 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 11.0 | max: 534.0
|
|||
File Size vs. Contributors (all time): 1300 points
|
|
3621.0 | lines of code min: 1.0average: 186.56 25th percentile: 41.0 median: 94.0 75th percentile: 206.0 max: 3621.0 |
|
| 0 | 120.0 | ||
|
contributors (all time) min: 1.0 | average: 6.59 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 7.0 | max: 120.0
|
|||
File Size vs. Commits (30 days): 151 points
|
|
3544.0 | lines of code min: 19.0average: 445.88 25th percentile: 129.0 median: 261.0 75th percentile: 542.0 max: 3544.0 |
|
| 0 | 6.0 | ||
|
commits (30d) min: 1.0 | average: 1.29 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 6.0
|
|||
File Size vs. Contributors (30 days): 151 points
|
|
3544.0 | lines of code min: 19.0average: 445.88 25th percentile: 129.0 median: 261.0 75th percentile: 542.0 max: 3544.0 |
|
| 0 | 4.0 | ||
|
contributors (30d) min: 1.0 | average: 1.26 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 4.0
|
|||
File Size vs. Commits (90 days): 268 points
|
|
3544.0 | lines of code min: 1.0average: 361.67 25th percentile: 93.0 median: 202.5 75th percentile: 443.25 max: 3544.0 |
|
| 0 | 9.0 | ||
|
commits (90d) min: 1.0 | average: 1.48 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 9.0
|
|||
File Size vs. Contributors (90 days): 268 points
|
|
3544.0 | lines of code min: 1.0average: 361.67 25th percentile: 93.0 median: 202.5 75th percentile: 443.25 max: 3544.0 |
|
| 0 | 6.0 | ||
|
contributors (90d) min: 1.0 | average: 1.32 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.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