File Size Overall
- There are 1,036 files with 126,221 lines of code.
- 16 very long files (25,176 lines of code)
- 25 long files (17,857 lines of code)
- 108 medium size files (34,744 lines of code)
- 161 small files (22,739 lines of code)
- 726 very small files (25,705 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 |
|---|---|---|
| 3498 | 151 | |
| 2485 | 82 | |
| 2213 | 72 | |
| 2128 | 237 | |
| 1602 | 125 | |
| 1467 | 83 | |
| 1467 | 63 | |
| 1435 | 44 | |
| 1302 | 57 | |
| 1159 | 105 | |
| 1110 | 75 | |
| 1108 | 39 | |
| 1089 | 81 | |
| 1056 | 55 | |
| 1043 | 106 | |
| 1014 | 45 | |
| 996 | 43 | |
| 990 | 86 | |
| 979 | 121 | |
| 979 | 91 | |
| 932 | 46 | |
| 893 | 47 | |
| 809 | 37 | |
| 798 | 43 | |
| 792 | 74 | |
| 701 | 48 | |
| 691 | 25 | |
| 680 | 42 | |
| 670 | 34 | |
| 641 | 12 | |
| 619 | 39 | |
| 610 | 12 | |
| 605 | 52 | |
| 602 | 44 | |
| 596 | 46 | |
| 592 | 52 | |
| 561 | 1 | |
| 551 | 14 | |
| 538 | 34 | |
| 527 | 61 | |
| 505 | 16 | |
| 500 | 38 | |
| 497 | 86 | |
| 497 | 86 | |
| 494 | 86 | |
| 494 | 86 | |
| 489 | 33 | |
| 486 | 28 | |
| 479 | 41 | |
| 478 | 51 |
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 |
|---|---|---|---|---|---|
| 1467 | ~10k–30k | 12 | ~10 | ~150 | |
| 619 | ~3k–10k | 6 | ~20 | ~30 | |
| 561 | ~3k–10k | 6 | ~70 | ~10 | |
| 266 | ~1.5k–5k | 6 | ~5 | ~70 | |
| 311 | ~2k–5k | 5 | ~70 | ~5 | |
| 691 | ~3k–10k | 2 | ~30 | ~20 | |
| 1159 | ~7k–20k | 1 | ~50 | ~20 | |
| 357 | ~2k–5k | 3 | ~70 | ~5 | |
| 1056 | ~7k–15k | 1 | ~20 | ~50 | |
| 202 | ~1k–3k | 3 | ~20 | ~10 | |
| 602 | ~3k–10k | 1 | ~10 | ~50 | |
| 189 | ~1k–3k | 3 | ~3 | ~50 | |
| 189 | ~1k–3k | 3 | ~3 | ~50 | |
| 489 | ~3k–7k | 1 | ~10 | ~50 | |
| 382 | ~2k–7k | 1 | ~200 | ~2 | |
| 112 | ~700–2k | 2 | ~3 | ~30 | |
| 199 | ~1k–3k | 1 | ~200 | ~1 | |
| 197 | ~1k–3k | 1 | ~30 | ~7 | |
| 179 | ~1k–3k | 1 | ~20 | ~10 | |
| 168 | ~1k–3k | 1 | ~1 | ~150 |
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 |
|---|---|---|
| 2128 | 237 | |
| 3498 | 151 | |
| 1602 | 125 | |
| 979 | 121 | |
| 1043 | 106 | |
| 1159 | 105 | |
| 979 | 91 | |
| 494 | 86 | |
| 494 | 86 | |
| 497 | 86 | |
| 497 | 86 | |
| 990 | 86 | |
| 1467 | 83 | |
| 2485 | 82 | |
| 1089 | 81 | |
| 1110 | 75 | |
| 792 | 74 | |
| 2213 | 72 | |
| 475 | 70 | |
| 460 | 64 | |
| 1467 | 63 | |
| 374 | 62 | |
| 527 | 61 | |
| 427 | 59 | |
| 1302 | 57 | |
| 450 | 55 | |
| 1056 | 55 | |
| 397 | 52 | |
| 451 | 52 | |
| 592 | 52 | |
| 605 | 52 | |
| 478 | 51 | |
| 257 | 49 | |
| 453 | 48 | |
| 701 | 48 | |
| 285 | 47 | |
| 893 | 47 | |
| 596 | 46 | |
| 932 | 46 | |
| 402 | 45 | |
| 1014 | 45 | |
| 602 | 44 | |
| 1435 | 44 | |
| 798 | 43 | |
| 996 | 43 | |
| 680 | 42 | |
| 479 | 41 | |
| 619 | 39 | |
| 1108 | 39 | |
| 500 | 38 |
Files With Long Lines (Top 50)
There are 132 files with lines longer than 120 characters. In total, there are 591 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1467 | 63 | 48 | |
| 691 | 25 | 30 | |
| 1056 | 55 | 27 | |
| 459 | 17 | 23 | |
| 1108 | 39 | 22 | |
| 602 | 44 | 18 | |
| 266 | 13 | 14 | |
| 111 | 1 | 14 | |
| 1602 | 125 | 13 | |
| 561 | 1 | 12 | |
| 451 | 52 | 12 | |
| 3498 | 151 | 12 | |
| 489 | 33 | 11 | |
| 619 | 39 | 11 | |
| 40 | - | 11 | |
| 21 | - | 11 | |
| 505 | 16 | 10 | |
| 244 | 14 | 10 | |
| 44 | - | 9 | |
| 370 | 16 | 8 | |
| 2213 | 72 | 8 | |
| 932 | 46 | 8 | |
| 189 | 9 | 7 | |
| 382 | 28 | 7 | |
| 460 | 64 | 7 | |
| 1467 | 83 | 7 | |
| 202 | 13 | 6 | |
| 301 | 25 | 6 | |
| 979 | 121 | 6 | |
| 1089 | 81 | 6 | |
| 1159 | 105 | 6 | |
| 179 | 9 | 5 | |
| 177 | 1 | 5 | |
| 311 | 18 | 5 | |
| 1110 | 75 | 5 | |
| 71 | 4 | 5 | |
| 197 | 14 | 5 | |
| 168 | 6 | 5 | |
| 408 | 17 | 4 | |
| 29 | 1 | 4 | |
| 138 | 1 | 4 | |
| 392 | 21 | 4 | |
| 42 | 1 | 4 | |
| 357 | 20 | 3 | |
| 35 | 1 | 3 | |
| 792 | 74 | 3 | |
| 478 | 51 | 3 | |
| 260 | 22 | 3 | |
| 670 | 34 | 3 | |
| 313 | 17 | 3 |
Correlations
File Size vs. Commits (all time): 30 points
|
|
1467.0 | lines of code min: 10.0average: 339.53 25th percentile: 106.75 median: 193.0 75th percentile: 507.0 max: 1467.0 |
|
| 0 | 12.0 | ||
|
commits (all time) min: 1.0 | average: 2.4 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 12.0
|
|||
File Size vs. Contributors (all time): 30 points
|
|
1467.0 | lines of code min: 10.0average: 339.53 25th percentile: 106.75 median: 193.0 75th percentile: 507.0 max: 1467.0 |
|
| 0 | 2.0 | ||
|
contributors (all time) min: 1.0 | average: 1.23 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.25 | max: 2.0
|
|||
File Size vs. Commits (30 days): 25 points
|
|
1467.0 | lines of code min: 37.0average: 390.12 25th percentile: 156.0 median: 202.0 75th percentile: 581.5 max: 1467.0 |
|
| 0 | 12.0 | ||
|
commits (30d) min: 1.0 | average: 2.4 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.5 | max: 12.0
|
|||
File Size vs. Contributors (30 days): 25 points
|
|
1467.0 | lines of code min: 37.0average: 390.12 25th percentile: 156.0 median: 202.0 75th percentile: 581.5 max: 1467.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): 30 points
|
|
1467.0 | lines of code min: 10.0average: 339.53 25th percentile: 106.75 median: 193.0 75th percentile: 507.0 max: 1467.0 |
|
| 0 | 12.0 | ||
|
commits (90d) min: 1.0 | average: 2.4 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 12.0
|
|||
File Size vs. Contributors (90 days): 30 points
|
|
1467.0 | lines of code min: 10.0average: 339.53 25th percentile: 106.75 median: 193.0 75th percentile: 507.0 max: 1467.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.23 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.25 | 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