File Size Overall
- There are 43 files with 13,927 lines of code.
- 6 very long files (8,318 lines of code)
- 1 long files (611 lines of code)
- 9 medium size files (2,686 lines of code)
- 10 small files (1,411 lines of code)
- 17 very small files (901 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 43)
| File | # lines | # units |
|---|---|---|
| 2059 | 43 | |
| 1802 | 94 | |
| 1312 | 54 | |
| 1064 | 41 | |
| 1057 | 43 | |
| 1024 | 3 | |
| 611 | 3 | |
| 459 | 14 | |
| 388 | 21 | |
| 349 | 16 | |
| 302 | 8 | |
| 291 | 24 | |
| 266 | 5 | |
| 215 | 15 | |
| 209 | 9 | |
| 207 | 5 | |
| 198 | 2 | |
| 158 | 3 | |
| 153 | 8 | |
| 146 | - | |
| 144 | 3 | |
| 144 | 8 | |
| 125 | 3 | |
| 123 | 1 | |
| 112 | - | |
| 108 | 11 | |
| 98 | 5 | |
| 92 | 6 | |
| 88 | 8 | |
| 81 | 4 | |
| 73 | 5 | |
| 73 | 1 | |
| 66 | 2 | |
| 62 | 5 | |
| 53 | 3 | |
| 50 | 1 | |
| 46 | 1 | |
| 32 | 2 | |
| 32 | - | |
| 20 | 1 | |
| 15 | 1 | |
| 13 | 1 | |
| 7 | - |
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 |
|---|---|---|---|---|---|
| 1802 | ~10k–30k | 241 | ~70 | ~30 | |
| 2059 | ~10k–30k | 159 | ~70 | ~30 | |
| 1024 | ~7k–15k | 144 | ~30 | ~30 | |
| 1064 | ~7k–15k | 111 | ~30 | ~30 | |
| 1312 | ~7k–20k | 82 | ~150 | ~7 | |
| 1057 | ~7k–15k | 94 | ~50 | ~20 | |
| 611 | ~3k–10k | 44 | ~50 | ~10 | |
| 459 | ~3k–7k | 37 | ~50 | ~10 | |
| 388 | ~2k–7k | 21 | ~100 | ~3 | |
| 198 | ~1k–3k | 35 | ~70 | ~2 | |
| 302 | ~2k–5k | 22 | ~70 | ~5 | |
| 112 | ~700–2k | 59 | ~7 | ~15 | |
| 209 | ~1k–3k | 30 | ~150 | ~2 | |
| 53 | ~300–1k | 57 | ~30 | ~2 | |
| 146 | ~1k–3k | 20 | ~10 | ~15 | |
| 153 | ~1k–3k | 19 | ~30 | ~5 | |
| 207 | ~1k–3k | 14 | ~100 | ~2 | |
| 349 | ~2k–5k | 8 | ~100 | ~3 | |
| 158 | ~1k–3k | 16 | ~30 | ~5 | |
| 125 | ~700–2k | 15 | ~50 | ~2 |
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 39)
| File | # lines | # units |
|---|---|---|
| 1802 | 94 | |
| 1312 | 54 | |
| 1057 | 43 | |
| 2059 | 43 | |
| 1064 | 41 | |
| 291 | 24 | |
| 388 | 21 | |
| 349 | 16 | |
| 215 | 15 | |
| 459 | 14 | |
| 108 | 11 | |
| 209 | 9 | |
| 302 | 8 | |
| 153 | 8 | |
| 88 | 8 | |
| 144 | 8 | |
| 92 | 6 | |
| 98 | 5 | |
| 62 | 5 | |
| 266 | 5 | |
| 207 | 5 | |
| 73 | 5 | |
| 81 | 4 | |
| 53 | 3 | |
| 158 | 3 | |
| 611 | 3 | |
| 125 | 3 | |
| 1024 | 3 | |
| 144 | 3 | |
| 32 | 2 | |
| 66 | 2 | |
| 198 | 2 | |
| 15 | 1 | |
| 20 | 1 | |
| 13 | 1 | |
| 50 | 1 | |
| 46 | 1 | |
| 123 | 1 | |
| 73 | 1 |
Files With Long Lines (Top 7)
There are 7 files with lines longer than 120 characters. In total, there are 42 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 2059 | 43 | 19 | |
| 1024 | 3 | 13 | |
| 158 | 3 | 4 | |
| 1057 | 43 | 3 | |
| 146 | - | 1 | |
| 98 | 5 | 1 | |
| 209 | 9 | 1 |
Correlations
File Size vs. Commits (all time): 43 points
|
|
2059.0 | lines of code min: 7.0average: 323.88 25th percentile: 66.0 median: 144.0 75th percentile: 302.0 max: 2059.0 |
|
| 0 | 241.0 | ||
|
commits (all time) min: 2.0 | average: 32.37 | 25th percentile: 5.0 | median: 12.0 | 75th percentile: 35.0 | max: 241.0
|
|||
File Size vs. Contributors (all time): 43 points
|
|
2059.0 | lines of code min: 7.0average: 323.88 25th percentile: 66.0 median: 144.0 75th percentile: 302.0 max: 2059.0 |
|
| 0 | 25.0 | ||
|
contributors (all time) min: 1.0 | average: 6.84 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 9.0 | max: 25.0
|
|||
File Size vs. Commits (30 days): 30 points
|
|
2059.0 | lines of code min: 7.0average: 427.83 25th percentile: 95.5 median: 202.5 75th percentile: 497.0 max: 2059.0 |
|
| 0 | 33.0 | ||
|
commits (30d) min: 1.0 | average: 8.47 | 25th percentile: 2.0 | median: 6.5 | 75th percentile: 8.25 | max: 33.0
|
|||
File Size vs. Contributors (30 days): 30 points
|
|
2059.0 | lines of code min: 7.0average: 427.83 25th percentile: 95.5 median: 202.5 75th percentile: 497.0 max: 2059.0 |
|
| 0 | 5.0 | ||
|
contributors (30d) min: 1.0 | average: 1.77 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 5.0
|
|||
File Size vs. Commits (90 days): 37 points
|
|
2059.0 | lines of code min: 7.0average: 369.11 25th percentile: 84.5 median: 153.0 75th percentile: 368.5 max: 2059.0 |
|
| 0 | 71.0 | ||
|
commits (90d) min: 1.0 | average: 13.97 | 25th percentile: 5.0 | median: 7.0 | 75th percentile: 16.0 | max: 71.0
|
|||
File Size vs. Contributors (90 days): 37 points
|
|
2059.0 | lines of code min: 7.0average: 369.11 25th percentile: 84.5 median: 153.0 75th percentile: 368.5 max: 2059.0 |
|
| 0 | 8.0 | ||
|
contributors (90d) min: 1.0 | average: 3.19 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 8.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