File Size Overall
- There are 681 files with 33,438 lines of code.
- 3 very long files (4,699 lines of code)
- 6 long files (4,241 lines of code)
- 25 medium size files (7,699 lines of code)
- 46 small files (6,743 lines of code)
- 601 very small files (10,056 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 |
|---|---|---|
| 2343 | - | |
| 1287 | - | |
| 1069 | - | |
| 953 | - | |
| 775 | - | |
| 745 | - | |
| 653 | - | |
| 607 | - | |
| 508 | - | |
| 493 | - | |
| 476 | - | |
| 468 | - | |
| 410 | - | |
| 400 | - | |
| 393 | - | |
| 359 | 1 | |
| 347 | - | |
| 341 | - | |
| 338 | - | |
| 323 | - | |
| 298 | - | |
| 261 | - | |
| 257 | - | |
| 256 | - | |
| 249 | 1 | |
| 247 | - | |
| 238 | 1 | |
| 231 | - | |
| 229 | - | |
| 228 | - | |
| 226 | - | |
| 219 | - | |
| 208 | - | |
| 204 | - | |
| 199 | 1 | |
| 197 | - | |
| 197 | - | |
| 196 | - | |
| 192 | - | |
| 191 | - | |
| 189 | - | |
| 189 | - | |
| 188 | - | |
| 183 | - | |
| 179 | - | |
| 175 | - | |
| 165 | - | |
| 163 | - | |
| 159 | - | |
| 158 | - |
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 |
|---|---|---|---|---|---|
| 1287 | ~7k–20k | 1 | ~2 | ~700 | |
| 745 | ~5k–15k | 1 | ~2 | ~300 | |
| 238 | ~1.5k–5k | 2 | ~3 | ~70 | |
| 476 | ~3k–7k | 1 | ~3 | ~100 | |
| 147 | ~1k–3k | 3 | ~7 | ~20 | |
| 393 | ~2k–7k | 1 | ~2 | ~200 | |
| 191 | ~1k–3k | 2 | ~3 | ~50 | |
| 359 | ~2k–7k | 1 | ~2 | ~200 | |
| 347 | ~2k–5k | 1 | ~2 | ~150 | |
| 341 | ~2k–5k | 1 | ~2 | ~150 | |
| 298 | ~2k–5k | 1 | ~2 | ~150 | |
| 256 | ~1.5k–5k | 1 | ~2 | ~150 | |
| 249 | ~1.5k–5k | 1 | ~2 | ~100 | |
| 219 | ~1.5k–5k | 1 | ~3 | ~70 | |
| 208 | ~1k–3k | 1 | ~2 | ~100 | |
| 204 | ~1k–3k | 1 | ~2 | ~100 | |
| 199 | ~1k–3k | 1 | ~2 | ~100 | |
| 165 | ~1k–3k | 1 | ~2 | ~70 | |
| 147 | ~1k–3k | 1 | ~2 | ~70 | |
| 141 | ~700–2k | 1 | ~30 | ~5 |
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 29)
| File | # lines | # units |
|---|---|---|
| 31 | 10 | |
| 98 | 5 | |
| 46 | 3 | |
| 45 | 3 | |
| 32 | 3 | |
| 63 | 3 | |
| 140 | 2 | |
| 51 | 2 | |
| 18 | 2 | |
| 68 | 1 | |
| 249 | 1 | |
| 106 | 1 | |
| 105 | 1 | |
| 199 | 1 | |
| 7 | 1 | |
| 112 | 1 | |
| 238 | 1 | |
| 139 | 1 | |
| 21 | 1 | |
| 359 | 1 | |
| 21 | 1 | |
| 10 | 1 | |
| 19 | 1 | |
| 7 | 1 | |
| 28 | 1 | |
| 6 | 1 | |
| 8 | 1 | |
| 141 | 1 | |
| 5 | 1 |
Files With Long Lines (Top 50)
There are 445 files with lines longer than 120 characters. In total, there are 695 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 52 | - | 11 | |
| 34 | - | 10 | |
| 49 | - | 9 | |
| 34 | - | 7 | |
| 28 | - | 6 | |
| 28 | - | 6 | |
| 28 | - | 6 | |
| 40 | - | 6 | |
| 28 | - | 6 | |
| 192 | - | 5 | |
| 26 | - | 5 | |
| 28 | - | 5 | |
| 26 | - | 5 | |
| 26 | - | 5 | |
| 28 | - | 5 | |
| 28 | - | 5 | |
| 20 | - | 4 | |
| 20 | - | 4 | |
| 22 | - | 4 | |
| 8 | - | 4 | |
| 20 | - | 4 | |
| 22 | - | 4 | |
| 20 | - | 4 | |
| 20 | - | 4 | |
| 20 | - | 4 | |
| 20 | - | 4 | |
| 20 | - | 4 | |
| 20 | - | 4 | |
| 20 | - | 4 | |
| 20 | - | 4 | |
| 20 | - | 4 | |
| 20 | - | 3 | |
| 18 | - | 3 | |
| 18 | - | 3 | |
| 18 | - | 3 | |
| 18 | - | 3 | |
| 21 | - | 3 | |
| 18 | - | 3 | |
| 24 | - | 3 | |
| 18 | - | 3 | |
| 18 | - | 3 | |
| 18 | - | 3 | |
| 18 | - | 3 | |
| 18 | - | 3 | |
| 18 | - | 3 | |
| 18 | - | 3 | |
| 18 | - | 3 | |
| 18 | - | 3 | |
| 18 | - | 3 | |
| 18 | - | 3 |
Correlations
File Size vs. Commits (all time): 48 points
|
|
1287.0 | lines of code min: 6.0average: 177.25 25th percentile: 48.5 median: 129.5 75th percentile: 216.25 max: 1287.0 |
|
| 0 | 3.0 | ||
|
commits (all time) min: 1.0 | average: 1.08 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0
|
|||
File Size vs. Contributors (all time): 48 points
|
|
1287.0 | lines of code min: 6.0average: 177.25 25th percentile: 48.5 median: 129.5 75th percentile: 216.25 max: 1287.0 |
|
| 0 | 2.0 | ||
|
contributors (all time) min: 1.0 | average: 1.04 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.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