File Size Overall
- There are 386 files with 137,260 lines of code.
- 37 very long files (74,768 lines of code)
- 37 long files (26,005 lines of code)
- 70 medium size files (22,679 lines of code)
- 51 small files (7,169 lines of code)
- 191 very small files (6,639 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 |
|---|---|---|
| 6776 | 154 | |
| 5021 | 269 | |
| 3410 | 61 | |
| 2932 | 74 | |
| 2604 | 197 | |
| 2598 | 169 | |
| 2510 | 81 | |
| 2483 | 94 | |
| 2431 | 171 | |
| 2130 | 97 | |
| 2051 | 23 | |
| 2040 | 50 | |
| 1974 | 65 | |
| 1926 | 58 | |
| 1812 | 118 | |
| 1803 | 32 | |
| 1801 | 37 | |
| 1708 | 87 | |
| 1676 | 127 | |
| 1661 | - | |
| 1611 | 85 | |
| 1610 | 98 | |
| 1494 | 45 | |
| 1491 | 112 | |
| 1476 | 17 | |
| 1467 | - | |
| 1450 | 53 | |
| 1445 | 27 | |
| 1432 | 28 | |
| 1408 | 79 | |
| 1387 | 25 | |
| 1352 | 52 | |
| 1259 | 91 | |
| 1248 | 83 | |
| 1236 | 32 | |
| 1038 | 26 | |
| 1017 | 48 | |
| 947 | - | |
| 924 | 21 | |
| 903 | 16 | |
| 892 | 42 | |
| 887 | 89 | |
| 863 | 45 | |
| 838 | 9 | |
| 834 | 58 | |
| 808 | 33 | |
| 784 | 36 | |
| 776 | 14 | |
| 776 | 31 | |
| 767 | 44 |
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 |
|---|---|---|---|---|---|
| 6776 | ~30k–100k | 63 | ~150 | ~50 | |
| 3410 | ~20k–50k | 82 | ~100 | ~30 | |
| 2932 | ~20k–50k | 57 | ~100 | ~30 | |
| 2510 | ~15k–50k | 56 | ~100 | ~30 | |
| 5021 | ~30k–100k | 21 | ~300 | ~15 | |
| 2040 | ~10k–30k | 37 | ~70 | ~30 | |
| 2483 | ~15k–50k | 23 | ~150 | ~15 | |
| 1801 | ~10k–30k | 30 | ~70 | ~20 | |
| 2051 | ~10k–30k | 25 | ~50 | ~30 | |
| 1494 | ~10k–30k | 31 | ~200 | ~7 | |
| 1450 | ~10k–30k | 28 | ~70 | ~20 | |
| 2598 | ~15k–50k | 15 | ~200 | ~10 | |
| 1812 | ~10k–30k | 18 | ~100 | ~15 | |
| 1708 | ~10k–30k | 19 | ~100 | ~15 | |
| 903 | ~5k–15k | 35 | ~30 | ~30 | |
| 2431 | ~15k–50k | 13 | ~300 | ~10 | |
| 2604 | ~15k–50k | 11 | ~300 | ~10 | |
| 924 | ~5k–15k | 26 | ~20 | ~50 | |
| 1974 | ~10k–30k | 12 | ~200 | ~10 | |
| 1491 | ~10k–30k | 15 | ~150 | ~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 |
|---|---|---|
| 5021 | 269 | |
| 2604 | 197 | |
| 2431 | 171 | |
| 2598 | 169 | |
| 6776 | 154 | |
| 1676 | 127 | |
| 1812 | 118 | |
| 1491 | 112 | |
| 1610 | 98 | |
| 2130 | 97 | |
| 2483 | 94 | |
| 1259 | 91 | |
| 887 | 89 | |
| 1708 | 87 | |
| 1611 | 85 | |
| 1248 | 83 | |
| 2510 | 81 | |
| 1408 | 79 | |
| 2932 | 74 | |
| 1974 | 65 | |
| 3410 | 61 | |
| 1926 | 58 | |
| 834 | 58 | |
| 1450 | 53 | |
| 1352 | 52 | |
| 2040 | 50 | |
| 1017 | 48 | |
| 695 | 46 | |
| 863 | 45 | |
| 1494 | 45 | |
| 767 | 44 | |
| 679 | 44 | |
| 892 | 42 | |
| 676 | 41 | |
| 465 | 41 | |
| 1801 | 37 | |
| 784 | 36 | |
| 414 | 36 | |
| 567 | 35 | |
| 541 | 35 | |
| 678 | 33 | |
| 808 | 33 | |
| 652 | 33 | |
| 478 | 33 | |
| 1803 | 32 | |
| 1236 | 32 | |
| 656 | 31 | |
| 534 | 31 | |
| 776 | 31 | |
| 494 | 31 |
Files With Long Lines (Top 50)
There are 104 files with lines longer than 120 characters. In total, there are 375 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 6776 | 154 | 25 | |
| 5021 | 269 | 24 | |
| 1476 | 17 | 22 | |
| 2130 | 97 | 21 | |
| 689 | 31 | 15 | |
| 1236 | 32 | 12 | |
| 2510 | 81 | 10 | |
| 164 | 11 | 10 | |
| 2604 | 197 | 9 | |
| 1408 | 79 | 9 | |
| 2431 | 171 | 8 | |
| 863 | 45 | 8 | |
| 808 | 33 | 8 | |
| 947 | - | 7 | |
| 624 | 13 | 7 | |
| 1676 | 127 | 7 | |
| 1494 | 45 | 6 | |
| 1661 | - | 5 | |
| 414 | - | 5 | |
| 1974 | 65 | 5 | |
| 1017 | 48 | 5 | |
| 924 | 21 | 4 | |
| 2051 | 23 | 4 | |
| 374 | 11 | 4 | |
| 1926 | 58 | 4 | |
| 2483 | 94 | 4 | |
| 1450 | 53 | 4 | |
| 485 | 24 | 4 | |
| 125 | 6 | 3 | |
| 838 | 9 | 3 | |
| 1038 | 26 | 3 | |
| 541 | 35 | 3 | |
| 1491 | 112 | 3 | |
| 2598 | 169 | 3 | |
| 1801 | 37 | 3 | |
| 903 | 16 | 3 | |
| 381 | 10 | 3 | |
| 1259 | 91 | 3 | |
| 218 | 6 | 3 | |
| 376 | 13 | 3 | |
| 3410 | 61 | 3 | |
| 661 | - | 2 | |
| 1803 | 32 | 2 | |
| 1611 | 85 | 2 | |
| 1812 | 118 | 2 | |
| 676 | 41 | 2 | |
| 784 | 36 | 2 | |
| 348 | 20 | 2 | |
| 2040 | 50 | 2 | |
| 148 | 4 | 2 |
Correlations
File Size vs. Commits (all time): 377 points
|
|
6776.0 | lines of code min: 1.0average: 363.95 25th percentile: 33.0 median: 111.0 75th percentile: 375.0 max: 6776.0 |
|
| 0 | 105.0 | ||
|
commits (all time) min: 1.0 | average: 7.11 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 6.0 | max: 105.0
|
|||
File Size vs. Contributors (all time): 377 points
|
|
6776.0 | lines of code min: 1.0average: 363.95 25th percentile: 33.0 median: 111.0 75th percentile: 375.0 max: 6776.0 |
|
| 0 | 11.0 | ||
|
contributors (all time) min: 1.0 | average: 1.72 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 11.0
|
|||
File Size vs. Commits (30 days): 101 points
|
|
6776.0 | lines of code min: 9.0average: 868.16 25th percentile: 193.5 median: 491.0 75th percentile: 1323.0 max: 6776.0 |
|
| 0 | 11.0 | ||
|
commits (30d) min: 1.0 | average: 2.13 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 11.0
|
|||
File Size vs. Contributors (30 days): 101 points
|
|
6776.0 | lines of code min: 9.0average: 868.16 25th percentile: 193.5 median: 491.0 75th percentile: 1323.0 max: 6776.0 |
|
| 0 | 4.0 | ||
|
contributors (30d) min: 1.0 | average: 1.35 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 4.0
|
|||
File Size vs. Commits (90 days): 265 points
|
|
6776.0 | lines of code min: 1.0average: 484.05 25th percentile: 67.5 median: 192.0 75th percentile: 583.0 max: 6776.0 |
|
| 0 | 40.0 | ||
|
commits (90d) min: 1.0 | average: 3.89 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 40.0
|
|||
File Size vs. Contributors (90 days): 265 points
|
|
6776.0 | lines of code min: 1.0average: 484.05 25th percentile: 67.5 median: 192.0 75th percentile: 583.0 max: 6776.0 |
|
| 0 | 6.0 | ||
|
contributors (90d) min: 1.0 | average: 1.34 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.5 | max: 6.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