File Size Overall
- There are 329 files with 27,520 lines of code.
- 1 very long files (1,006 lines of code)
- 4 long files (2,670 lines of code)
- 18 medium size files (5,186 lines of code)
- 43 small files (5,562 lines of code)
- 263 very small files (13,096 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 |
|---|---|---|
| 1006 | - | |
| 796 | - | |
| 705 | - | |
| 620 | - | |
| 549 | - | |
| 479 | 3 | |
| 447 | - | |
| 409 | 1 | |
| 395 | 2 | |
| 359 | - | |
| 344 | - | |
| 317 | 4 | |
| 252 | 2 | |
| 249 | - | |
| 235 | 1 | |
| 224 | 2 | |
| 220 | 2 | |
| 218 | - | |
| 217 | - | |
| 209 | - | |
| 208 | - | |
| 203 | - | |
| 201 | - | |
| 193 | - | |
| 185 | - | |
| 184 | - | |
| 173 | 1 | |
| 170 | 1 | |
| 166 | - | |
| 150 | - | |
| 147 | - | |
| 143 | - | |
| 141 | 1 | |
| 141 | - | |
| 140 | 1 | |
| 138 | - | |
| 136 | - | |
| 134 | - | |
| 133 | - | |
| 129 | - | |
| 128 | - | |
| 127 | - | |
| 127 | - | |
| 127 | 1 | |
| 126 | - | |
| 126 | - | |
| 123 | - | |
| 123 | 1 | |
| 123 | 1 | |
| 119 | - |
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 |
|---|---|---|---|---|---|
| 104 | ~700–1.5k | 146 | ~3 | ~30 | |
| 344 | ~2k–5k | 13 | ~50 | ~7 | |
| 170 | ~1k–3k | 24 | ~50 | ~3 | |
| 127 | ~700–2k | 27 | ~30 | ~3 | |
| 235 | ~1.5k–5k | 10 | ~100 | ~3 | |
| 447 | ~3k–7k | 4 | ~70 | ~7 | |
| 119 | ~700–2k | 15 | ~70 | ~2 | |
| 209 | ~1k–3k | 7 | ~30 | ~5 | |
| 395 | ~2k–7k | 3 | ~50 | ~10 | |
| 166 | ~1k–3k | 7 | ~70 | ~3 | |
| 359 | ~2k–7k | 3 | ~200 | ~2 | |
| 479 | ~3k–7k | 2 | ~100 | ~5 | |
| 173 | ~1k–3k | 5 | ~100 | ~2 | |
| 134 | ~700–2k | 6 | ~70 | ~2 | |
| 129 | ~700–2k | 6 | ~70 | ~2 | |
| 185 | ~1k–3k | 4 | ~50 | ~3 | |
| 141 | ~700–2k | 5 | ~30 | ~3 | |
| 126 | ~700–2k | 5 | ~20 | ~5 | |
| 104 | ~700–1.5k | 6 | ~50 | ~2 | |
| 143 | ~1k–3k | 4 | ~50 | ~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 33)
| File | # lines | # units |
|---|---|---|
| 317 | 4 | |
| 479 | 3 | |
| 23 | 3 | |
| 224 | 2 | |
| 395 | 2 | |
| 57 | 2 | |
| 26 | 2 | |
| 220 | 2 | |
| 252 | 2 | |
| 92 | 2 | |
| 16 | 1 | |
| 235 | 1 | |
| 170 | 1 | |
| 140 | 1 | |
| 173 | 1 | |
| 141 | 1 | |
| 123 | 1 | |
| 40 | 1 | |
| 44 | 1 | |
| 30 | 1 | |
| 14 | 1 | |
| 47 | 1 | |
| 19 | 1 | |
| 127 | 1 | |
| 409 | 1 | |
| 90 | 1 | |
| 65 | 1 | |
| 101 | 1 | |
| 123 | 1 | |
| 88 | 1 | |
| 31 | 1 | |
| 44 | 1 | |
| 13 | 1 |
Files With Long Lines (Top 8)
There are 8 files with lines longer than 120 characters. In total, there are 29 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 796 | - | 15 | |
| 104 | - | 7 | |
| 12 | - | 2 | |
| 10 | - | 1 | |
| 33 | - | 1 | |
| 92 | 2 | 1 | |
| 59 | - | 1 | |
| 88 | - | 1 |
Correlations
File Size vs. Commits (all time): 329 points
|
|
1006.0 | lines of code min: 1.0average: 83.65 25th percentile: 44.0 median: 56.0 75th percentile: 85.0 max: 1006.0 |
|
| 0 | 530.0 | ||
|
commits (all time) min: 1.0 | average: 8.64 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 5.5 | max: 530.0
|
|||
File Size vs. Contributors (all time): 329 points
|
|
1006.0 | lines of code min: 1.0average: 83.65 25th percentile: 44.0 median: 56.0 75th percentile: 85.0 max: 1006.0 |
|
| 0 | 19.0 | ||
|
contributors (all time) min: 1.0 | average: 1.95 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 19.0
|
|||
File Size vs. Commits (30 days): 1 points
|
|
104.0 | lines of code min: 104.0average: 104.0 25th percentile: 104.0 median: 104.0 75th percentile: 104.0 max: 104.0 |
|
| 0 | 15.0 | ||
|
commits (30d) min: 15.0 | average: 15.0 | 25th percentile: 15.0 | median: 15.0 | 75th percentile: 15.0 | max: 15.0
|
|||
File Size vs. Contributors (30 days): 1 points
|
|
104.0 | lines of code min: 104.0average: 104.0 25th percentile: 104.0 median: 104.0 75th percentile: 104.0 max: 104.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 18 points
|
|
479.0 | lines of code min: 24.0average: 126.44 25th percentile: 43.0 median: 104.0 75th percentile: 154.0 max: 479.0 |
|
| 0 | 40.0 | ||
|
commits (90d) min: 1.0 | average: 3.56 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 40.0
|
|||
File Size vs. Contributors (90 days): 18 points
|
|
479.0 | lines of code min: 24.0average: 126.44 25th percentile: 43.0 median: 104.0 75th percentile: 154.0 max: 479.0 |
|
| 0 | 4.0 | ||
|
contributors (90d) min: 1.0 | average: 1.17 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.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