File Size Overall
- There are 504 files with 33,810 lines of code.
- 0 very long files (0 lines of code)
- 4 long files (2,859 lines of code)
- 26 medium size files (8,734 lines of code)
- 65 small files (8,875 lines of code)
- 409 very small files (13,342 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 |
|---|---|---|
| 998 | - | |
| 811 | 8 | |
| 526 | - | |
| 524 | - | |
| 486 | - | |
| 476 | - | |
| 449 | - | |
| 434 | - | |
| 426 | - | |
| 421 | - | |
| 404 | - | |
| 382 | - | |
| 364 | - | |
| 357 | - | |
| 357 | - | |
| 354 | - | |
| 324 | - | |
| 321 | - | |
| 319 | - | |
| 312 | 11 | |
| 310 | - | |
| 304 | - | |
| 301 | - | |
| 272 | 35 | |
| 256 | - | |
| 244 | - | |
| 225 | - | |
| 219 | - | |
| 214 | - | |
| 203 | - | |
| 196 | - | |
| 195 | - | |
| 190 | - | |
| 188 | - | |
| 180 | - | |
| 176 | - | |
| 174 | - | |
| 172 | - | |
| 172 | - | |
| 170 | - | |
| 170 | - | |
| 170 | - | |
| 164 | - | |
| 162 | 1 | |
| 156 | 4 | |
| 154 | - | |
| 153 | - | |
| 152 | - | |
| 150 | - | |
| 149 | - |
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 |
|---|---|---|---|---|---|
| 524 | ~3k–10k | 6 | ~50 | ~10 | |
| 304 | ~2k–5k | 6 | ~50 | ~5 | |
| 219 | ~1.5k–5k | 5 | ~20 | ~10 | |
| 180 | ~1k–3k | 6 | ~70 | ~2 | |
| 97 | ~500–1.5k | 11 | ~30 | ~3 | |
| 312 | ~2k–5k | 3 | ~300 | ~1 | |
| 434 | ~3k–7k | 2 | ~50 | ~10 | |
| 133 | ~700–2k | 6 | ~50 | ~3 | |
| 129 | ~700–2k | 6 | ~50 | ~3 | |
| 123 | ~700–2k | 6 | ~30 | ~3 | |
| 172 | ~1k–3k | 4 | ~50 | ~3 | |
| 321 | ~2k–5k | 2 | ~100 | ~3 | |
| 188 | ~1k–3k | 3 | ~100 | ~2 | |
| 112 | ~700–2k | 5 | ~30 | ~3 | |
| 272 | ~1.5k–5k | 2 | ~300 | ~1 | |
| 148 | ~1k–3k | 3 | ~150 | ~1 | |
| 131 | ~700–2k | 3 | ~15 | ~10 | |
| 195 | ~1k–3k | 2 | ~50 | ~3 | |
| 190 | ~1k–3k | 2 | ~70 | ~3 | |
| 119 | ~700–2k | 3 | ~30 | ~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 46)
| File | # lines | # units |
|---|---|---|
| 105 | 43 | |
| 272 | 35 | |
| 125 | 17 | |
| 312 | 11 | |
| 811 | 8 | |
| 55 | 7 | |
| 144 | 6 | |
| 64 | 5 | |
| 131 | 5 | |
| 47 | 4 | |
| 57 | 4 | |
| 55 | 4 | |
| 61 | 4 | |
| 156 | 4 | |
| 140 | 4 | |
| 139 | 3 | |
| 65 | 3 | |
| 27 | 3 | |
| 64 | 3 | |
| 116 | 3 | |
| 66 | 2 | |
| 43 | 2 | |
| 65 | 2 | |
| 75 | 2 | |
| 54 | 2 | |
| 50 | 2 | |
| 110 | 2 | |
| 7 | 1 | |
| 162 | 1 | |
| 106 | 1 | |
| 129 | 1 | |
| 133 | 1 | |
| 107 | 1 | |
| 19 | 1 | |
| 78 | 1 | |
| 68 | 1 | |
| 6 | 1 | |
| 19 | 1 | |
| 7 | 1 | |
| 13 | 1 | |
| 62 | 1 | |
| 45 | 1 | |
| 32 | 1 | |
| 7 | 1 | |
| 127 | 1 | |
| 48 | 1 |
Files With Long Lines (Top 30)
There are 30 files with lines longer than 120 characters. In total, there are 307 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 357 | - | 87 | |
| 364 | - | 87 | |
| 357 | - | 87 | |
| 53 | - | 11 | |
| 811 | 8 | 7 | |
| 61 | - | 2 | |
| 129 | - | 2 | |
| 82 | - | 2 | |
| 139 | 3 | 1 | |
| 104 | - | 1 | |
| 162 | 1 | 1 | |
| 54 | 2 | 1 | |
| 153 | - | 1 | |
| 36 | - | 1 | |
| 78 | 1 | 1 | |
| 1 | - | 1 | |
| 426 | - | 1 | |
| 174 | - | 1 | |
| 526 | - | 1 | |
| 354 | - | 1 | |
| 131 | - | 1 | |
| 434 | - | 1 | |
| 70 | - | 1 | |
| 39 | - | 1 | |
| 312 | 11 | 1 | |
| 26 | - | 1 | |
| 69 | - | 1 | |
| 85 | - | 1 | |
| 32 | - | 1 | |
| 29 | - | 1 |
Correlations
File Size vs. Commits (all time): 504 points
|
|
998.0 | lines of code min: 1.0average: 67.08 25th percentile: 13.25 median: 36.5 75th percentile: 78.75 max: 998.0 |
|
| 0 | 71.0 | ||
|
commits (all time) min: 1.0 | average: 5.78 | 25th percentile: 3.0 | median: 4.0 | 75th percentile: 6.0 | max: 71.0
|
|||
File Size vs. Contributors (all time): 504 points
|
|
998.0 | lines of code min: 1.0average: 67.08 25th percentile: 13.25 median: 36.5 75th percentile: 78.75 max: 998.0 |
|
| 0 | 13.0 | ||
|
contributors (all time) min: 1.0 | average: 2.61 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 13.0
|
|||
File Size vs. Commits (30 days): 1 points
|
|
42.0 | lines of code min: 42.0average: 42.0 25th percentile: 42.0 median: 42.0 75th percentile: 42.0 max: 42.0 |
|
| 0 | 2.0 | ||
|
commits (30d) min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Contributors (30 days): 1 points
|
|
42.0 | lines of code min: 42.0average: 42.0 25th percentile: 42.0 median: 42.0 75th percentile: 42.0 max: 42.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): 16 points
|
|
312.0 | lines of code min: 1.0average: 72.88 25th percentile: 15.0 median: 46.0 75th percentile: 103.5 max: 312.0 |
|
| 0 | 5.0 | ||
|
commits (90d) min: 1.0 | average: 3.19 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 4.0 | max: 5.0
|
|||
File Size vs. Contributors (90 days): 16 points
|
|
312.0 | lines of code min: 1.0average: 72.88 25th percentile: 15.0 median: 46.0 75th percentile: 103.5 max: 312.0 |
|
| 0 | 3.0 | ||
|
contributors (90d) min: 1.0 | average: 2.06 | 25th percentile: 1.25 | median: 2.0 | 75th percentile: 3.0 | max: 3.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