File Size Overall
- There are 3,221 files with 253,993 lines of code.
- 32 very long files (49,582 lines of code)
- 27 long files (19,908 lines of code)
- 149 medium size files (43,498 lines of code)
- 285 small files (40,401 lines of code)
- 2,728 very small files (100,604 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 |
|---|---|---|
| 4826 | 172 | |
| 3635 | 171 | |
| 3256 | 128 | |
| 3013 | 126 | |
| 2349 | 105 | |
| 1890 | 84 | |
| 1806 | 84 | |
| 1668 | 42 | |
| 1617 | - | |
| 1475 | 46 | |
| 1452 | 44 | |
| 1367 | 53 | |
| 1228 | 41 | |
| 1177 | 42 | |
| 1101 | 46 | |
| 1069 | 41 | |
| 1065 | 41 | |
| 1065 | 41 | |
| 1061 | 41 | |
| 1048 | 36 | |
| 1041 | 32 | |
| 1039 | 32 | |
| 1037 | 32 | |
| 1037 | 32 | |
| 1035 | 32 | |
| 1035 | 32 | |
| 1035 | 32 | |
| 1035 | 32 | |
| 1035 | 32 | |
| 1031 | 32 | |
| 1031 | 32 | |
| 1023 | 32 | |
| 949 | 25 | |
| 938 | 36 | |
| 928 | 36 | |
| 926 | 34 | |
| 895 | 40 | |
| 893 | 40 | |
| 887 | 38 | |
| 881 | 38 | |
| 874 | 36 | |
| 838 | 49 | |
| 832 | 31 | |
| 791 | 33 | |
| 759 | 5 | |
| 752 | 30 | |
| 713 | 30 | |
| 688 | 10 | |
| 661 | 47 | |
| 642 | 28 |
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 |
|---|---|---|---|---|---|
| 1617 | ~10k–30k | 75 | ~15 | ~100 | |
| 4826 | ~30k–70k | 13 | ~1,000 | ~5 | |
| 2349 | ~15k–50k | 17 | ~300 | ~7 | |
| 3256 | ~20k–50k | 12 | ~700 | ~5 | |
| 1668 | ~10k–30k | 22 | ~200 | ~7 | |
| 3013 | ~20k–50k | 12 | ~500 | ~5 | |
| 3635 | ~20k–70k | 9 | ~1,000 | ~3 | |
| 791 | ~5k–15k | 39 | ~30 | ~20 | |
| 1101 | ~7k–20k | 24 | ~100 | ~10 | |
| 1367 | ~7k–20k | 18 | ~300 | ~5 | |
| 688 | ~3k–10k | 35 | ~30 | ~30 | |
| 1177 | ~7k–20k | 20 | ~300 | ~5 | |
| 895 | ~5k–15k | 26 | ~150 | ~7 | |
| 1023 | ~7k–15k | 21 | ~150 | ~7 | |
| 559 | ~3k–10k | 37 | ~70 | ~10 | |
| 583 | ~3k–10k | 31 | ~20 | ~20 | |
| 832 | ~5k–15k | 21 | ~150 | ~7 | |
| 926 | ~5k–15k | 17 | ~200 | ~5 | |
| 1228 | ~7k–20k | 12 | ~300 | ~5 | |
| 466 | ~3k–7k | 28 | ~70 | ~5 |
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 |
|---|---|---|
| 4826 | 172 | |
| 3635 | 171 | |
| 3256 | 128 | |
| 3013 | 126 | |
| 2349 | 105 | |
| 1890 | 84 | |
| 1806 | 84 | |
| 1367 | 53 | |
| 838 | 49 | |
| 661 | 47 | |
| 1475 | 46 | |
| 1101 | 46 | |
| 1452 | 44 | |
| 175 | 44 | |
| 1668 | 42 | |
| 1177 | 42 | |
| 1065 | 41 | |
| 1069 | 41 | |
| 1061 | 41 | |
| 1065 | 41 | |
| 1228 | 41 | |
| 893 | 40 | |
| 895 | 40 | |
| 881 | 38 | |
| 887 | 38 | |
| 1048 | 36 | |
| 928 | 36 | |
| 874 | 36 | |
| 938 | 36 | |
| 255 | 35 | |
| 926 | 34 | |
| 791 | 33 | |
| 1023 | 32 | |
| 1031 | 32 | |
| 1035 | 32 | |
| 1041 | 32 | |
| 1039 | 32 | |
| 1031 | 32 | |
| 1037 | 32 | |
| 1035 | 32 | |
| 1035 | 32 | |
| 1037 | 32 | |
| 1035 | 32 | |
| 1035 | 32 | |
| 832 | 31 | |
| 752 | 30 | |
| 713 | 30 | |
| 226 | 28 | |
| 642 | 28 | |
| 534 | 26 |
Files With Long Lines (Top 50)
There are 128 files with lines longer than 120 characters. In total, there are 1650 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 4826 | 172 | 121 | |
| 1048 | 36 | 62 | |
| 1041 | 32 | 59 | |
| 1039 | 32 | 59 | |
| 1037 | 32 | 59 | |
| 1037 | 32 | 59 | |
| 1035 | 32 | 58 | |
| 1035 | 32 | 58 | |
| 1035 | 32 | 58 | |
| 1035 | 32 | 58 | |
| 1452 | 44 | 57 | |
| 1035 | 32 | 57 | |
| 1031 | 32 | 56 | |
| 1031 | 32 | 56 | |
| 1475 | 46 | 55 | |
| 1069 | 41 | 40 | |
| 1065 | 41 | 38 | |
| 1065 | 41 | 38 | |
| 1061 | 41 | 36 | |
| 1228 | 41 | 31 | |
| 752 | 30 | 28 | |
| 325 | 14 | 20 | |
| 421 | - | 20 | |
| 1668 | 42 | 19 | |
| 881 | 38 | 19 | |
| 3256 | 128 | 18 | |
| 418 | 18 | 17 | |
| 458 | 18 | 17 | |
| 490 | 22 | 17 | |
| 1023 | 32 | 17 | |
| 420 | - | 17 | |
| 608 | 26 | 15 | |
| 887 | 38 | 14 | |
| 541 | 22 | 13 | |
| 231 | 9 | 13 | |
| 1367 | 53 | 12 | |
| 1101 | 46 | 12 | |
| 534 | 26 | 11 | |
| 221 | - | 10 | |
| 1890 | 84 | 8 | |
| 185 | 6 | 8 | |
| 234 | - | 8 | |
| 234 | - | 8 | |
| 234 | - | 8 | |
| 237 | - | 8 | |
| 895 | 40 | 7 | |
| 3013 | 126 | 7 | |
| 427 | 16 | 7 | |
| 3635 | 171 | 6 | |
| 223 | 12 | 6 |
Correlations
File Size vs. Commits (all time): 3221 points
|
|
4826.0 | lines of code min: 3.0average: 78.86 25th percentile: 17.0 median: 39.0 75th percentile: 76.0 max: 4826.0 |
|
| 0 | 139.0 | ||
|
commits (all time) min: 1.0 | average: 5.69 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 7.0 | max: 139.0
|
|||
File Size vs. Contributors (all time): 3221 points
|
|
4826.0 | lines of code min: 3.0average: 78.86 25th percentile: 17.0 median: 39.0 75th percentile: 76.0 max: 4826.0 |
|
| 0 | 13.0 | ||
|
contributors (all time) min: 1.0 | average: 2.42 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 13.0
|
|||
File Size vs. Commits (30 days): 1915 points
|
|
4826.0 | lines of code min: 3.0average: 90.7 25th percentile: 16.0 median: 30.0 75th percentile: 71.0 max: 4826.0 |
|
| 0 | 52.0 | ||
|
commits (30d) min: 1.0 | average: 1.33 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 52.0
|
|||
File Size vs. Contributors (30 days): 1915 points
|
|
4826.0 | lines of code min: 3.0average: 90.7 25th percentile: 16.0 median: 30.0 75th percentile: 71.0 max: 4826.0 |
|
| 0 | 5.0 | ||
|
contributors (30d) min: 1.0 | average: 1.2 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 5.0
|
|||
File Size vs. Commits (90 days): 3010 points
|
|
4826.0 | lines of code min: 3.0average: 83.48 25th percentile: 19.0 median: 41.0 75th percentile: 79.25 max: 4826.0 |
|
| 0 | 84.0 | ||
|
commits (90d) min: 1.0 | average: 1.91 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 84.0
|
|||
File Size vs. Contributors (90 days): 3010 points
|
|
4826.0 | lines of code min: 3.0average: 83.48 25th percentile: 19.0 median: 41.0 75th percentile: 79.25 max: 4826.0 |
|
| 0 | 7.0 | ||
|
contributors (90d) min: 1.0 | average: 1.4 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 7.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