File Size Overall
- There are 65 files with 24,440 lines of code.
- 6 very long files (14,094 lines of code)
- 5 long files (3,430 lines of code)
- 14 medium size files (4,939 lines of code)
- 3 small files (389 lines of code)
- 37 very small files (1,588 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 |
|---|---|---|
| 5869 | 113 | |
| 2386 | 35 | |
| 1737 | 22 | |
| 1414 | 7 | |
| 1394 | 42 | |
| 1294 | 28 | |
| 825 | 19 | |
| 792 | 13 | |
| 770 | 19 | |
| 529 | 18 | |
| 514 | 5 | |
| 450 | 9 | |
| 444 | 6 | |
| 435 | 13 | |
| 429 | 8 | |
| 422 | 6 | |
| 419 | 2 | |
| 384 | 8 | |
| 361 | 4 | |
| 323 | 2 | |
| 311 | 6 | |
| 275 | 15 | |
| 239 | 4 | |
| 231 | 2 | |
| 216 | 3 | |
| 144 | 2 | |
| 130 | 4 | |
| 115 | - | |
| 100 | - | |
| 98 | - | |
| 94 | 6 | |
| 94 | - | |
| 87 | - | |
| 75 | - | |
| 68 | 3 | |
| 62 | - | |
| 57 | 2 | |
| 56 | 1 | |
| 54 | 4 | |
| 54 | - | |
| 53 | 1 | |
| 53 | - | |
| 52 | - | |
| 46 | 4 | |
| 44 | - | |
| 41 | - | |
| 41 | - | |
| 40 | - | |
| 38 | 2 | |
| 36 | - |
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 |
|---|---|---|---|---|---|
| 5869 | ~30k–100k | 169 | ~70 | ~100 | |
| 2386 | ~15k–50k | 57 | ~100 | ~20 | |
| 1414 | ~7k–20k | 92 | ~50 | ~30 | |
| 1737 | ~10k–30k | 37 | ~50 | ~30 | |
| 1394 | ~7k–20k | 42 | ~300 | ~5 | |
| 1294 | ~7k–20k | 33 | ~100 | ~15 | |
| 792 | ~5k–15k | 30 | ~50 | ~20 | |
| 825 | ~5k–15k | 26 | ~50 | ~15 | |
| 514 | ~3k–10k | 32 | ~20 | ~20 | |
| 444 | ~3k–7k | 30 | ~30 | ~15 | |
| 429 | ~3k–7k | 28 | ~50 | ~10 | |
| 529 | ~3k–10k | 21 | ~70 | ~7 | |
| 450 | ~3k–7k | 21 | ~50 | ~10 | |
| 323 | ~2k–5k | 28 | ~20 | ~20 | |
| 384 | ~2k–7k | 18 | ~30 | ~10 | |
| 361 | ~2k–7k | 19 | ~30 | ~15 | |
| 422 | ~2k–7k | 16 | ~30 | ~15 | |
| 419 | ~2k–7k | 16 | ~50 | ~7 | |
| 239 | ~1.5k–5k | 18 | ~15 | ~15 | |
| 231 | ~1.5k–5k | 15 | ~20 | ~10 |
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 42)
| File | # lines | # units |
|---|---|---|
| 5869 | 113 | |
| 1394 | 42 | |
| 2386 | 35 | |
| 1294 | 28 | |
| 1737 | 22 | |
| 825 | 19 | |
| 770 | 19 | |
| 529 | 18 | |
| 275 | 15 | |
| 792 | 13 | |
| 435 | 13 | |
| 450 | 9 | |
| 384 | 8 | |
| 429 | 8 | |
| 1414 | 7 | |
| 422 | 6 | |
| 311 | 6 | |
| 444 | 6 | |
| 94 | 6 | |
| 514 | 5 | |
| 361 | 4 | |
| 239 | 4 | |
| 46 | 4 | |
| 54 | 4 | |
| 130 | 4 | |
| 216 | 3 | |
| 68 | 3 | |
| 22 | 3 | |
| 323 | 2 | |
| 57 | 2 | |
| 144 | 2 | |
| 419 | 2 | |
| 231 | 2 | |
| 11 | 2 | |
| 38 | 2 | |
| 53 | 1 | |
| 22 | 1 | |
| 56 | 1 | |
| 8 | 1 | |
| 15 | 1 | |
| 16 | 1 | |
| 27 | 1 |
Files With Long Lines (Top 26)
There are 26 files with lines longer than 120 characters. In total, there are 364 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 98 | - | 40 | |
| 100 | - | 33 | |
| 94 | - | 31 | |
| 87 | - | 29 | |
| 5869 | 113 | 24 | |
| 75 | - | 23 | |
| 792 | 13 | 22 | |
| 115 | - | 22 | |
| 34 | - | 21 | |
| 52 | - | 18 | |
| 2386 | 35 | 13 | |
| 44 | - | 11 | |
| 53 | - | 11 | |
| 54 | - | 11 | |
| 36 | - | 10 | |
| 35 | - | 9 | |
| 41 | - | 8 | |
| 40 | - | 8 | |
| 1737 | 22 | 4 | |
| 41 | - | 4 | |
| 419 | 2 | 3 | |
| 825 | 19 | 2 | |
| 1294 | 28 | 2 | |
| 28 | - | 2 | |
| 17 | - | 2 | |
| 444 | 6 | 1 |
Correlations
File Size vs. Commits (all time): 59 points
|
|
5869.0 | lines of code min: 1.0average: 412.88 25th percentile: 44.0 median: 98.0 75th percentile: 429.0 max: 5869.0 |
|
| 0 | 301.0 | ||
|
commits (all time) min: 1.0 | average: 27.9 | 25th percentile: 4.0 | median: 10.0 | 75th percentile: 36.0 | max: 301.0
|
|||
File Size vs. Contributors (all time): 59 points
|
|
5869.0 | lines of code min: 1.0average: 412.88 25th percentile: 44.0 median: 98.0 75th percentile: 429.0 max: 5869.0 |
|
| 0 | 4.0 | ||
|
contributors (all time) min: 1.0 | average: 2.03 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.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): 24 points
|
|
5869.0 | lines of code min: 1.0average: 735.38 25th percentile: 233.0 median: 420.5 75th percentile: 786.5 max: 5869.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): 24 points
|
|
5869.0 | lines of code min: 1.0average: 735.38 25th percentile: 233.0 median: 420.5 75th percentile: 786.5 max: 5869.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