File Size Overall
- There are 205 files with 25,972 lines of code.
- 1 very long files (1,123 lines of code)
- 8 long files (5,188 lines of code)
- 30 medium size files (9,972 lines of code)
- 31 small files (4,284 lines of code)
- 135 very small files (5,405 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 |
|---|---|---|
| 1123 | 50 | |
| 982 | 9 | |
| 757 | 22 | |
| 716 | 54 | |
| 580 | 37 | |
| 579 | 28 | |
| 556 | 12 | |
| 517 | 6 | |
| 501 | 9 | |
| 498 | 24 | |
| 485 | 10 | |
| 443 | 10 | |
| 427 | 23 | |
| 424 | 44 | |
| 400 | 3 | |
| 399 | 18 | |
| 398 | 6 | |
| 395 | 3 | |
| 392 | 9 | |
| 381 | 16 | |
| 356 | 18 | |
| 354 | 9 | |
| 350 | 18 | |
| 349 | 24 | |
| 331 | 37 | |
| 327 | 6 | |
| 299 | 13 | |
| 297 | 3 | |
| 295 | 3 | |
| 292 | 7 | |
| 283 | 3 | |
| 262 | 2 | |
| 251 | 6 | |
| 230 | 3 | |
| 222 | 7 | |
| 212 | 9 | |
| 212 | 7 | |
| 206 | 13 | |
| 202 | 2 | |
| 199 | 13 | |
| 191 | 2 | |
| 187 | 8 | |
| 181 | 18 | |
| 179 | 4 | |
| 166 | 18 | |
| 161 | 17 | |
| 151 | 4 | |
| 147 | 4 | |
| 146 | 5 | |
| 143 | 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 |
|---|---|---|---|---|---|
| 1123 | ~7k–20k | 3 | ~20 | ~50 | |
| 982 | ~5k–15k | 3 | ~30 | ~30 | |
| 292 | ~2k–5k | 2 | ~100 | ~3 | |
| 556 | ~3k–10k | 1 | ~30 | ~20 | |
| 517 | ~3k–10k | 1 | ~300 | ~2 | |
| 395 | ~2k–7k | 1 | ~500 | ~1 | |
| 356 | ~2k–5k | 1 | ~30 | ~10 | |
| 354 | ~2k–5k | 1 | ~50 | ~7 | |
| 297 | ~2k–5k | 1 | ~150 | ~2 | |
| 143 | ~1k–3k | 2 | ~50 | ~2 | |
| 131 | ~700–2k | 2 | ~70 | ~2 | |
| 262 | ~1.5k–5k | 1 | ~100 | ~2 | |
| 230 | ~1.5k–5k | 1 | ~70 | ~3 | |
| 107 | ~700–1.5k | 2 | ~50 | ~2 | |
| 151 | ~1k–3k | 1 | ~100 | ~2 | |
| 147 | ~1k–3k | 1 | ~100 | ~2 | |
| 100 | ~700–1.5k | 1 | ~200 | ~1 | |
| 92 | ~500–1.5k | 1 | ~20 | ~5 | |
| 79 | ~500–1.5k | 1 | ~30 | ~2 | |
| 69 | ~300–1k | 1 | ~70 | ~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 |
|---|---|---|
| 716 | 54 | |
| 1123 | 50 | |
| 424 | 44 | |
| 580 | 37 | |
| 331 | 37 | |
| 579 | 28 | |
| 349 | 24 | |
| 498 | 24 | |
| 427 | 23 | |
| 757 | 22 | |
| 166 | 18 | |
| 399 | 18 | |
| 356 | 18 | |
| 350 | 18 | |
| 181 | 18 | |
| 161 | 17 | |
| 127 | 17 | |
| 381 | 16 | |
| 199 | 13 | |
| 206 | 13 | |
| 82 | 13 | |
| 142 | 13 | |
| 110 | 13 | |
| 92 | 13 | |
| 299 | 13 | |
| 556 | 12 | |
| 106 | 11 | |
| 133 | 11 | |
| 131 | 11 | |
| 485 | 10 | |
| 443 | 10 | |
| 104 | 10 | |
| 97 | 10 | |
| 138 | 10 | |
| 212 | 9 | |
| 354 | 9 | |
| 501 | 9 | |
| 100 | 9 | |
| 982 | 9 | |
| 95 | 9 | |
| 88 | 9 | |
| 392 | 9 | |
| 76 | 8 | |
| 61 | 8 | |
| 64 | 8 | |
| 187 | 8 | |
| 63 | 8 | |
| 104 | 8 | |
| 112 | 8 | |
| 78 | 8 |
Files With Long Lines (Top 50)
There are 134 files with lines longer than 120 characters. In total, there are 2387 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 982 | 9 | 143 | |
| 757 | 22 | 139 | |
| 297 | 3 | 126 | |
| 556 | 12 | 104 | |
| 292 | 7 | 103 | |
| 262 | 2 | 95 | |
| 1123 | 50 | 81 | |
| 517 | 6 | 77 | |
| 485 | 10 | 73 | |
| 392 | 9 | 71 | |
| 443 | 10 | 64 | |
| 131 | 1 | 54 | |
| 579 | 28 | 46 | |
| 501 | 9 | 41 | |
| 498 | 24 | 39 | |
| 716 | 54 | 38 | |
| 398 | 6 | 37 | |
| 295 | 3 | 34 | |
| 283 | 3 | 33 | |
| 427 | 23 | 32 | |
| 580 | 37 | 32 | |
| 251 | 6 | 31 | |
| 212 | 9 | 31 | |
| 107 | 3 | 31 | |
| 354 | 9 | 29 | |
| 350 | 18 | 28 | |
| 179 | 4 | 27 | |
| 327 | 6 | 25 | |
| 331 | 37 | 24 | |
| 381 | 16 | 23 | |
| 356 | 18 | 23 | |
| 147 | 4 | 23 | |
| 151 | 4 | 23 | |
| 424 | 44 | 20 | |
| 135 | 4 | 20 | |
| 187 | 8 | 19 | |
| 222 | 7 | 19 | |
| 399 | 18 | 18 | |
| 199 | 13 | 18 | |
| 104 | 8 | 18 | |
| 141 | 6 | 17 | |
| 97 | 10 | 14 | |
| 181 | 18 | 14 | |
| 349 | 24 | 13 | |
| 79 | 5 | 12 | |
| 206 | 13 | 12 | |
| 230 | 3 | 12 | |
| 76 | 8 | 12 | |
| 97 | 6 | 12 | |
| 60 | 1 | 12 |
Correlations
File Size vs. Commits (all time): 200 points
|
|
1123.0 | lines of code min: 1.0average: 129.42 25th percentile: 26.25 median: 61.5 75th percentile: 142.75 max: 1123.0 |
|
| 0 | 137.0 | ||
|
commits (all time) min: 1.0 | average: 10.4 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 11.0 | max: 137.0
|
|||
File Size vs. Contributors (all time): 200 points
|
|
1123.0 | lines of code min: 1.0average: 129.42 25th percentile: 26.25 median: 61.5 75th percentile: 142.75 max: 1123.0 |
|
| 0 | 13.0 | ||
|
contributors (all time) min: 1.0 | average: 2.89 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 13.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