File Size Overall
- There are 67 files with 12,759 lines of code.
- 2 very long files (2,255 lines of code)
- 4 long files (2,485 lines of code)
- 16 medium size files (4,542 lines of code)
- 15 small files (2,231 lines of code)
- 30 very small files (1,246 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 |
|---|---|---|
| 1141 | - | |
| 1114 | - | |
| 751 | 16 | |
| 617 | 44 | |
| 598 | 19 | |
| 519 | 17 | |
| 458 | - | |
| 415 | 38 | |
| 364 | - | |
| 337 | - | |
| 306 | 13 | |
| 302 | 8 | |
| 271 | 5 | |
| 265 | 3 | |
| 253 | 6 | |
| 252 | - | |
| 249 | 13 | |
| 228 | 3 | |
| 219 | - | |
| 218 | 3 | |
| 203 | 7 | |
| 202 | 2 | |
| 190 | 1 | |
| 189 | - | |
| 187 | 16 | |
| 187 | 8 | |
| 161 | 6 | |
| 160 | - | |
| 159 | 15 | |
| 156 | 7 | |
| 139 | 8 | |
| 137 | 1 | |
| 123 | - | |
| 122 | 6 | |
| 118 | 5 | |
| 102 | 6 | |
| 101 | - | |
| 98 | 8 | |
| 93 | 2 | |
| 91 | 5 | |
| 85 | 8 | |
| 83 | - | |
| 71 | 2 | |
| 69 | 2 | |
| 68 | 8 | |
| 58 | - | |
| 56 | 4 | |
| 52 | 2 | |
| 47 | 1 | |
| 44 | 6 |
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 |
|---|---|---|---|---|---|
| 1114 | ~7k–20k | 4 | ~1,000 | ~1 | |
| 598 | ~3k–10k | 7 | ~300 | ~2 | |
| 458 | ~3k–7k | 6 | ~200 | ~2 | |
| 1141 | ~7k–20k | 2 | ~1,500 | ~1 | |
| 617 | ~3k–10k | 3 | ~500 | ~2 | |
| 751 | ~5k–15k | 2 | ~1,000 | ~1 | |
| 519 | ~3k–10k | 2 | ~500 | ~1 | |
| 415 | ~2k–7k | 2 | ~500 | ~1 | |
| 203 | ~1k–3k | 4 | ~150 | ~2 | |
| 265 | ~1.5k–5k | 3 | ~200 | ~2 | |
| 364 | ~2k–7k | 2 | ~500 | ~1 | |
| 228 | ~1.5k–5k | 3 | ~150 | ~2 | |
| 337 | ~2k–5k | 2 | ~300 | ~1 | |
| 306 | ~2k–5k | 2 | ~300 | ~1 | |
| 302 | ~2k–5k | 2 | ~300 | ~1 | |
| 189 | ~1k–3k | 3 | ~150 | ~2 | |
| 139 | ~700–2k | 4 | ~70 | ~2 | |
| 271 | ~1.5k–5k | 2 | ~300 | ~1 | |
| 253 | ~1.5k–5k | 2 | ~300 | ~1 | |
| 252 | ~1.5k–5k | 2 | ~300 | ~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 49)
| File | # lines | # units |
|---|---|---|
| 617 | 44 | |
| 415 | 38 | |
| 598 | 19 | |
| 519 | 17 | |
| 187 | 16 | |
| 751 | 16 | |
| 159 | 15 | |
| 249 | 13 | |
| 306 | 13 | |
| 85 | 8 | |
| 139 | 8 | |
| 68 | 8 | |
| 302 | 8 | |
| 98 | 8 | |
| 187 | 8 | |
| 203 | 7 | |
| 156 | 7 | |
| 44 | 6 | |
| 161 | 6 | |
| 122 | 6 | |
| 102 | 6 | |
| 253 | 6 | |
| 91 | 5 | |
| 271 | 5 | |
| 118 | 5 | |
| 56 | 4 | |
| 27 | 3 | |
| 19 | 3 | |
| 218 | 3 | |
| 22 | 3 | |
| 21 | 3 | |
| 39 | 3 | |
| 265 | 3 | |
| 228 | 3 | |
| 69 | 2 | |
| 202 | 2 | |
| 10 | 2 | |
| 93 | 2 | |
| 27 | 2 | |
| 71 | 2 | |
| 52 | 2 | |
| 190 | 1 | |
| 47 | 1 | |
| 11 | 1 | |
| 21 | 1 | |
| 32 | 1 | |
| 19 | 1 | |
| 33 | 1 | |
| 137 | 1 |
Files With Long Lines (Top 26)
There are 26 files with lines longer than 120 characters. In total, there are 95 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 302 | 8 | 15 | |
| 160 | - | 13 | |
| 101 | - | 9 | |
| 271 | 5 | 8 | |
| 202 | 2 | 7 | |
| 253 | 6 | 5 | |
| 71 | 2 | 4 | |
| 751 | 16 | 4 | |
| 19 | 3 | 3 | |
| 306 | 13 | 3 | |
| 415 | 38 | 3 | |
| 598 | 19 | 2 | |
| 161 | 6 | 2 | |
| 156 | 7 | 2 | |
| 98 | 8 | 2 | |
| 122 | 6 | 2 | |
| 56 | 4 | 2 | |
| 249 | 13 | 1 | |
| 69 | 2 | 1 | |
| 218 | 3 | 1 | |
| 22 | 3 | 1 | |
| 21 | 1 | 1 | |
| 187 | 8 | 1 | |
| 18 | - | 1 | |
| 219 | - | 1 | |
| 52 | 2 | 1 |
Correlations
File Size vs. Commits (all time): 67 points
|
|
1141.0 | lines of code min: 1.0average: 190.43 25th percentile: 39.0 median: 122.0 75th percentile: 249.0 max: 1141.0 |
|
| 0 | 7.0 | ||
|
commits (all time) min: 2.0 | average: 2.42 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 7.0
|
|||
File Size vs. Contributors (all time): 67 points
|
|
1141.0 | lines of code min: 1.0average: 190.43 25th percentile: 39.0 median: 122.0 75th percentile: 249.0 max: 1141.0 |
|
| 0 | 2.0 | ||
|
contributors (all time) min: 1.0 | average: 1.18 | 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): 62 points
|
|
1141.0 | lines of code min: 1.0average: 187.15 25th percentile: 32.75 median: 110.0 75th percentile: 221.25 max: 1141.0 |
|
| 0 | 5.0 | ||
|
commits (90d) min: 2.0 | average: 2.29 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 5.0
|
|||
File Size vs. Contributors (90 days): 62 points
|
|
1141.0 | lines of code min: 1.0average: 187.15 25th percentile: 32.75 median: 110.0 75th percentile: 221.25 max: 1141.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.16 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.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