File Size Overall
- There are 173 files with 104,742 lines of code.
- 39 very long files (55,299 lines of code)
- 45 long files (29,798 lines of code)
- 46 medium size files (18,383 lines of code)
- 4 small files (601 lines of code)
- 39 very small files (661 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 |
|---|---|---|
| 1895 | - | |
| 1895 | - | |
| 1820 | - | |
| 1820 | - | |
| 1815 | - | |
| 1815 | - | |
| 1785 | - | |
| 1785 | - | |
| 1776 | - | |
| 1564 | - | |
| 1564 | - | |
| 1562 | - | |
| 1562 | - | |
| 1529 | - | |
| 1529 | - | |
| 1459 | - | |
| 1459 | - | |
| 1458 | - | |
| 1458 | - | |
| 1343 | - | |
| 1343 | - | |
| 1287 | - | |
| 1287 | - | |
| 1266 | - | |
| 1266 | - | |
| 1234 | - | |
| 1234 | - | |
| 1189 | - | |
| 1189 | - | |
| 1181 | - | |
| 1181 | - | |
| 1118 | - | |
| 1113 | - | |
| 1113 | - | |
| 1097 | - | |
| 1097 | - | |
| 1088 | - | |
| 1088 | - | |
| 1035 | - | |
| 908 | - | |
| 908 | - | |
| 827 | - | |
| 827 | - | |
| 765 | - | |
| 765 | - | |
| 743 | - | |
| 743 | - | |
| 742 | - | |
| 742 | - | |
| 737 | - |
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 |
|---|---|---|---|---|---|
| 1820 | ~10k–30k | 1 | ~2,000 | ~1 | |
| 1820 | ~10k–30k | 1 | ~2,000 | ~1 | |
| 1815 | ~10k–30k | 1 | ~2,000 | ~1 | |
| 1815 | ~10k–30k | 1 | ~2,000 | ~1 | |
| 1785 | ~10k–30k | 1 | ~2,000 | ~1 | |
| 1785 | ~10k–30k | 1 | ~2,000 | ~1 | |
| 1564 | ~10k–30k | 1 | ~1,500 | ~1 | |
| 1564 | ~10k–30k | 1 | ~1,500 | ~1 | |
| 1562 | ~10k–30k | 1 | ~1,500 | ~1 | |
| 1562 | ~10k–30k | 1 | ~1,500 | ~1 | |
| 1529 | ~10k–30k | 1 | ~1,500 | ~1 | |
| 1529 | ~10k–30k | 1 | ~1,500 | ~1 | |
| 1458 | ~10k–30k | 1 | ~1,500 | ~1 | |
| 1458 | ~10k–30k | 1 | ~1,500 | ~1 | |
| 1266 | ~7k–20k | 1 | ~1,500 | ~1 | |
| 1266 | ~7k–20k | 1 | ~1,500 | ~1 | |
| 1234 | ~7k–20k | 1 | ~1,500 | ~1 | |
| 1234 | ~7k–20k | 1 | ~1,500 | ~1 | |
| 1181 | ~7k–20k | 1 | ~1,500 | ~1 | |
| 1181 | ~7k–20k | 1 | ~1,500 | ~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 10)
| File | # lines | # units |
|---|---|---|
| 115 | 9 | |
| 70 | 6 | |
| 358 | 4 | |
| 84 | 4 | |
| 36 | 2 | |
| 29 | 2 | |
| 42 | 1 | |
| 16 | 1 | |
| 95 | 1 | |
| 5 | 1 |
Files With Long Lines (Top 50)
There are 148 files with lines longer than 120 characters. In total, there are 1900 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 453 | - | 56 | |
| 453 | - | 56 | |
| 1820 | - | 47 | |
| 1820 | - | 47 | |
| 540 | - | 45 | |
| 540 | - | 45 | |
| 635 | - | 41 | |
| 635 | - | 41 | |
| 1562 | - | 39 | |
| 737 | - | 39 | |
| 1564 | - | 39 | |
| 1562 | - | 39 | |
| 737 | - | 39 | |
| 1564 | - | 39 | |
| 327 | - | 36 | |
| 327 | - | 36 | |
| 1097 | - | 28 | |
| 1097 | - | 28 | |
| 330 | - | 27 | |
| 1181 | - | 27 | |
| 1815 | - | 27 | |
| 330 | - | 27 | |
| 1181 | - | 27 | |
| 1815 | - | 27 | |
| 628 | - | 26 | |
| 628 | - | 26 | |
| 657 | - | 24 | |
| 657 | - | 24 | |
| 657 | - | 23 | |
| 765 | - | 23 | |
| 657 | - | 23 | |
| 765 | - | 23 | |
| 507 | - | 18 | |
| 477 | - | 18 | |
| 507 | - | 18 | |
| 477 | - | 18 | |
| 659 | - | 17 | |
| 582 | - | 17 | |
| 1266 | - | 17 | |
| 659 | - | 17 | |
| 582 | - | 17 | |
| 1266 | - | 17 | |
| 174 | - | 15 | |
| 426 | - | 15 | |
| 431 | - | 15 | |
| 174 | - | 15 | |
| 426 | - | 15 | |
| 431 | - | 15 | |
| 1458 | - | 14 | |
| 463 | - | 14 |
Correlations
File Size vs. Commits (all time): 26 points
|
|
1820.0 | lines of code min: 59.0average: 1315.58 25th percentile: 1160.0 median: 1458.0 75th percentile: 1619.25 max: 1820.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): 26 points
|
|
1820.0 | lines of code min: 59.0average: 1315.58 25th percentile: 1160.0 median: 1458.0 75th percentile: 1619.25 max: 1820.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): 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