File Size Overall
- There are 176 files with 13,242 lines of code.
- 0 very long files (0 lines of code)
- 1 long files (586 lines of code)
- 13 medium size files (3,821 lines of code)
- 26 small files (3,581 lines of code)
- 136 very small files (5,254 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 |
|---|---|---|
| 586 | 135 | |
| 455 | 144 | |
| 413 | 14 | |
| 335 | 24 | |
| 331 | 21 | |
| 325 | 17 | |
| 308 | 14 | |
| 298 | 19 | |
| 264 | 15 | |
| 237 | 14 | |
| 230 | 34 | |
| 214 | 8 | |
| 209 | 8 | |
| 202 | 13 | |
| 199 | 10 | |
| 173 | 9 | |
| 172 | 14 | |
| 168 | 7 | |
| 167 | 11 | |
| 164 | 6 | |
| 158 | 36 | |
| 152 | 14 | |
| 152 | 10 | |
| 148 | 6 | |
| 142 | 6 | |
| 139 | 11 | |
| 132 | 8 | |
| 130 | 15 | |
| 130 | 5 | |
| 129 | 10 | |
| 125 | 12 | |
| 124 | 4 | |
| 120 | 19 | |
| 119 | 4 | |
| 118 | 12 | |
| 107 | 8 | |
| 106 | 5 | |
| 104 | 8 | |
| 102 | 8 | |
| 101 | 5 | |
| 99 | 4 | |
| 97 | 24 | |
| 95 | 14 | |
| 95 | 6 | |
| 95 | 20 | |
| 94 | 6 | |
| 93 | 6 | |
| 92 | 3 | |
| 92 | 6 | |
| 89 | 3 |
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 |
|---|---|---|---|---|---|
| 413 | ~2k–7k | 5 | ~30 | ~15 | |
| 455 | ~3k–7k | 1 | ~150 | ~3 | |
| 331 | ~2k–5k | 1 | ~70 | ~5 | |
| 124 | ~700–2k | 2 | ~30 | ~3 | |
| 237 | ~1.5k–5k | 1 | ~100 | ~2 | |
| 95 | ~500–1.5k | 2 | ~20 | ~3 | |
| 173 | ~1k–3k | 1 | ~30 | ~5 | |
| 152 | ~1k–3k | 1 | ~50 | ~3 | |
| 68 | ~300–1k | 2 | ~50 | ~2 | |
| 129 | ~700–2k | 1 | ~70 | ~2 | |
| 99 | ~500–1.5k | 1 | ~50 | ~2 | |
| 92 | ~500–1.5k | 1 | ~50 | ~2 | |
| 40 | under 1k | 2 | ~15 | ~2 | |
| 68 | ~300–1k | 1 | ~20 | ~3 | |
| 67 | ~300–1k | 1 | ~20 | ~3 | |
| 61 | ~300–1k | 1 | ~30 | ~2 | |
| 55 | ~300–1k | 1 | ~50 | ~1 | |
| 42 | under 1k | 1 | ~70 | ~1 | |
| 27 | under 1k | 1 | ~15 | ~2 | |
| 17 | under 1k | 1 | ~30 | ~0 |
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 |
|---|---|---|
| 455 | 144 | |
| 586 | 135 | |
| 158 | 36 | |
| 230 | 34 | |
| 97 | 24 | |
| 335 | 24 | |
| 331 | 21 | |
| 95 | 20 | |
| 298 | 19 | |
| 120 | 19 | |
| 325 | 17 | |
| 89 | 17 | |
| 264 | 15 | |
| 130 | 15 | |
| 95 | 14 | |
| 152 | 14 | |
| 172 | 14 | |
| 308 | 14 | |
| 413 | 14 | |
| 237 | 14 | |
| 65 | 13 | |
| 202 | 13 | |
| 125 | 12 | |
| 118 | 12 | |
| 167 | 11 | |
| 139 | 11 | |
| 199 | 10 | |
| 44 | 10 | |
| 65 | 10 | |
| 152 | 10 | |
| 129 | 10 | |
| 46 | 9 | |
| 173 | 9 | |
| 74 | 9 | |
| 68 | 9 | |
| 46 | 9 | |
| 63 | 9 | |
| 31 | 8 | |
| 132 | 8 | |
| 75 | 8 | |
| 107 | 8 | |
| 102 | 8 | |
| 64 | 8 | |
| 209 | 8 | |
| 104 | 8 | |
| 214 | 8 | |
| 55 | 8 | |
| 83 | 7 | |
| 78 | 7 | |
| 42 | 7 |
Files With Long Lines (Top 16)
There are 16 files with lines longer than 120 characters. In total, there are 27 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 325 | 17 | 4 | |
| 413 | 14 | 4 | |
| 335 | 24 | 3 | |
| 142 | 6 | 2 | |
| 214 | 8 | 2 | |
| 130 | 5 | 2 | |
| 152 | 14 | 1 | |
| 172 | 14 | 1 | |
| 164 | 6 | 1 | |
| 77 | 2 | 1 | |
| 102 | 8 | 1 | |
| 209 | 8 | 1 | |
| 68 | 4 | 1 | |
| 61 | 2 | 1 | |
| 79 | 4 | 1 | |
| 139 | 11 | 1 |
Correlations
File Size vs. Commits (all time): 176 points
|
|
586.0 | lines of code min: 3.0average: 75.24 25th percentile: 17.25 median: 48.0 75th percentile: 95.0 max: 586.0 |
|
| 0 | 108.0 | ||
|
commits (all time) min: 1.0 | average: 11.9 | 25th percentile: 2.0 | median: 7.5 | 75th percentile: 14.75 | max: 108.0
|
|||
File Size vs. Contributors (all time): 176 points
|
|
586.0 | lines of code min: 3.0average: 75.24 25th percentile: 17.25 median: 48.0 75th percentile: 95.0 max: 586.0 |
|
| 0 | 17.0 | ||
|
contributors (all time) min: 1.0 | average: 4.59 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 7.0 | max: 17.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