File Size Overall
- There are 296 files with 28,545 lines of code.
- 2 very long files (2,705 lines of code)
- 4 long files (2,347 lines of code)
- 33 medium size files (10,127 lines of code)
- 50 small files (7,239 lines of code)
- 207 very small files (6,127 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 |
|---|---|---|
| 1590 | 15 | |
| 1115 | 45 | |
| 726 | 24 | |
| 563 | 10 | |
| 548 | 8 | |
| 510 | 5 | |
| 477 | 7 | |
| 450 | 9 | |
| 443 | 2 | |
| 420 | 14 | |
| 401 | 7 | |
| 383 | 18 | |
| 376 | 8 | |
| 359 | 24 | |
| 347 | 4 | |
| 345 | 18 | |
| 330 | 3 | |
| 311 | 6 | |
| 299 | 7 | |
| 292 | 2 | |
| 291 | 4 | |
| 287 | 11 | |
| 285 | 1 | |
| 285 | 29 | |
| 284 | 7 | |
| 280 | 4 | |
| 278 | 4 | |
| 268 | 5 | |
| 259 | 2 | |
| 256 | 6 | |
| 250 | - | |
| 248 | 10 | |
| 247 | 3 | |
| 245 | 2 | |
| 238 | 10 | |
| 238 | 8 | |
| 231 | 11 | |
| 220 | 6 | |
| 204 | 3 | |
| 199 | 18 | |
| 195 | 1 | |
| 192 | - | |
| 190 | 7 | |
| 187 | 2 | |
| 184 | 3 | |
| 183 | 11 | |
| 182 | 6 | |
| 180 | 6 | |
| 179 | 10 | |
| 179 | 5 |
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 |
|---|---|---|---|---|---|
| 1590 | ~10k–30k | 2 | ~1,000 | ~2 | |
| 401 | ~2k–7k | 7 | ~70 | ~7 | |
| 284 | ~1.5k–5k | 5 | ~70 | ~3 | |
| 171 | ~1k–3k | 7 | ~20 | ~7 | |
| 1115 | ~7k–20k | 1 | ~1,500 | ~1 | |
| 548 | ~3k–10k | 2 | ~150 | ~3 | |
| 563 | ~3k–10k | 1 | ~150 | ~5 | |
| 280 | ~1.5k–5k | 2 | ~150 | ~2 | |
| 510 | ~3k–10k | 1 | ~700 | ~1 | |
| 250 | ~1.5k–5k | 2 | ~50 | ~5 | |
| 477 | ~3k–7k | 1 | ~500 | ~1 | |
| 155 | ~1k–3k | 3 | ~70 | ~2 | |
| 450 | ~3k–7k | 1 | ~700 | ~1 | |
| 443 | ~3k–7k | 1 | ~500 | ~1 | |
| 383 | ~2k–7k | 1 | ~200 | ~2 | |
| 180 | ~1k–3k | 2 | ~50 | ~5 | |
| 359 | ~2k–7k | 1 | ~500 | ~1 | |
| 178 | ~1k–3k | 2 | ~100 | ~2 | |
| 347 | ~2k–5k | 1 | ~500 | ~1 | |
| 330 | ~2k–5k | 1 | ~500 | ~1 |
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 |
|---|---|---|
| 1115 | 45 | |
| 285 | 29 | |
| 173 | 25 | |
| 726 | 24 | |
| 359 | 24 | |
| 171 | 21 | |
| 173 | 20 | |
| 199 | 18 | |
| 383 | 18 | |
| 345 | 18 | |
| 124 | 15 | |
| 1590 | 15 | |
| 62 | 14 | |
| 420 | 14 | |
| 102 | 13 | |
| 165 | 11 | |
| 287 | 11 | |
| 183 | 11 | |
| 231 | 11 | |
| 132 | 11 | |
| 47 | 11 | |
| 136 | 10 | |
| 179 | 10 | |
| 238 | 10 | |
| 248 | 10 | |
| 563 | 10 | |
| 109 | 10 | |
| 450 | 9 | |
| 159 | 9 | |
| 160 | 8 | |
| 238 | 8 | |
| 97 | 8 | |
| 548 | 8 | |
| 376 | 8 | |
| 477 | 7 | |
| 299 | 7 | |
| 129 | 7 | |
| 190 | 7 | |
| 89 | 7 | |
| 401 | 7 | |
| 284 | 7 | |
| 95 | 7 | |
| 73 | 7 | |
| 43 | 7 | |
| 182 | 6 | |
| 311 | 6 | |
| 220 | 6 | |
| 256 | 6 | |
| 35 | 6 | |
| 38 | 6 |
Files With Long Lines (Top 50)
There are 69 files with lines longer than 120 characters. In total, there are 167 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 65 | - | 12 | |
| 563 | 10 | 12 | |
| 183 | 11 | 10 | |
| 1590 | 15 | 10 | |
| 46 | - | 6 | |
| 477 | 7 | 5 | |
| 299 | 7 | 5 | |
| 173 | 20 | 4 | |
| 102 | 1 | 4 | |
| 34 | - | 4 | |
| 33 | - | 4 | |
| 15 | 2 | 4 | |
| 443 | 2 | 3 | |
| 204 | 3 | 3 | |
| 127 | 4 | 3 | |
| 74 | - | 3 | |
| 238 | 10 | 3 | |
| 90 | - | 3 | |
| 190 | 7 | 3 | |
| 401 | 7 | 3 | |
| 43 | - | 2 | |
| 44 | - | 2 | |
| 13 | - | 2 | |
| 182 | 6 | 2 | |
| 347 | 4 | 2 | |
| 83 | 3 | 2 | |
| 726 | 24 | 2 | |
| 291 | 4 | 2 | |
| 155 | 2 | 2 | |
| 54 | 5 | 2 | |
| 376 | 8 | 2 | |
| 280 | 4 | 2 | |
| 20 | 1 | 2 | |
| 345 | 18 | 2 | |
| 179 | 10 | 1 | |
| 510 | 5 | 1 | |
| 17 | 2 | 1 | |
| 8 | - | 1 | |
| 19 | - | 1 | |
| 5 | - | 1 | |
| 64 | - | 1 | |
| 15 | - | 1 | |
| 24 | - | 1 | |
| 8 | - | 1 | |
| 29 | - | 1 | |
| 5 | - | 1 | |
| 8 | - | 1 | |
| 11 | - | 1 | |
| 5 | - | 1 | |
| 25 | - | 1 |
Correlations
File Size vs. Commits (all time): 267 points
|
|
1590.0 | lines of code min: 1.0average: 104.7 25th percentile: 18.0 median: 50.0 75th percentile: 130.0 max: 1590.0 |
|
| 0 | 23.0 | ||
|
commits (all time) min: 1.0 | average: 1.77 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 23.0
|
|||
File Size vs. Contributors (all time): 267 points
|
|
1590.0 | lines of code min: 1.0average: 104.7 25th percentile: 18.0 median: 50.0 75th percentile: 130.0 max: 1590.0 |
|
| 0 | 3.0 | ||
|
contributors (all time) min: 1.0 | average: 1.07 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.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): 0 points
No data for "commits (90d)" vs. "lines of code".
File Size vs. Contributors (90 days): 0 points
No data for "contributors (90d)" vs. "lines of code".
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