File Size Overall
- There are 680 files with 46,731 lines of code.
- 5 very long files (5,710 lines of code)
- 7 long files (4,812 lines of code)
- 37 medium size files (12,360 lines of code)
- 56 small files (8,370 lines of code)
- 575 very small files (15,479 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 |
|---|---|---|
| 1342 | 140 | |
| 1155 | 24 | |
| 1137 | 53 | |
| 1063 | 28 | |
| 1013 | 24 | |
| 913 | 22 | |
| 898 | 37 | |
| 820 | 41 | |
| 593 | 24 | |
| 561 | 36 | |
| 522 | 19 | |
| 505 | 11 | |
| 477 | 22 | |
| 436 | 37 | |
| 417 | 15 | |
| 414 | 89 | |
| 411 | 14 | |
| 408 | 19 | |
| 403 | 12 | |
| 396 | 23 | |
| 391 | 14 | |
| 388 | 24 | |
| 387 | 12 | |
| 386 | - | |
| 381 | 14 | |
| 380 | 26 | |
| 377 | 17 | |
| 371 | 19 | |
| 355 | 33 | |
| 354 | 20 | |
| 346 | 14 | |
| 343 | 4 | |
| 340 | 25 | |
| 329 | 12 | |
| 316 | 16 | |
| 312 | 14 | |
| 301 | 26 | |
| 301 | 14 | |
| 283 | 24 | |
| 277 | 21 | |
| 263 | 13 | |
| 257 | 26 | |
| 252 | 29 | |
| 228 | 3 | |
| 227 | 22 | |
| 221 | 9 | |
| 218 | 7 | |
| 211 | 10 | |
| 203 | 7 | |
| 200 | 15 |
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 |
|---|---|---|---|---|---|
| 820 | ~5k–15k | 4 | ~50 | ~20 | |
| 522 | ~3k–10k | 5 | ~150 | ~3 | |
| 403 | ~2k–7k | 6 | ~20 | ~15 | |
| 1155 | ~7k–20k | 2 | ~150 | ~7 | |
| 408 | ~2k–7k | 5 | ~200 | ~2 | |
| 1013 | ~7k–15k | 2 | ~70 | ~15 | |
| 329 | ~2k–5k | 4 | ~150 | ~2 | |
| 191 | ~1k–3k | 6 | ~20 | ~7 | |
| 898 | ~5k–15k | 1 | ~70 | ~10 | |
| 436 | ~3k–7k | 2 | ~50 | ~7 | |
| 387 | ~2k–7k | 2 | ~30 | ~10 | |
| 377 | ~2k–7k | 2 | ~20 | ~15 | |
| 166 | ~1k–3k | 4 | ~30 | ~5 | |
| 163 | ~1k–3k | 3 | ~100 | ~2 | |
| 157 | ~1k–3k | 3 | ~70 | ~2 | |
| 218 | ~1.5k–5k | 2 | ~15 | ~15 | |
| 414 | ~2k–7k | 1 | ~20 | ~20 | |
| 170 | ~1k–3k | 2 | ~20 | ~7 | |
| 111 | ~700–2k | 3 | ~70 | ~2 | |
| 165 | ~1k–3k | 2 | ~150 | ~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 50)
| File | # lines | # units |
|---|---|---|
| 1342 | 140 | |
| 414 | 89 | |
| 1137 | 53 | |
| 820 | 41 | |
| 436 | 37 | |
| 898 | 37 | |
| 561 | 36 | |
| 355 | 33 | |
| 252 | 29 | |
| 1063 | 28 | |
| 301 | 26 | |
| 257 | 26 | |
| 380 | 26 | |
| 107 | 26 | |
| 340 | 25 | |
| 283 | 24 | |
| 388 | 24 | |
| 1155 | 24 | |
| 1013 | 24 | |
| 593 | 24 | |
| 105 | 23 | |
| 396 | 23 | |
| 913 | 22 | |
| 189 | 22 | |
| 70 | 22 | |
| 227 | 22 | |
| 477 | 22 | |
| 277 | 21 | |
| 354 | 20 | |
| 163 | 19 | |
| 522 | 19 | |
| 408 | 19 | |
| 166 | 19 | |
| 371 | 19 | |
| 163 | 17 | |
| 377 | 17 | |
| 163 | 17 | |
| 144 | 17 | |
| 154 | 17 | |
| 78 | 17 | |
| 131 | 16 | |
| 316 | 16 | |
| 417 | 15 | |
| 200 | 15 | |
| 411 | 14 | |
| 312 | 14 | |
| 196 | 14 | |
| 381 | 14 | |
| 301 | 14 | |
| 69 | 14 |
Files With Long Lines (Top 8)
There are 8 files with lines longer than 120 characters. In total, there are 19 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 104 | 1 | 6 | |
| 1137 | 53 | 5 | |
| 1063 | 28 | 2 | |
| 355 | 33 | 2 | |
| 123 | 12 | 1 | |
| 44 | - | 1 | |
| 47 | - | 1 | |
| 47 | - | 1 |
Correlations
File Size vs. Commits (all time): 680 points
|
|
1342.0 | lines of code min: 1.0average: 68.72 25th percentile: 11.0 median: 25.0 75th percentile: 62.0 max: 1342.0 |
|
| 0 | 68.0 | ||
|
commits (all time) min: 1.0 | average: 4.81 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 6.0 | max: 68.0
|
|||
File Size vs. Contributors (all time): 680 points
|
|
1342.0 | lines of code min: 1.0average: 68.72 25th percentile: 11.0 median: 25.0 75th percentile: 62.0 max: 1342.0 |
|
| 0 | 13.0 | ||
|
contributors (all time) min: 1.0 | average: 2.58 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 13.0
|
|||
File Size vs. Commits (30 days): 15 points
|
|
820.0 | lines of code min: 1.0average: 146.73 25th percentile: 45.0 median: 76.0 75th percentile: 165.0 max: 820.0 |
|
| 0 | 2.0 | ||
|
commits (30d) min: 1.0 | average: 1.13 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Contributors (30 days): 15 points
|
|
820.0 | lines of code min: 1.0average: 146.73 25th percentile: 45.0 median: 76.0 75th percentile: 165.0 max: 820.0 |
|
| 0 | 1.0 | ||
|
contributors (30d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Commits (90 days): 45 points
|
|
1155.0 | lines of code min: 1.0average: 187.07 25th percentile: 45.0 median: 99.0 75th percentile: 210.5 max: 1155.0 |
|
| 0 | 3.0 | ||
|
commits (90d) min: 1.0 | average: 1.4 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 3.0
|
|||
File Size vs. Contributors (90 days): 45 points
|
|
1155.0 | lines of code min: 1.0average: 187.07 25th percentile: 45.0 median: 99.0 75th percentile: 210.5 max: 1155.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.24 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.5 | 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