File Size Overall
- There are 479 files with 40,791 lines of code.
- 2 very long files (4,857 lines of code)
- 1 long files (511 lines of code)
- 37 medium size files (10,853 lines of code)
- 93 small files (13,215 lines of code)
- 346 very small files (11,355 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 |
|---|---|---|
| 3852 | - | |
| 1005 | - | |
| 511 | 1 | |
| 496 | - | |
| 419 | 2 | |
| 402 | - | |
| 395 | - | |
| 382 | - | |
| 378 | - | |
| 354 | - | |
| 331 | - | |
| 322 | 4 | |
| 321 | - | |
| 321 | 2 | |
| 312 | 1 | |
| 298 | - | |
| 295 | 2 | |
| 294 | - | |
| 289 | 4 | |
| 288 | - | |
| 287 | - | |
| 281 | - | |
| 271 | - | |
| 269 | - | |
| 269 | - | |
| 268 | - | |
| 260 | 7 | |
| 258 | 3 | |
| 257 | 1 | |
| 243 | - | |
| 243 | - | |
| 243 | - | |
| 238 | - | |
| 237 | - | |
| 234 | 5 | |
| 230 | - | |
| 219 | 6 | |
| 219 | - | |
| 219 | - | |
| 211 | - | |
| 200 | 3 | |
| 199 | - | |
| 192 | - | |
| 191 | 5 | |
| 190 | 3 | |
| 188 | - | |
| 186 | - | |
| 185 | - | |
| 185 | - | |
| 184 | 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 |
|---|---|---|---|---|---|
| 104 | ~700–1.5k | 116 | ~5 | ~20 | |
| 378 | ~2k–7k | 25 | ~200 | ~2 | |
| 271 | ~1.5k–5k | 34 | ~70 | ~5 | |
| 3852 | ~20k–70k | 2 | ~3,000 | ~1 | |
| 192 | ~1k–3k | 36 | ~30 | ~5 | |
| 331 | ~2k–5k | 20 | ~100 | ~3 | |
| 312 | ~2k–5k | 19 | ~50 | ~5 | |
| 238 | ~1.5k–5k | 24 | ~30 | ~7 | |
| 74 | ~500–1.5k | 76 | ~15 | ~5 | |
| 110 | ~700–2k | 50 | ~30 | ~5 | |
| 101 | ~700–1.5k | 50 | ~15 | ~7 | |
| 395 | ~2k–7k | 12 | ~200 | ~2 | |
| 511 | ~3k–10k | 9 | ~200 | ~3 | |
| 199 | ~1k–3k | 22 | ~100 | ~2 | |
| 289 | ~2k–5k | 14 | ~50 | ~5 | |
| 181 | ~1k–3k | 22 | ~30 | ~5 | |
| 295 | ~2k–5k | 13 | ~100 | ~3 | |
| 402 | ~2k–7k | 9 | ~300 | ~2 | |
| 200 | ~1k–3k | 18 | ~50 | ~5 | |
| 157 | ~1k–3k | 22 | ~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 50)
| File | # lines | # units |
|---|---|---|
| 260 | 7 | |
| 219 | 6 | |
| 184 | 5 | |
| 191 | 5 | |
| 153 | 5 | |
| 234 | 5 | |
| 157 | 4 | |
| 289 | 4 | |
| 322 | 4 | |
| 200 | 3 | |
| 190 | 3 | |
| 133 | 3 | |
| 258 | 3 | |
| 120 | 2 | |
| 121 | 2 | |
| 125 | 2 | |
| 105 | 2 | |
| 295 | 2 | |
| 321 | 2 | |
| 165 | 2 | |
| 144 | 2 | |
| 55 | 2 | |
| 419 | 2 | |
| 35 | 2 | |
| 30 | 1 | |
| 27 | 1 | |
| 51 | 1 | |
| 30 | 1 | |
| 74 | 1 | |
| 18 | 1 | |
| 72 | 1 | |
| 66 | 1 | |
| 511 | 1 | |
| 13 | 1 | |
| 30 | 1 | |
| 13 | 1 | |
| 134 | 1 | |
| 35 | 1 | |
| 55 | 1 | |
| 65 | 1 | |
| 181 | 1 | |
| 312 | 1 | |
| 95 | 1 | |
| 41 | 1 | |
| 79 | 1 | |
| 70 | 1 | |
| 30 | 1 | |
| 44 | 1 | |
| 72 | 1 | |
| 44 | 1 |
Files With Long Lines (Top 50)
There are 50 files with lines longer than 120 characters. In total, there are 142 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 281 | - | 18 | |
| 496 | - | 9 | |
| 243 | - | 8 | |
| 127 | - | 6 | |
| 211 | - | 6 | |
| 82 | - | 5 | |
| 321 | - | 4 | |
| 268 | - | 4 | |
| 269 | - | 4 | |
| 219 | - | 4 | |
| 78 | - | 4 | |
| 219 | - | 4 | |
| 107 | - | 4 | |
| 91 | - | 3 | |
| 96 | - | 3 | |
| 312 | 1 | 3 | |
| 152 | - | 3 | |
| 89 | - | 3 | |
| 78 | - | 3 | |
| 289 | 4 | 2 | |
| 137 | - | 2 | |
| 269 | - | 2 | |
| 137 | - | 2 | |
| 144 | - | 2 | |
| 44 | - | 2 | |
| 382 | - | 2 | |
| 243 | - | 2 | |
| 288 | - | 2 | |
| 121 | - | 2 | |
| 110 | - | 2 | |
| 115 | - | 2 | |
| 36 | - | 2 | |
| 27 | 1 | 1 | |
| 157 | 4 | 1 | |
| 200 | 3 | 1 | |
| 74 | 1 | 1 | |
| 18 | - | 1 | |
| 167 | - | 1 | |
| 511 | 1 | 1 | |
| 55 | 1 | 1 | |
| 79 | - | 1 | |
| 176 | - | 1 | |
| 183 | - | 1 | |
| 48 | - | 1 | |
| 94 | - | 1 | |
| 165 | 2 | 1 | |
| 182 | - | 1 | |
| 419 | 2 | 1 | |
| 10 | - | 1 | |
| 5 | - | 1 |
Correlations
File Size vs. Commits (all time): 479 points
|
|
3852.0 | lines of code min: 1.0average: 85.16 25th percentile: 16.0 median: 42.0 75th percentile: 108.0 max: 3852.0 |
|
| 0 | 119.0 | ||
|
commits (all time) min: 1.0 | average: 6.93 | 25th percentile: 3.0 | median: 4.0 | 75th percentile: 9.0 | max: 119.0
|
|||
File Size vs. Contributors (all time): 479 points
|
|
3852.0 | lines of code min: 1.0average: 85.16 25th percentile: 16.0 median: 42.0 75th percentile: 108.0 max: 3852.0 |
|
| 0 | 14.0 | ||
|
contributors (all time) min: 1.0 | average: 2.81 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 3.0 | max: 14.0
|
|||
File Size vs. Commits (30 days): 113 points
|
|
402.0 | lines of code min: 4.0average: 75.03 25th percentile: 20.5 median: 54.0 75th percentile: 104.5 max: 402.0 |
|
| 0 | 17.0 | ||
|
commits (30d) min: 1.0 | average: 2.59 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 17.0
|
|||
File Size vs. Contributors (30 days): 113 points
|
|
402.0 | lines of code min: 4.0average: 75.03 25th percentile: 20.5 median: 54.0 75th percentile: 104.5 max: 402.0 |
|
| 0 | 6.0 | ||
|
contributors (30d) min: 1.0 | average: 1.64 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 6.0
|
|||
File Size vs. Commits (90 days): 213 points
|
|
511.0 | lines of code min: 4.0average: 80.98 25th percentile: 21.5 median: 55.0 75th percentile: 109.0 max: 511.0 |
|
| 0 | 32.0 | ||
|
commits (90d) min: 2.0 | average: 4.78 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 6.0 | max: 32.0
|
|||
File Size vs. Contributors (90 days): 213 points
|
|
511.0 | lines of code min: 4.0average: 80.98 25th percentile: 21.5 median: 55.0 75th percentile: 109.0 max: 511.0 |
|
| 0 | 9.0 | ||
|
contributors (90d) min: 1.0 | average: 2.69 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 3.0 | max: 9.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