File Size Overall
- There are 811 files with 65,265 lines of code.
- 1 very long files (2,605 lines of code)
- 17 long files (10,978 lines of code)
- 57 medium size files (16,298 lines of code)
- 94 small files (13,411 lines of code)
- 642 very small files (21,973 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 |
|---|---|---|
| 2605 | - | |
| 960 | - | |
| 940 | 83 | |
| 730 | 22 | |
| 711 | 27 | |
| 678 | 36 | |
| 643 | 41 | |
| 635 | 1 | |
| 633 | - | |
| 596 | 37 | |
| 581 | 24 | |
| 576 | 20 | |
| 570 | 13 | |
| 561 | 25 | |
| 558 | 29 | |
| 549 | - | |
| 542 | 37 | |
| 515 | 41 | |
| 498 | 32 | |
| 472 | 29 | |
| 451 | 17 | |
| 440 | 23 | |
| 426 | 23 | |
| 422 | 27 | |
| 421 | 72 | |
| 382 | 14 | |
| 379 | 14 | |
| 372 | 35 | |
| 371 | - | |
| 361 | 18 | |
| 354 | 7 | |
| 336 | 8 | |
| 330 | 4 | |
| 328 | - | |
| 314 | - | |
| 293 | 60 | |
| 291 | 3 | |
| 283 | 5 | |
| 279 | 37 | |
| 277 | 54 | |
| 274 | 14 | |
| 269 | 19 | |
| 267 | 3 | |
| 262 | 8 | |
| 256 | 17 | |
| 256 | 2 | |
| 255 | 10 | |
| 253 | - | |
| 252 | 10 | |
| 251 | 7 |
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 |
|---|---|---|---|---|---|
| 2605 | ~15k–50k | 60 | ~20 | ~100 | |
| 711 | ~3k–10k | 142 | ~20 | ~30 | |
| 581 | ~3k–10k | 124 | ~20 | ~30 | |
| 730 | ~5k–15k | 84 | ~20 | ~30 | |
| 596 | ~3k–10k | 72 | ~20 | ~30 | |
| 451 | ~3k–7k | 68 | ~20 | ~20 | |
| 201 | ~1k–3k | 96 | ~20 | ~10 | |
| 570 | ~3k–10k | 33 | ~30 | ~20 | |
| 960 | ~5k–15k | 15 | ~30 | ~30 | |
| 678 | ~3k–10k | 21 | ~30 | ~20 | |
| 240 | ~1.5k–5k | 58 | ~15 | ~20 | |
| 515 | ~3k–10k | 26 | ~15 | ~30 | |
| 194 | ~1k–3k | 65 | ~20 | ~10 | |
| 220 | ~1.5k–5k | 56 | ~30 | ~7 | |
| 256 | ~1.5k–5k | 44 | ~10 | ~30 | |
| 361 | ~2k–7k | 30 | ~15 | ~30 | |
| 283 | ~1.5k–5k | 36 | ~10 | ~30 | |
| 291 | ~2k–5k | 34 | ~10 | ~20 | |
| 252 | ~1.5k–5k | 39 | ~30 | ~10 | |
| 202 | ~1k–3k | 44 | ~20 | ~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 |
|---|---|---|
| 940 | 83 | |
| 421 | 72 | |
| 293 | 60 | |
| 277 | 54 | |
| 643 | 41 | |
| 515 | 41 | |
| 596 | 37 | |
| 279 | 37 | |
| 542 | 37 | |
| 678 | 36 | |
| 372 | 35 | |
| 498 | 32 | |
| 222 | 30 | |
| 233 | 29 | |
| 558 | 29 | |
| 472 | 29 | |
| 422 | 27 | |
| 220 | 27 | |
| 711 | 27 | |
| 561 | 25 | |
| 581 | 24 | |
| 426 | 23 | |
| 440 | 23 | |
| 730 | 22 | |
| 246 | 22 | |
| 195 | 21 | |
| 229 | 21 | |
| 576 | 20 | |
| 269 | 19 | |
| 100 | 19 | |
| 173 | 18 | |
| 146 | 18 | |
| 106 | 18 | |
| 132 | 18 | |
| 361 | 18 | |
| 166 | 17 | |
| 81 | 17 | |
| 451 | 17 | |
| 256 | 17 | |
| 177 | 17 | |
| 106 | 16 | |
| 194 | 16 | |
| 182 | 15 | |
| 217 | 15 | |
| 172 | 15 | |
| 274 | 14 | |
| 150 | 14 | |
| 379 | 14 | |
| 188 | 14 | |
| 382 | 14 |
Files With Long Lines (Top 50)
There are 295 files with lines longer than 120 characters. In total, there are 1424 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 960 | - | 84 | |
| 678 | 36 | 52 | |
| 576 | 20 | 46 | |
| 241 | 9 | 38 | |
| 330 | 4 | 35 | |
| 2605 | - | 34 | |
| 581 | 24 | 32 | |
| 940 | 83 | 28 | |
| 189 | 12 | 24 | |
| 109 | 4 | 23 | |
| 711 | 27 | 22 | |
| 256 | 17 | 21 | |
| 643 | 41 | 19 | |
| 542 | 37 | 19 | |
| 221 | 1 | 19 | |
| 570 | 13 | 17 | |
| 217 | 15 | 17 | |
| 177 | - | 16 | |
| 245 | 7 | 15 | |
| 361 | 18 | 15 | |
| 269 | 19 | 14 | |
| 515 | 41 | 13 | |
| 372 | 35 | 12 | |
| 422 | 27 | 12 | |
| 240 | - | 11 | |
| 222 | 13 | 11 | |
| 142 | 14 | 11 | |
| 498 | 32 | 11 | |
| 176 | 8 | 11 | |
| 172 | 15 | 11 | |
| 172 | - | 10 | |
| 76 | - | 9 | |
| 177 | 13 | 9 | |
| 119 | 12 | 9 | |
| 229 | 21 | 9 | |
| 106 | 7 | 9 | |
| 730 | 22 | 8 | |
| 51 | - | 8 | |
| 314 | - | 8 | |
| 155 | 8 | 8 | |
| 164 | 12 | 8 | |
| 251 | 7 | 8 | |
| 233 | 29 | 8 | |
| 472 | 29 | 8 | |
| 175 | 7 | 8 | |
| 219 | 8 | 8 | |
| 188 | 6 | 8 | |
| 237 | - | 7 | |
| 561 | 25 | 7 | |
| 45 | - | 7 |
Correlations
File Size vs. Commits (all time): 811 points
|
|
2605.0 | lines of code min: 1.0average: 80.47 25th percentile: 16.0 median: 40.0 75th percentile: 85.0 max: 2605.0 |
|
| 0 | 1209.0 | ||
|
commits (all time) min: 1.0 | average: 35.26 | 25th percentile: 5.0 | median: 13.0 | 75th percentile: 33.0 | max: 1209.0
|
|||
File Size vs. Contributors (all time): 811 points
|
|
2605.0 | lines of code min: 1.0average: 80.47 25th percentile: 16.0 median: 40.0 75th percentile: 85.0 max: 2605.0 |
|
| 0 | 53.0 | ||
|
contributors (all time) min: 1.0 | average: 8.55 | 25th percentile: 3.0 | median: 6.0 | 75th percentile: 12.0 | max: 53.0
|
|||
File Size vs. Commits (30 days): 186 points
|
|
2605.0 | lines of code min: 5.0average: 145.11 25th percentile: 37.0 median: 75.0 75th percentile: 176.75 max: 2605.0 |
|
| 0 | 22.0 | ||
|
commits (30d) min: 1.0 | average: 3.87 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 5.0 | max: 22.0
|
|||
File Size vs. Contributors (30 days): 186 points
|
|
2605.0 | lines of code min: 5.0average: 145.11 25th percentile: 37.0 median: 75.0 75th percentile: 176.75 max: 2605.0 |
|
| 0 | 8.0 | ||
|
contributors (30d) min: 1.0 | average: 2.43 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 8.0
|
|||
File Size vs. Commits (90 days): 188 points
|
|
2605.0 | lines of code min: 5.0average: 144.0 25th percentile: 37.0 median: 73.5 75th percentile: 174.25 max: 2605.0 |
|
| 0 | 50.0 | ||
|
commits (90d) min: 2.0 | average: 7.46 | 25th percentile: 4.0 | median: 5.0 | 75th percentile: 8.0 | max: 50.0
|
|||
File Size vs. Contributors (90 days): 188 points
|
|
2605.0 | lines of code min: 5.0average: 144.0 25th percentile: 37.0 median: 73.5 75th percentile: 174.25 max: 2605.0 |
|
| 0 | 11.0 | ||
|
contributors (90d) min: 1.0 | average: 3.52 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 11.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