File Size Overall
- There are 211 files with 15,076 lines of code.
- 0 very long files (0 lines of code)
- 2 long files (1,120 lines of code)
- 17 medium size files (5,059 lines of code)
- 20 small files (2,920 lines of code)
- 172 very small files (5,977 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 |
|---|---|---|
| 619 | 14 | |
| 501 | 2 | |
| 456 | - | |
| 406 | 30 | |
| 399 | 1 | |
| 367 | - | |
| 357 | - | |
| 327 | 1 | |
| 296 | - | |
| 281 | 1 | |
| 270 | 1 | |
| 268 | 1 | |
| 255 | 1 | |
| 252 | 3 | |
| 244 | 4 | |
| 238 | - | |
| 217 | 2 | |
| 216 | 10 | |
| 210 | - | |
| 197 | 6 | |
| 185 | 1 | |
| 181 | 7 | |
| 181 | - | |
| 178 | 4 | |
| 173 | - | |
| 164 | - | |
| 163 | - | |
| 163 | - | |
| 153 | - | |
| 139 | - | |
| 138 | - | |
| 124 | - | |
| 123 | 1 | |
| 120 | - | |
| 111 | - | |
| 109 | - | |
| 107 | - | |
| 106 | - | |
| 105 | 1 | |
| 99 | - | |
| 98 | 1 | |
| 98 | 1 | |
| 96 | 1 | |
| 96 | 1 | |
| 95 | 4 | |
| 92 | - | |
| 92 | 1 | |
| 92 | - | |
| 92 | - | |
| 91 | 2 |
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 |
|---|---|---|---|---|---|
| 619 | ~3k–10k | 12 | ~70 | ~7 | |
| 216 | ~1.5k–5k | 22 | ~20 | ~10 | |
| 399 | ~2k–7k | 11 | ~50 | ~7 | |
| 268 | ~1.5k–5k | 13 | ~30 | ~7 | |
| 238 | ~1.5k–5k | 13 | ~30 | ~10 | |
| 406 | ~2k–7k | 7 | ~100 | ~3 | |
| 270 | ~1.5k–5k | 10 | ~30 | ~7 | |
| 255 | ~1.5k–5k | 10 | ~50 | ~7 | |
| 281 | ~1.5k–5k | 9 | ~50 | ~7 | |
| 367 | ~2k–7k | 6 | ~50 | ~7 | |
| 456 | ~3k–7k | 4 | ~70 | ~7 | |
| 501 | ~3k–10k | 3 | ~200 | ~3 | |
| 217 | ~1.5k–5k | 6 | ~50 | ~5 | |
| 178 | ~1k–3k | 6 | ~50 | ~5 | |
| 210 | ~1k–3k | 5 | ~50 | ~5 | |
| 252 | ~1.5k–5k | 4 | ~70 | ~3 | |
| 327 | ~2k–5k | 3 | ~100 | ~3 | |
| 296 | ~2k–5k | 3 | ~100 | ~3 | |
| 185 | ~1k–3k | 4 | ~50 | ~3 | |
| 52 | ~300–1k | 13 | ~15 | ~3 |
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 |
|---|---|---|
| 406 | 30 | |
| 619 | 14 | |
| 216 | 10 | |
| 181 | 7 | |
| 197 | 6 | |
| 32 | 5 | |
| 42 | 4 | |
| 178 | 4 | |
| 95 | 4 | |
| 244 | 4 | |
| 252 | 3 | |
| 27 | 3 | |
| 46 | 2 | |
| 91 | 2 | |
| 37 | 2 | |
| 38 | 2 | |
| 42 | 2 | |
| 501 | 2 | |
| 217 | 2 | |
| 54 | 2 | |
| 68 | 2 | |
| 79 | 2 | |
| 92 | 1 | |
| 23 | 1 | |
| 123 | 1 | |
| 98 | 1 | |
| 52 | 1 | |
| 55 | 1 | |
| 268 | 1 | |
| 270 | 1 | |
| 105 | 1 | |
| 399 | 1 | |
| 50 | 1 | |
| 47 | 1 | |
| 26 | 1 | |
| 281 | 1 | |
| 78 | 1 | |
| 327 | 1 | |
| 40 | 1 | |
| 255 | 1 | |
| 80 | 1 | |
| 13 | 1 | |
| 98 | 1 | |
| 12 | 1 | |
| 20 | 1 | |
| 96 | 1 | |
| 34 | 1 | |
| 59 | 1 | |
| 185 | 1 | |
| 96 | 1 |
Files With Long Lines (Top 11)
There are 11 files with lines longer than 120 characters. In total, there are 31 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 41 | - | 6 | |
| 120 | - | 4 | |
| 270 | 1 | 4 | |
| 327 | 1 | 4 | |
| 111 | - | 3 | |
| 25 | - | 3 | |
| 46 | 2 | 2 | |
| 49 | - | 2 | |
| 21 | - | 1 | |
| 181 | - | 1 | |
| 124 | - | 1 |
Correlations
File Size vs. Commits (all time): 211 points
|
|
619.0 | lines of code min: 1.0average: 71.45 25th percentile: 15.0 median: 36.0 75th percentile: 81.0 max: 619.0 |
|
| 0 | 24.0 | ||
|
commits (all time) min: 1.0 | average: 3.84 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 5.0 | max: 24.0
|
|||
File Size vs. Contributors (all time): 211 points
|
|
619.0 | lines of code min: 1.0average: 71.45 25th percentile: 15.0 median: 36.0 75th percentile: 81.0 max: 619.0 |
|
| 0 | 8.0 | ||
|
contributors (all time) min: 1.0 | average: 2.38 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 8.0
|
|||
File Size vs. Commits (30 days): 32 points
|
|
619.0 | lines of code min: 3.0average: 165.84 25th percentile: 31.25 median: 123.5 75th percentile: 264.75 max: 619.0 |
|
| 0 | 4.0 | ||
|
commits (30d) min: 1.0 | average: 1.5 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 4.0
|
|||
File Size vs. Contributors (30 days): 32 points
|
|
619.0 | lines of code min: 3.0average: 165.84 25th percentile: 31.25 median: 123.5 75th percentile: 264.75 max: 619.0 |
|
| 0 | 3.0 | ||
|
contributors (30d) min: 1.0 | average: 1.34 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 3.0
|
|||
File Size vs. Commits (90 days): 58 points
|
|
619.0 | lines of code min: 3.0average: 138.09 25th percentile: 35.25 median: 89.0 75th percentile: 221.5 max: 619.0 |
|
| 0 | 9.0 | ||
|
commits (90d) min: 1.0 | average: 2.21 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 9.0
|
|||
File Size vs. Contributors (90 days): 58 points
|
|
619.0 | lines of code min: 3.0average: 138.09 25th percentile: 35.25 median: 89.0 75th percentile: 221.5 max: 619.0 |
|
| 0 | 4.0 | ||
|
contributors (90d) min: 1.0 | average: 1.47 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 4.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