File Size Overall
- There are 2,660 files with 545,965 lines of code.
- 94 very long files (144,669 lines of code)
- 177 long files (125,510 lines of code)
- 293 medium size files (89,720 lines of code)
- 731 small files (97,828 lines of code)
- 1,365 very small files (88,238 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 |
|---|---|---|
| 8903 | - | |
| 4962 | - | |
| 4954 | - | |
| 2711 | - | |
| 2549 | - | |
| 2525 | - | |
| 2373 | - | |
| 2359 | - | |
| 2046 | - | |
| 1960 | - | |
| 1917 | - | |
| 1864 | - | |
| 1856 | - | |
| 1852 | - | |
| 1816 | - | |
| 1798 | - | |
| 1778 | - | |
| 1761 | - | |
| 1750 | - | |
| 1745 | - | |
| 1618 | - | |
| 1603 | - | |
| 1565 | - | |
| 1559 | - | |
| 1558 | - | |
| 1535 | - | |
| 1517 | - | |
| 1503 | - | |
| 1436 | - | |
| 1436 | - | |
| 1429 | - | |
| 1424 | - | |
| 1415 | - | |
| 1397 | - | |
| 1386 | - | |
| 1384 | - | |
| 1381 | - | |
| 1380 | - | |
| 1372 | - | |
| 1346 | - | |
| 1330 | - | |
| 1326 | - | |
| 1325 | - | |
| 1319 | - | |
| 1314 | - | |
| 1298 | - | |
| 1290 | - | |
| 1287 | - | |
| 1259 | - | |
| 1239 | - |
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 |
|---|---|---|---|---|---|
| 2359 | ~15k–50k | 1 | ~3 | ~500 | |
| 1864 | ~10k–30k | 1 | ~3 | ~500 | |
| 1287 | ~7k–20k | 1 | ~50 | ~20 | |
| 1161 | ~7k–20k | 1 | ~5 | ~200 | |
| 1158 | ~7k–20k | 1 | ~2 | ~500 | |
| 1051 | ~7k–15k | 1 | ~2 | ~500 | |
| 926 | ~5k–15k | 1 | ~3 | ~200 | |
| 635 | ~3k–10k | 1 | ~10 | ~50 | |
| 521 | ~3k–10k | 1 | ~20 | ~20 | |
| 455 | ~3k–7k | 1 | ~2 | ~200 | |
| 427 | ~2k–7k | 1 | ~500 | ~1 | |
| 404 | ~2k–7k | 1 | ~500 | ~1 | |
| 376 | ~2k–7k | 1 | ~500 | ~1 | |
| 350 | ~2k–5k | 1 | ~300 | ~1 | |
| 344 | ~2k–5k | 1 | ~300 | ~1 | |
| 322 | ~2k–5k | 1 | ~300 | ~1 | |
| 306 | ~2k–5k | 1 | ~300 | ~1 | |
| 298 | ~2k–5k | 1 | ~300 | ~1 | |
| 287 | ~2k–5k | 1 | ~300 | ~1 | |
| 287 | ~2k–5k | 1 | ~300 | ~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 0)
| File | # lines | # units |
|---|
Files With Long Lines (Top 50)
There are 366 files with lines longer than 120 characters. In total, there are 1063 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 659 | - | 43 | |
| 1565 | - | 39 | |
| 8903 | - | 33 | |
| 4962 | - | 21 | |
| 4954 | - | 21 | |
| 632 | - | 20 | |
| 672 | - | 18 | |
| 1415 | - | 16 | |
| 84 | - | 15 | |
| 178 | - | 13 | |
| 508 | - | 12 | |
| 1137 | - | 11 | |
| 786 | - | 11 | |
| 215 | - | 11 | |
| 152 | - | 11 | |
| 570 | - | 10 | |
| 307 | - | 10 | |
| 535 | - | 9 | |
| 2373 | - | 8 | |
| 2549 | - | 8 | |
| 152 | - | 8 | |
| 1319 | - | 7 | |
| 1750 | - | 7 | |
| 2711 | - | 7 | |
| 105 | - | 7 | |
| 102 | - | 7 | |
| 79 | - | 7 | |
| 982 | - | 6 | |
| 1559 | - | 6 | |
| 856 | - | 6 | |
| 1816 | - | 6 | |
| 1761 | - | 6 | |
| 128 | - | 6 | |
| 79 | - | 6 | |
| 77 | - | 6 | |
| 131 | - | 6 | |
| 1086 | - | 5 | |
| 570 | - | 5 | |
| 872 | - | 5 | |
| 1113 | - | 5 | |
| 2046 | - | 5 | |
| 1052 | - | 5 | |
| 344 | - | 5 | |
| 402 | - | 5 | |
| 104 | - | 5 | |
| 202 | - | 5 | |
| 62 | - | 5 | |
| 140 | - | 5 | |
| 74 | - | 5 | |
| 132 | - | 5 |
Correlations
File Size vs. Commits (all time): 187 points
|
|
2359.0 | lines of code min: 2.0average: 181.75 25th percentile: 71.0 median: 106.0 75th percentile: 185.0 max: 2359.0 |
|
| 0 | 1.0 | ||
|
commits (all time) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Contributors (all time): 187 points
|
|
2359.0 | lines of code min: 2.0average: 181.75 25th percentile: 71.0 median: 106.0 75th percentile: 185.0 max: 2359.0 |
|
| 0 | 1.0 | ||
|
contributors (all time) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Commits (30 days): 187 points
|
|
2359.0 | lines of code min: 2.0average: 181.75 25th percentile: 71.0 median: 106.0 75th percentile: 185.0 max: 2359.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): 187 points
|
|
2359.0 | lines of code min: 2.0average: 181.75 25th percentile: 71.0 median: 106.0 75th percentile: 185.0 max: 2359.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): 187 points
|
|
2359.0 | lines of code min: 2.0average: 181.75 25th percentile: 71.0 median: 106.0 75th percentile: 185.0 max: 2359.0 |
|
| 0 | 1.0 | ||
|
commits (90d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Contributors (90 days): 187 points
|
|
2359.0 | lines of code min: 2.0average: 181.75 25th percentile: 71.0 median: 106.0 75th percentile: 185.0 max: 2359.0 |
|
| 0 | 1.0 | ||
|
contributors (90d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.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