File Size Overall
- There are 480 files with 86,890 lines of code.
- 11 very long files (17,700 lines of code)
- 35 long files (24,701 lines of code)
- 68 medium size files (23,018 lines of code)
- 79 small files (10,659 lines of code)
- 287 very small files (10,812 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 |
|---|---|---|
| 3836 | 225 | |
| 1935 | 183 | |
| 1931 | 69 | |
| 1581 | 164 | |
| 1505 | 186 | |
| 1334 | 29 | |
| 1166 | 25 | |
| 1142 | 138 | |
| 1126 | 106 | |
| 1086 | 31 | |
| 1058 | 56 | |
| 967 | 59 | |
| 953 | 60 | |
| 953 | 49 | |
| 939 | 50 | |
| 888 | 30 | |
| 888 | 62 | |
| 878 | 72 | |
| 878 | 21 | |
| 851 | 28 | |
| 793 | 10 | |
| 781 | 55 | |
| 770 | 34 | |
| 747 | 31 | |
| 741 | 13 | |
| 723 | 37 | |
| 716 | 36 | |
| 698 | 51 | |
| 685 | - | |
| 684 | 53 | |
| 676 | 7 | |
| 662 | 56 | |
| 653 | 55 | |
| 628 | 51 | |
| 621 | 18 | |
| 609 | 16 | |
| 556 | 31 | |
| 547 | 66 | |
| 547 | 56 | |
| 530 | 100 | |
| 530 | 100 | |
| 530 | 100 | |
| 527 | 41 | |
| 527 | 17 | |
| 521 | 51 | |
| 504 | 9 | |
| 498 | 28 | |
| 493 | 35 | |
| 482 | 19 | |
| 478 | 26 |
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 |
|---|---|---|---|---|---|
| 3836 | ~20k–70k | 18 | ~50 | ~70 | |
| 1931 | ~10k–30k | 6 | ~50 | ~30 | |
| 1166 | ~7k–20k | 9 | ~30 | ~30 | |
| 684 | ~3k–10k | 11 | ~30 | ~20 | |
| 1058 | ~7k–15k | 6 | ~100 | ~10 | |
| 427 | ~2k–7k | 14 | ~15 | ~30 | |
| 1142 | ~7k–20k | 5 | ~50 | ~20 | |
| 793 | ~5k–15k | 6 | ~20 | ~30 | |
| 1086 | ~7k–20k | 4 | ~70 | ~15 | |
| 609 | ~3k–10k | 6 | ~30 | ~20 | |
| 967 | ~5k–15k | 3 | ~50 | ~20 | |
| 723 | ~5k–15k | 4 | ~30 | ~20 | |
| 676 | ~3k–10k | 4 | ~30 | ~30 | |
| 1334 | ~7k–20k | 2 | ~150 | ~10 | |
| 527 | ~3k–10k | 5 | ~30 | ~15 | |
| 322 | ~2k–5k | 8 | ~20 | ~15 | |
| 556 | ~3k–10k | 4 | ~30 | ~15 | |
| 741 | ~5k–15k | 3 | ~50 | ~15 | |
| 698 | ~3k–10k | 3 | ~70 | ~10 | |
| 409 | ~2k–7k | 5 | ~100 | ~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 |
|---|---|---|
| 3836 | 225 | |
| 1505 | 186 | |
| 1935 | 183 | |
| 1581 | 164 | |
| 1142 | 138 | |
| 1126 | 106 | |
| 530 | 100 | |
| 530 | 100 | |
| 530 | 100 | |
| 878 | 72 | |
| 1931 | 69 | |
| 547 | 66 | |
| 888 | 62 | |
| 953 | 60 | |
| 967 | 59 | |
| 1058 | 56 | |
| 662 | 56 | |
| 547 | 56 | |
| 653 | 55 | |
| 781 | 55 | |
| 684 | 53 | |
| 628 | 51 | |
| 521 | 51 | |
| 698 | 51 | |
| 939 | 50 | |
| 953 | 49 | |
| 458 | 48 | |
| 311 | 48 | |
| 452 | 47 | |
| 322 | 46 | |
| 527 | 41 | |
| 375 | 37 | |
| 723 | 37 | |
| 716 | 36 | |
| 153 | 35 | |
| 493 | 35 | |
| 371 | 35 | |
| 770 | 34 | |
| 371 | 33 | |
| 412 | 31 | |
| 747 | 31 | |
| 1086 | 31 | |
| 556 | 31 | |
| 147 | 31 | |
| 133 | 30 | |
| 228 | 30 | |
| 133 | 30 | |
| 133 | 30 | |
| 888 | 30 | |
| 454 | 30 |
Files With Long Lines (Top 32)
There are 32 files with lines longer than 120 characters. In total, there are 69 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 3836 | 225 | 13 | |
| 521 | 51 | 11 | |
| 1166 | 25 | 6 | |
| 312 | - | 3 | |
| 311 | 13 | 2 | |
| 112 | 10 | 2 | |
| 878 | 21 | 2 | |
| 473 | 10 | 2 | |
| 306 | 19 | 2 | |
| 135 | - | 2 | |
| 176 | 14 | 2 | |
| 436 | 28 | 2 | |
| 43 | - | 1 | |
| 770 | 34 | 1 | |
| 57 | 2 | 1 | |
| 439 | 8 | 1 | |
| 106 | 12 | 1 | |
| 444 | 26 | 1 | |
| 302 | 13 | 1 | |
| 14 | - | 1 | |
| 126 | - | 1 | |
| 79 | 2 | 1 | |
| 98 | 7 | 1 | |
| 741 | 13 | 1 | |
| 92 | 2 | 1 | |
| 504 | 9 | 1 | |
| 391 | 7 | 1 | |
| 482 | 19 | 1 | |
| 1931 | 69 | 1 | |
| 100 | - | 1 | |
| 106 | - | 1 | |
| 76 | - | 1 |
Correlations
File Size vs. Commits (all time): 477 points
|
|
3836.0 | lines of code min: 1.0average: 181.93 25th percentile: 26.0 median: 72.0 75th percentile: 189.0 max: 3836.0 |
|
| 0 | 172.0 | ||
|
commits (all time) min: 1.0 | average: 8.1 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 7.0 | max: 172.0
|
|||
File Size vs. Contributors (all time): 477 points
|
|
3836.0 | lines of code min: 1.0average: 181.93 25th percentile: 26.0 median: 72.0 75th percentile: 189.0 max: 3836.0 |
|
| 0 | 36.0 | ||
|
contributors (all time) min: 1.0 | average: 3.29 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 36.0
|
|||
File Size vs. Commits (30 days): 8 points
|
|
1142.0 | lines of code min: 73.0average: 427.5 25th percentile: 114.75 median: 399.0 75th percentile: 650.0 max: 1142.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): 8 points
|
|
1142.0 | lines of code min: 73.0average: 427.5 25th percentile: 114.75 median: 399.0 75th percentile: 650.0 max: 1142.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): 26 points
|
|
3836.0 | lines of code min: 1.0average: 494.35 25th percentile: 90.25 median: 252.5 75th percentile: 486.0 max: 3836.0 |
|
| 0 | 4.0 | ||
|
commits (90d) min: 1.0 | average: 1.19 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 4.0
|
|||
File Size vs. Contributors (90 days): 26 points
|
|
3836.0 | lines of code min: 1.0average: 494.35 25th percentile: 90.25 median: 252.5 75th percentile: 486.0 max: 3836.0 |
|
| 0 | 3.0 | ||
|
contributors (90d) min: 1.0 | average: 1.15 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.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