File Size Overall
- There are 769 files with 183,419 lines of code.
- 12 very long files (21,098 lines of code)
- 55 long files (34,966 lines of code)
- 263 medium size files (81,906 lines of code)
- 231 small files (33,309 lines of code)
- 208 very small files (12,140 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 |
|---|---|---|
| 3474 | - | |
| 3387 | - | |
| 2788 | - | |
| 1737 | - | |
| 1451 | - | |
| 1381 | - | |
| 1351 | - | |
| 1276 | - | |
| 1144 | - | |
| 1062 | - | |
| 1035 | - | |
| 1012 | - | |
| 982 | - | |
| 974 | - | |
| 946 | - | |
| 909 | - | |
| 908 | - | |
| 851 | - | |
| 830 | - | |
| 768 | - | |
| 763 | - | |
| 746 | - | |
| 740 | - | |
| 714 | - | |
| 704 | - | |
| 669 | - | |
| 662 | - | |
| 650 | - | |
| 642 | - | |
| 641 | - | |
| 641 | - | |
| 640 | - | |
| 633 | - | |
| 620 | - | |
| 615 | - | |
| 615 | - | |
| 613 | - | |
| 608 | - | |
| 605 | - | |
| 604 | - | |
| 601 | - | |
| 597 | - | |
| 581 | - | |
| 580 | - | |
| 580 | - | |
| 577 | - | |
| 574 | - | |
| 565 | - | |
| 565 | - | |
| 556 | - |
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 |
|---|---|---|---|---|---|
| 3387 | ~20k–50k | 2 | ~3,000 | ~1 | |
| 2788 | ~15k–50k | 2 | ~3,000 | ~1 | |
| 3474 | ~20k–50k | 1 | ~5,000 | ~1 | |
| 1737 | ~10k–30k | 2 | ~2,000 | ~1 | |
| 1451 | ~10k–30k | 2 | ~1,500 | ~1 | |
| 1381 | ~7k–20k | 2 | ~1,500 | ~1 | |
| 1351 | ~7k–20k | 2 | ~1,500 | ~1 | |
| 1276 | ~7k–20k | 2 | ~1,500 | ~1 | |
| 1144 | ~7k–20k | 2 | ~1,000 | ~1 | |
| 1062 | ~7k–15k | 2 | ~1,000 | ~1 | |
| 1035 | ~7k–15k | 2 | ~1,000 | ~1 | |
| 1012 | ~7k–15k | 2 | ~1,000 | ~1 | |
| 982 | ~5k–15k | 2 | ~1,000 | ~1 | |
| 974 | ~5k–15k | 2 | ~1,000 | ~1 | |
| 946 | ~5k–15k | 2 | ~1,000 | ~1 | |
| 909 | ~5k–15k | 2 | ~1,000 | ~1 | |
| 908 | ~5k–15k | 2 | ~1,000 | ~1 | |
| 851 | ~5k–15k | 2 | ~1,000 | ~1 | |
| 830 | ~5k–15k | 2 | ~1,000 | ~1 | |
| 768 | ~5k–15k | 2 | ~700 | ~1 |
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 3)
| File | # lines | # units |
|---|---|---|
| 383 | 13 | |
| 141 | 5 | |
| 157 | 4 |
Files With Long Lines (Top 50)
There are 70 files with lines longer than 120 characters. In total, there are 273 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 286 | - | 25 | |
| 3387 | - | 20 | |
| 141 | 5 | 20 | |
| 459 | - | 18 | |
| 516 | - | 13 | |
| 383 | 13 | 13 | |
| 400 | - | 9 | |
| 386 | - | 8 | |
| 946 | - | 8 | |
| 1062 | - | 8 | |
| 287 | - | 7 | |
| 205 | - | 7 | |
| 193 | - | 6 | |
| 430 | - | 6 | |
| 103 | - | 6 | |
| 104 | - | 6 | |
| 2788 | - | 6 | |
| 381 | - | 5 | |
| 206 | - | 5 | |
| 150 | - | 5 | |
| 426 | - | 4 | |
| 296 | - | 4 | |
| 274 | - | 3 | |
| 179 | - | 3 | |
| 64 | - | 3 | |
| 263 | - | 2 | |
| 650 | - | 2 | |
| 522 | - | 2 | |
| 128 | - | 2 | |
| 46 | - | 2 | |
| 266 | - | 2 | |
| 322 | - | 2 | |
| 61 | - | 2 | |
| 80 | - | 2 | |
| 29 | - | 2 | |
| 228 | - | 1 | |
| 157 | 4 | 1 | |
| 251 | - | 1 | |
| 130 | - | 1 | |
| 402 | - | 1 | |
| 195 | - | 1 | |
| 123 | - | 1 | |
| 120 | - | 1 | |
| 323 | - | 1 | |
| 340 | - | 1 | |
| 337 | - | 1 | |
| 43 | - | 1 | |
| 181 | - | 1 | |
| 505 | - | 1 | |
| 314 | - | 1 |
Correlations
File Size vs. Commits (all time): 769 points
|
|
3474.0 | lines of code min: 6.0average: 238.52 25th percentile: 94.0 median: 170.0 75th percentile: 306.5 max: 3474.0 |
|
| 0 | 5.0 | ||
|
commits (all time) min: 1.0 | average: 1.45 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 5.0
|
|||
File Size vs. Contributors (all time): 769 points
|
|
3474.0 | lines of code min: 6.0average: 238.52 25th percentile: 94.0 median: 170.0 75th percentile: 306.5 max: 3474.0 |
|
| 0 | 2.0 | ||
|
contributors (all time) min: 1.0 | average: 1.03 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Commits (30 days): 438 points
|
|
3474.0 | lines of code min: 8.0average: 203.16 25th percentile: 91.0 median: 150.5 75th percentile: 271.25 max: 3474.0 |
|
| 0 | 1.0 | ||
|
commits (30d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Contributors (30 days): 438 points
|
|
3474.0 | lines of code min: 8.0average: 203.16 25th percentile: 91.0 median: 150.5 75th percentile: 271.25 max: 3474.0 |
|
| 0 | 1.0 | ||
|
contributors (30d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Commits (90 days): 769 points
|
|
3474.0 | lines of code min: 6.0average: 238.52 25th percentile: 94.0 median: 170.0 75th percentile: 306.5 max: 3474.0 |
|
| 0 | 5.0 | ||
|
commits (90d) min: 1.0 | average: 1.45 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 5.0
|
|||
File Size vs. Contributors (90 days): 769 points
|
|
3474.0 | lines of code min: 6.0average: 238.52 25th percentile: 94.0 median: 170.0 75th percentile: 306.5 max: 3474.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.03 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.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