File Size Overall
- There are 914 files with 97,379 lines of code.
- 11 very long files (15,928 lines of code)
- 20 long files (14,953 lines of code)
- 85 medium size files (24,381 lines of code)
- 133 small files (18,547 lines of code)
- 665 very small files (23,570 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 |
|---|---|---|
| 2255 | 62 | |
| 2075 | 52 | |
| 1796 | 125 | |
| 1453 | 55 | |
| 1451 | 16 | |
| 1366 | 99 | |
| 1231 | 63 | |
| 1129 | 95 | |
| 1083 | 20 | |
| 1073 | 52 | |
| 1016 | 22 | |
| 960 | 36 | |
| 953 | 69 | |
| 894 | 32 | |
| 884 | 62 | |
| 855 | 75 | |
| 853 | 45 | |
| 836 | 38 | |
| 787 | 25 | |
| 771 | 54 | |
| 729 | 11 | |
| 728 | 25 | |
| 726 | 18 | |
| 671 | 26 | |
| 665 | 37 | |
| 646 | 19 | |
| 641 | 16 | |
| 636 | 29 | |
| 624 | 9 | |
| 558 | - | |
| 536 | 32 | |
| 485 | - | |
| 467 | 45 | |
| 456 | 40 | |
| 449 | 35 | |
| 446 | - | |
| 431 | 30 | |
| 409 | 5 | |
| 401 | 28 | |
| 400 | 13 | |
| 400 | 1 | |
| 393 | - | |
| 393 | 37 | |
| 390 | 6 | |
| 384 | 31 | |
| 382 | 24 | |
| 375 | 6 | |
| 370 | 22 | |
| 358 | 37 | |
| 356 | 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 |
|---|---|---|---|---|---|
| 1451 | ~10k–30k | 3 | ~15 | ~100 | |
| 1073 | ~7k–20k | 1 | ~15 | ~70 | |
| 536 | ~3k–10k | 2 | ~7 | ~70 | |
| 1016 | ~7k–15k | 1 | ~30 | ~30 | |
| 665 | ~3k–10k | 1 | ~5 | ~100 | |
| 646 | ~3k–10k | 1 | ~10 | ~50 | |
| 467 | ~3k–7k | 1 | ~2 | ~300 | |
| 456 | ~3k–7k | 1 | ~2 | ~200 | |
| 393 | ~2k–7k | 1 | ~2 | ~200 | |
| 260 | ~1.5k–5k | 1 | ~2 | ~150 | |
| 242 | ~1.5k–5k | 1 | ~5 | ~50 | |
| 240 | ~1.5k–5k | 1 | ~2 | ~100 | |
| 112 | ~700–2k | 2 | ~10 | ~10 | |
| 65 | ~300–1k | 3 | ~30 | ~2 | |
| 186 | ~1k–3k | 1 | ~3 | ~50 | |
| 180 | ~1k–3k | 1 | ~10 | ~20 | |
| 178 | ~1k–3k | 1 | ~2 | ~100 | |
| 157 | ~1k–3k | 1 | ~200 | ~1 | |
| 141 | ~700–2k | 1 | - | - | |
| 124 | ~700–2k | 1 | ~2 | ~70 |
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 |
|---|---|---|
| 1796 | 125 | |
| 1366 | 99 | |
| 1129 | 95 | |
| 855 | 75 | |
| 953 | 69 | |
| 1231 | 63 | |
| 2255 | 62 | |
| 884 | 62 | |
| 1453 | 55 | |
| 771 | 54 | |
| 1073 | 52 | |
| 2075 | 52 | |
| 467 | 45 | |
| 356 | 45 | |
| 853 | 45 | |
| 222 | 44 | |
| 456 | 40 | |
| 836 | 38 | |
| 231 | 38 | |
| 358 | 37 | |
| 393 | 37 | |
| 665 | 37 | |
| 960 | 36 | |
| 449 | 35 | |
| 536 | 32 | |
| 894 | 32 | |
| 384 | 31 | |
| 242 | 30 | |
| 431 | 30 | |
| 345 | 30 | |
| 636 | 29 | |
| 401 | 28 | |
| 279 | 27 | |
| 671 | 26 | |
| 787 | 25 | |
| 728 | 25 | |
| 190 | 24 | |
| 382 | 24 | |
| 168 | 23 | |
| 1016 | 22 | |
| 370 | 22 | |
| 90 | 22 | |
| 190 | 22 | |
| 229 | 21 | |
| 207 | 21 | |
| 136 | 21 | |
| 354 | 21 | |
| 100 | 20 | |
| 102 | 20 | |
| 1083 | 20 |
Files With Long Lines (Top 8)
There are 8 files with lines longer than 120 characters. In total, there are 72 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 449 | 35 | 39 | |
| 259 | - | 11 | |
| 89 | 4 | 9 | |
| 100 | 3 | 6 | |
| 247 | 12 | 3 | |
| 42 | - | 2 | |
| 345 | 30 | 1 | |
| 1073 | 52 | 1 |
Correlations
File Size vs. Commits (all time): 88 points
|
|
2255.0 | lines of code min: 4.0average: 336.92 25th percentile: 108.75 median: 196.5 75th percentile: 393.0 max: 2255.0 |
|
| 0 | 12.0 | ||
|
commits (all time) min: 1.0 | average: 1.43 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 12.0
|
|||
File Size vs. Contributors (all time): 88 points
|
|
2255.0 | lines of code min: 4.0average: 336.92 25th percentile: 108.75 median: 196.5 75th percentile: 393.0 max: 2255.0 |
|
| 0 | 4.0 | ||
|
contributors (all time) min: 1.0 | average: 1.25 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 4.0
|
|||
File Size vs. Commits (30 days): 0 points
No data for "commits (30d)" vs. "lines of code".
File Size vs. Contributors (30 days): 0 points
No data for "contributors (30d)" vs. "lines of code".
File Size vs. Commits (90 days): 0 points
No data for "commits (90d)" vs. "lines of code".
File Size vs. Contributors (90 days): 0 points
No data for "contributors (90d)" vs. "lines of code".
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