File Size Overall
- There are 1,945 files with 111,115 lines of code.
- 11 very long files (19,563 lines of code)
- 24 long files (16,481 lines of code)
- 93 medium size files (31,426 lines of code)
- 107 small files (14,884 lines of code)
- 1,710 very small files (28,761 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 |
|---|---|---|
| 3272 | 80 | |
| 2836 | 92 | |
| 2321 | 42 | |
| 1883 | 48 | |
| 1822 | 103 | |
| 1742 | 197 | |
| 1284 | 29 | |
| 1154 | 19 | |
| 1109 | 85 | |
| 1075 | 86 | |
| 1065 | 35 | |
| 977 | 21 | |
| 962 | 67 | |
| 961 | 65 | |
| 949 | 25 | |
| 810 | 23 | |
| 788 | 26 | |
| 758 | 55 | |
| 756 | 17 | |
| 710 | 26 | |
| 698 | 86 | |
| 654 | 20 | |
| 628 | 30 | |
| 615 | 53 | |
| 610 | 14 | |
| 609 | - | |
| 594 | - | |
| 593 | 47 | |
| 578 | 35 | |
| 557 | 28 | |
| 550 | 29 | |
| 549 | 16 | |
| 539 | 23 | |
| 518 | 32 | |
| 518 | 13 | |
| 496 | 18 | |
| 493 | 35 | |
| 480 | - | |
| 478 | 14 | |
| 475 | 2 | |
| 472 | 45 | |
| 470 | 16 | |
| 466 | - | |
| 465 | 14 | |
| 464 | - | |
| 455 | 20 | |
| 449 | 10 | |
| 446 | 16 | |
| 437 | 14 | |
| 435 | 14 |
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 |
|---|---|---|---|---|---|
| 2836 | ~15k–50k | 70 | ~100 | ~30 | |
| 3272 | ~20k–50k | 35 | ~200 | ~15 | |
| 1742 | ~10k–30k | 28 | ~70 | ~30 | |
| 1284 | ~7k–20k | 31 | ~100 | ~10 | |
| 1822 | ~10k–30k | 21 | ~50 | ~30 | |
| 1883 | ~10k–30k | 14 | ~100 | ~20 | |
| 1109 | ~7k–20k | 22 | ~70 | ~15 | |
| 756 | ~5k–15k | 22 | ~100 | ~7 | |
| 977 | ~5k–15k | 15 | ~100 | ~7 | |
| 710 | ~3k–10k | 17 | ~30 | ~20 | |
| 1065 | ~7k–15k | 9 | ~70 | ~15 | |
| 1075 | ~7k–20k | 8 | ~200 | ~5 | |
| 1154 | ~7k–20k | 7 | ~300 | ~3 | |
| 378 | ~2k–7k | 21 | ~15 | ~30 | |
| 610 | ~3k–10k | 13 | ~50 | ~10 | |
| 518 | ~3k–10k | 15 | ~70 | ~7 | |
| 962 | ~5k–15k | 8 | ~200 | ~5 | |
| 961 | ~5k–15k | 8 | ~200 | ~5 | |
| 446 | ~3k–7k | 17 | ~50 | ~10 | |
| 758 | ~5k–15k | 10 | ~150 | ~5 |
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 |
|---|---|---|
| 1742 | 197 | |
| 1822 | 103 | |
| 2836 | 92 | |
| 368 | 86 | |
| 698 | 86 | |
| 1075 | 86 | |
| 1109 | 85 | |
| 3272 | 80 | |
| 962 | 67 | |
| 961 | 65 | |
| 758 | 55 | |
| 615 | 53 | |
| 1883 | 48 | |
| 593 | 47 | |
| 472 | 45 | |
| 2321 | 42 | |
| 177 | 42 | |
| 270 | 36 | |
| 578 | 35 | |
| 1065 | 35 | |
| 493 | 35 | |
| 322 | 34 | |
| 378 | 34 | |
| 518 | 32 | |
| 134 | 32 | |
| 628 | 30 | |
| 1284 | 29 | |
| 348 | 29 | |
| 550 | 29 | |
| 557 | 28 | |
| 223 | 28 | |
| 108 | 26 | |
| 394 | 26 | |
| 417 | 26 | |
| 788 | 26 | |
| 710 | 26 | |
| 162 | 26 | |
| 949 | 25 | |
| 156 | 25 | |
| 278 | 24 | |
| 280 | 24 | |
| 421 | 23 | |
| 242 | 23 | |
| 539 | 23 | |
| 810 | 23 | |
| 242 | 22 | |
| 147 | 21 | |
| 977 | 21 | |
| 100 | 20 | |
| 82 | 20 |
Files With Long Lines (Top 24)
There are 24 files with lines longer than 120 characters. In total, there are 69 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 106 | - | 12 | |
| 392 | 14 | 8 | |
| 710 | 26 | 7 | |
| 126 | - | 6 | |
| 322 | 34 | 6 | |
| 949 | 25 | 4 | |
| 472 | 45 | 4 | |
| 1742 | 197 | 4 | |
| 376 | 11 | 2 | |
| 593 | 47 | 2 | |
| 60 | 6 | 1 | |
| 20 | - | 1 | |
| 64 | - | 1 | |
| 7 | - | 1 | |
| 32 | 2 | 1 | |
| 259 | 11 | 1 | |
| 246 | - | 1 | |
| 1822 | 103 | 1 | |
| 1065 | 35 | 1 | |
| 1284 | 29 | 1 | |
| 378 | 34 | 1 | |
| 105 | 10 | 1 | |
| 189 | 18 | 1 | |
| 280 | 24 | 1 |
Correlations
File Size vs. Commits (all time): 1945 points
|
|
3272.0 | lines of code min: 1.0average: 57.13 25th percentile: 8.0 median: 12.0 75th percentile: 27.0 max: 3272.0 |
|
| 0 | 382.0 | ||
|
commits (all time) min: 1.0 | average: 4.96 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 5.0 | max: 382.0
|
|||
File Size vs. Contributors (all time): 1945 points
|
|
3272.0 | lines of code min: 1.0average: 57.13 25th percentile: 8.0 median: 12.0 75th percentile: 27.0 max: 3272.0 |
|
| 0 | 17.0 | ||
|
contributors (all time) min: 1.0 | average: 2.35 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 17.0
|
|||
File Size vs. Commits (30 days): 775 points
|
|
3272.0 | lines of code min: 1.0average: 101.18 25th percentile: 10.0 median: 19.0 75th percentile: 86.0 max: 3272.0 |
|
| 0 | 56.0 | ||
|
commits (30d) min: 1.0 | average: 1.71 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 56.0
|
|||
File Size vs. Contributors (30 days): 775 points
|
|
3272.0 | lines of code min: 1.0average: 101.18 25th percentile: 10.0 median: 19.0 75th percentile: 86.0 max: 3272.0 |
|
| 0 | 6.0 | ||
|
contributors (30d) min: 1.0 | average: 1.39 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 6.0
|
|||
File Size vs. Commits (90 days): 1916 points
|
|
3272.0 | lines of code min: 1.0average: 57.4 25th percentile: 8.0 median: 12.0 75th percentile: 27.0 max: 3272.0 |
|
| 0 | 83.0 | ||
|
commits (90d) min: 1.0 | average: 1.99 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 83.0
|
|||
File Size vs. Contributors (90 days): 1916 points
|
|
3272.0 | lines of code min: 1.0average: 57.4 25th percentile: 8.0 median: 12.0 75th percentile: 27.0 max: 3272.0 |
|
| 0 | 8.0 | ||
|
contributors (90d) min: 1.0 | average: 1.44 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 8.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