File Size Overall
- There are 351 files with 28,365 lines of code.
- 0 very long files (0 lines of code)
- 6 long files (3,870 lines of code)
- 23 medium size files (7,057 lines of code)
- 51 small files (6,906 lines of code)
- 271 very small files (10,532 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 |
|---|---|---|
| 838 | 89 | |
| 697 | 59 | |
| 667 | 37 | |
| 596 | 20 | |
| 540 | 27 | |
| 532 | 53 | |
| 489 | 28 | |
| 482 | 7 | |
| 478 | 32 | |
| 393 | 26 | |
| 382 | 54 | |
| 368 | 30 | |
| 345 | 12 | |
| 339 | 12 | |
| 332 | 22 | |
| 327 | 14 | |
| 292 | 30 | |
| 284 | 15 | |
| 278 | 18 | |
| 277 | 21 | |
| 268 | 13 | |
| 265 | 13 | |
| 218 | 24 | |
| 211 | 14 | |
| 209 | 39 | |
| 206 | 26 | |
| 206 | 9 | |
| 205 | 10 | |
| 203 | 15 | |
| 188 | 25 | |
| 188 | 21 | |
| 179 | 10 | |
| 177 | 4 | |
| 177 | 20 | |
| 172 | 19 | |
| 169 | 9 | |
| 167 | 17 | |
| 163 | 9 | |
| 161 | 9 | |
| 155 | 11 | |
| 151 | 23 | |
| 148 | 19 | |
| 146 | 12 | |
| 145 | 12 | |
| 144 | 13 | |
| 143 | 4 | |
| 143 | 15 | |
| 142 | 6 | |
| 142 | 8 | |
| 141 | 11 |
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 |
|---|---|---|---|---|---|
| 667 | ~3k–10k | 8 | ~50 | ~15 | |
| 489 | ~3k–7k | 5 | ~50 | ~10 | |
| 265 | ~1.5k–5k | 7 | ~30 | ~10 | |
| 532 | ~3k–10k | 3 | ~150 | ~3 | |
| 345 | ~2k–5k | 3 | ~20 | ~15 | |
| 177 | ~1k–3k | 5 | ~30 | ~5 | |
| 838 | ~5k–15k | 1 | ~50 | ~15 | |
| 209 | ~1k–3k | 4 | ~50 | ~5 | |
| 206 | ~1k–3k | 4 | ~15 | ~15 | |
| 368 | ~2k–7k | 2 | ~100 | ~3 | |
| 596 | ~3k–10k | 1 | ~50 | ~10 | |
| 292 | ~2k–5k | 2 | ~30 | ~7 | |
| 278 | ~1.5k–5k | 2 | ~50 | ~5 | |
| 540 | ~3k–10k | 1 | ~50 | ~10 | |
| 268 | ~1.5k–5k | 2 | ~30 | ~10 | |
| 482 | ~3k–7k | 1 | ~70 | ~7 | |
| 478 | ~3k–7k | 1 | ~150 | ~3 | |
| 155 | ~1k–3k | 3 | ~20 | ~7 | |
| 218 | ~1.5k–5k | 2 | ~30 | ~7 | |
| 393 | ~2k–7k | 1 | ~50 | ~10 |
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 |
|---|---|---|
| 838 | 89 | |
| 697 | 59 | |
| 382 | 54 | |
| 532 | 53 | |
| 209 | 39 | |
| 667 | 37 | |
| 478 | 32 | |
| 292 | 30 | |
| 368 | 30 | |
| 489 | 28 | |
| 540 | 27 | |
| 393 | 26 | |
| 206 | 26 | |
| 188 | 25 | |
| 138 | 24 | |
| 218 | 24 | |
| 151 | 23 | |
| 110 | 23 | |
| 332 | 22 | |
| 188 | 21 | |
| 277 | 21 | |
| 125 | 20 | |
| 177 | 20 | |
| 121 | 20 | |
| 596 | 20 | |
| 148 | 19 | |
| 172 | 19 | |
| 278 | 18 | |
| 111 | 17 | |
| 133 | 17 | |
| 60 | 17 | |
| 139 | 17 | |
| 167 | 17 | |
| 85 | 17 | |
| 110 | 16 | |
| 92 | 16 | |
| 284 | 15 | |
| 92 | 15 | |
| 203 | 15 | |
| 143 | 15 | |
| 120 | 15 | |
| 120 | 14 | |
| 83 | 14 | |
| 122 | 14 | |
| 95 | 14 | |
| 327 | 14 | |
| 107 | 14 | |
| 211 | 14 | |
| 122 | 13 | |
| 134 | 13 |
Files With Long Lines (Top 2)
There are 2 files with lines longer than 120 characters. In total, there are 2 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 292 | 30 | 1 | |
| 88 | 10 | 1 |
Correlations
File Size vs. Commits (all time): 351 points
|
|
838.0 | lines of code min: 1.0average: 80.81 25th percentile: 21.0 median: 44.0 75th percentile: 92.0 max: 838.0 |
|
| 0 | 85.0 | ||
|
commits (all time) min: 1.0 | average: 7.66 | 25th percentile: 2.0 | median: 5.0 | 75th percentile: 10.0 | max: 85.0
|
|||
File Size vs. Contributors (all time): 351 points
|
|
838.0 | lines of code min: 1.0average: 80.81 25th percentile: 21.0 median: 44.0 75th percentile: 92.0 max: 838.0 |
|
| 0 | 7.0 | ||
|
contributors (all time) min: 1.0 | average: 1.47 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 7.0
|
|||
File Size vs. Commits (30 days): 16 points
|
|
667.0 | lines of code min: 32.0average: 126.69 25th percentile: 60.25 median: 71.0 75th percentile: 113.5 max: 667.0 |
|
| 0 | 3.0 | ||
|
commits (30d) min: 1.0 | average: 1.31 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.75 | max: 3.0
|
|||
File Size vs. Contributors (30 days): 16 points
|
|
667.0 | lines of code min: 32.0average: 126.69 25th percentile: 60.25 median: 71.0 75th percentile: 113.5 max: 667.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.06 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 28 points
|
|
838.0 | lines of code min: 6.0average: 159.68 25th percentile: 61.75 median: 85.5 75th percentile: 168.0 max: 838.0 |
|
| 0 | 4.0 | ||
|
commits (90d) min: 1.0 | average: 1.36 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.75 | max: 4.0
|
|||
File Size vs. Contributors (90 days): 28 points
|
|
838.0 | lines of code min: 6.0average: 159.68 25th percentile: 61.75 median: 85.5 75th percentile: 168.0 max: 838.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.11 | 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