File Size Overall
- There are 682 files with 99,950 lines of code.
- 14 very long files (33,986 lines of code)
- 17 long files (11,523 lines of code)
- 80 medium size files (24,405 lines of code)
- 93 small files (12,555 lines of code)
- 478 very small files (17,481 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 |
|---|---|---|
| 6338 | - | |
| 6066 | - | |
| 4709 | - | |
| 2658 | - | |
| 1798 | - | |
| 1763 | 32 | |
| 1677 | 57 | |
| 1517 | - | |
| 1507 | 67 | |
| 1301 | 39 | |
| 1247 | 50 | |
| 1165 | 8 | |
| 1135 | 31 | |
| 1105 | - | |
| 995 | 21 | |
| 964 | 2 | |
| 818 | 13 | |
| 777 | 18 | |
| 731 | 31 | |
| 725 | 22 | |
| 703 | 31 | |
| 682 | - | |
| 635 | - | |
| 635 | 23 | |
| 591 | - | |
| 586 | - | |
| 570 | - | |
| 544 | 10 | |
| 541 | 6 | |
| 514 | - | |
| 512 | - | |
| 497 | 33 | |
| 494 | 8 | |
| 481 | 15 | |
| 478 | 1 | |
| 473 | 1 | |
| 466 | 8 | |
| 460 | 4 | |
| 460 | - | |
| 450 | - | |
| 447 | 24 | |
| 436 | 18 | |
| 396 | 8 | |
| 390 | - | |
| 384 | 2 | |
| 382 | 19 | |
| 377 | - | |
| 374 | 14 | |
| 373 | 14 | |
| 373 | 26 |
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 |
|---|---|---|---|---|---|
| 6066 | ~30k–100k | 2 | ~7,000 | ~1 | |
| 6338 | ~30k–100k | 1 | ~7,000 | ~1 | |
| 2658 | ~15k–50k | 2 | ~3,000 | ~1 | |
| 995 | ~5k–15k | 5 | ~500 | ~2 | |
| 1798 | ~10k–30k | 2 | ~2,000 | ~1 | |
| 1763 | ~10k–30k | 2 | ~2,000 | ~1 | |
| 1135 | ~7k–20k | 3 | ~700 | ~2 | |
| 1677 | ~10k–30k | 2 | ~2,000 | ~1 | |
| 1507 | ~10k–30k | 2 | ~2,000 | ~1 | |
| 1301 | ~7k–20k | 2 | ~1,500 | ~1 | |
| 1247 | ~7k–20k | 2 | ~1,500 | ~1 | |
| 1165 | ~7k–20k | 2 | ~1,000 | ~1 | |
| 1105 | ~7k–20k | 2 | ~1,500 | ~1 | |
| 964 | ~5k–15k | 2 | ~1,000 | ~1 | |
| 818 | ~5k–15k | 2 | ~1,000 | ~1 | |
| 777 | ~5k–15k | 2 | ~700 | ~1 | |
| 382 | ~2k–7k | 4 | ~200 | ~2 | |
| 1517 | ~10k–30k | 1 | ~2,000 | ~1 | |
| 497 | ~3k–7k | 3 | ~300 | ~2 | |
| 494 | ~3k–7k | 3 | ~300 | ~2 |
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 |
|---|---|---|
| 1507 | 67 | |
| 1677 | 57 | |
| 1247 | 50 | |
| 1301 | 39 | |
| 497 | 33 | |
| 1763 | 32 | |
| 703 | 31 | |
| 1135 | 31 | |
| 731 | 31 | |
| 132 | 26 | |
| 253 | 26 | |
| 203 | 26 | |
| 373 | 26 | |
| 447 | 24 | |
| 635 | 23 | |
| 725 | 22 | |
| 995 | 21 | |
| 345 | 21 | |
| 258 | 20 | |
| 382 | 19 | |
| 173 | 19 | |
| 777 | 18 | |
| 436 | 18 | |
| 206 | 17 | |
| 139 | 16 | |
| 257 | 16 | |
| 80 | 15 | |
| 481 | 15 | |
| 302 | 14 | |
| 373 | 14 | |
| 219 | 14 | |
| 214 | 14 | |
| 374 | 14 | |
| 212 | 13 | |
| 818 | 13 | |
| 238 | 11 | |
| 280 | 11 | |
| 54 | 10 | |
| 544 | 10 | |
| 140 | 10 | |
| 66 | 10 | |
| 126 | 10 | |
| 225 | 10 | |
| 179 | 10 | |
| 216 | 10 | |
| 351 | 10 | |
| 136 | 9 | |
| 222 | 9 | |
| 153 | 9 | |
| 137 | 9 |
Files With Long Lines (Top 50)
There are 191 files with lines longer than 120 characters. In total, there are 1401 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 6338 | - | 410 | |
| 316 | - | 92 | |
| 377 | - | 46 | |
| 390 | - | 44 | |
| 269 | 3 | 39 | |
| 349 | - | 38 | |
| 731 | 31 | 38 | |
| 201 | - | 33 | |
| 1301 | 39 | 25 | |
| 268 | 4 | 25 | |
| 586 | - | 24 | |
| 635 | - | 23 | |
| 1763 | 32 | 22 | |
| 99 | - | 22 | |
| 635 | 23 | 16 | |
| 4709 | - | 14 | |
| 288 | - | 11 | |
| 91 | 3 | 11 | |
| 122 | 2 | 10 | |
| 591 | - | 9 | |
| 1135 | 31 | 9 | |
| 1677 | 57 | 8 | |
| 135 | 5 | 7 | |
| 225 | 10 | 7 | |
| 107 | 9 | 7 | |
| 257 | 16 | 7 | |
| 460 | 4 | 7 | |
| 77 | - | 7 | |
| 447 | 24 | 7 | |
| 206 | 17 | 6 | |
| 703 | 31 | 6 | |
| 544 | 10 | 6 | |
| 725 | 22 | 6 | |
| 113 | 9 | 6 | |
| 219 | 14 | 6 | |
| 214 | 14 | 6 | |
| 166 | - | 6 | |
| 166 | - | 6 | |
| 91 | - | 6 | |
| 570 | - | 6 | |
| 261 | 7 | 5 | |
| 280 | 11 | 5 | |
| 436 | 18 | 5 | |
| 497 | 33 | 5 | |
| 110 | - | 5 | |
| 107 | 7 | 5 | |
| 107 | 7 | 5 | |
| 110 | - | 5 | |
| 299 | 3 | 5 | |
| 225 | 1 | 5 |
Correlations
File Size vs. Commits (all time): 682 points
|
|
6338.0 | lines of code min: 1.0average: 146.55 25th percentile: 19.0 median: 52.0 75th percentile: 120.25 max: 6338.0 |
|
| 0 | 5.0 | ||
|
commits (all time) min: 1.0 | average: 2.14 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 5.0
|
|||
File Size vs. Contributors (all time): 682 points
|
|
6338.0 | lines of code min: 1.0average: 146.55 25th percentile: 19.0 median: 52.0 75th percentile: 120.25 max: 6338.0 |
|
| 0 | 3.0 | ||
|
contributors (all time) min: 1.0 | average: 1.63 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 3.0
|
|||
File Size vs. Commits (30 days): 0 points
No data for "commits (30d)" vs. "lines of code".
File Size vs. Contributors (30 days): 0 points
No data for "contributors (30d)" vs. "lines of code".
File Size vs. Commits (90 days): 21 points
|
|
2658.0 | lines of code min: 6.0average: 323.29 25th percentile: 14.5 median: 85.0 75th percentile: 270.0 max: 2658.0 |
|
| 0 | 2.0 | ||
|
commits (90d) min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Contributors (90 days): 21 points
|
|
2658.0 | lines of code min: 6.0average: 323.29 25th percentile: 14.5 median: 85.0 75th percentile: 270.0 max: 2658.0 |
|
| 0 | 1.0 | ||
|
contributors (90d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.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