File Size Overall
- There are 49 files with 46,395 lines of code.
- 13 very long files (33,524 lines of code)
- 12 long files (8,355 lines of code)
- 12 medium size files (4,227 lines of code)
- 0 small files (0 lines of code)
- 12 very small files (289 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 49)
| File | # lines | # units |
|---|---|---|
| 4303 | 524 | |
| 4167 | 523 | |
| 3780 | 452 | |
| 3434 | 380 | |
| 3247 | 375 | |
| 2311 | 279 | |
| 2311 | 279 | |
| 2147 | 267 | |
| 1893 | 258 | |
| 1883 | 256 | |
| 1556 | 188 | |
| 1348 | 175 | |
| 1144 | 168 | |
| 955 | 106 | |
| 824 | 102 | |
| 763 | 97 | |
| 761 | 97 | |
| 760 | 94 | |
| 710 | 96 | |
| 705 | 96 | |
| 658 | 52 | |
| 576 | 46 | |
| 576 | 48 | |
| 534 | 46 | |
| 533 | 50 | |
| 477 | 44 | |
| 475 | 42 | |
| 394 | 40 | |
| 388 | 39 | |
| 384 | 38 | |
| 384 | 39 | |
| 342 | 33 | |
| 304 | 34 | |
| 299 | 33 | |
| 287 | 35 | |
| 283 | 28 | |
| 210 | - | |
| 61 | 3 | |
| 37 | - | |
| 34 | 3 | |
| 34 | 3 | |
| 25 | 3 | |
| 25 | 3 | |
| 22 | 3 | |
| 16 | - | |
| 14 | - | |
| 13 | - | |
| 5 | - | |
| 3 | - |
Large Files That Change Often (Top 17)
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 |
|---|---|---|---|---|---|
| 4167 | ~20k–70k | 7 | ~700 | ~5 | |
| 3434 | ~20k–50k | 3 | ~5,000 | ~1 | |
| 210 | ~1k–3k | 24 | ~15 | ~15 | |
| 1883 | ~10k–30k | 2 | ~2,000 | ~1 | |
| 763 | ~5k–15k | 3 | ~200 | ~3 | |
| 761 | ~5k–15k | 3 | ~200 | ~3 | |
| 760 | ~5k–15k | 3 | ~300 | ~3 | |
| 824 | ~5k–15k | 2 | ~1,000 | ~1 | |
| 1556 | ~10k–30k | 1 | ~500 | ~3 | |
| 394 | ~2k–7k | 2 | ~500 | ~1 | |
| 388 | ~2k–7k | 2 | ~500 | ~1 | |
| 384 | ~2k–7k | 2 | ~500 | ~1 | |
| 37 | under 1k | 9 | ~7 | ~5 | |
| 299 | ~2k–5k | 1 | ~300 | ~1 | |
| 14 | under 1k | 21 | ~3 | ~5 | |
| 61 | ~300–1k | 4 | ~20 | ~3 | |
| 5 | under 1k | 24 | ~3 | ~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 42)
| File | # lines | # units |
|---|---|---|
| 4303 | 524 | |
| 4167 | 523 | |
| 3780 | 452 | |
| 3434 | 380 | |
| 3247 | 375 | |
| 2311 | 279 | |
| 2311 | 279 | |
| 2147 | 267 | |
| 1893 | 258 | |
| 1883 | 256 | |
| 1556 | 188 | |
| 1348 | 175 | |
| 1144 | 168 | |
| 955 | 106 | |
| 824 | 102 | |
| 761 | 97 | |
| 763 | 97 | |
| 705 | 96 | |
| 710 | 96 | |
| 760 | 94 | |
| 658 | 52 | |
| 533 | 50 | |
| 576 | 48 | |
| 534 | 46 | |
| 576 | 46 | |
| 477 | 44 | |
| 475 | 42 | |
| 394 | 40 | |
| 388 | 39 | |
| 384 | 39 | |
| 384 | 38 | |
| 287 | 35 | |
| 304 | 34 | |
| 342 | 33 | |
| 299 | 33 | |
| 283 | 28 | |
| 22 | 3 | |
| 34 | 3 | |
| 25 | 3 | |
| 61 | 3 | |
| 34 | 3 | |
| 25 | 3 |
Files With Long Lines (Top 36)
There are 36 files with lines longer than 120 characters. In total, there are 2643 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 4167 | 523 | 265 | |
| 4303 | 524 | 255 | |
| 3780 | 452 | 209 | |
| 3434 | 380 | 188 | |
| 3247 | 375 | 177 | |
| 2147 | 267 | 139 | |
| 2311 | 279 | 124 | |
| 2311 | 279 | 124 | |
| 1893 | 258 | 122 | |
| 1883 | 256 | 114 | |
| 1348 | 175 | 102 | |
| 1556 | 188 | 102 | |
| 1144 | 168 | 89 | |
| 761 | 97 | 59 | |
| 760 | 94 | 56 | |
| 955 | 106 | 56 | |
| 824 | 102 | 54 | |
| 705 | 96 | 52 | |
| 710 | 96 | 51 | |
| 763 | 97 | 48 | |
| 388 | 39 | 21 | |
| 342 | 33 | 20 | |
| 283 | 28 | 18 | |
| 658 | 52 | 18 | |
| 534 | 46 | 18 | |
| 576 | 48 | 18 | |
| 394 | 40 | 17 | |
| 384 | 38 | 17 | |
| 533 | 50 | 16 | |
| 477 | 44 | 16 | |
| 576 | 46 | 15 | |
| 384 | 39 | 15 | |
| 287 | 35 | 14 | |
| 475 | 42 | 14 | |
| 299 | 33 | 11 | |
| 304 | 34 | 9 |
Correlations
File Size vs. Commits (all time): 49 points
|
|
4303.0 | lines of code min: 3.0average: 946.84 25th percentile: 135.5 median: 533.0 75th percentile: 1246.0 max: 4303.0 |
|
| 0 | 77.0 | ||
|
commits (all time) min: 1.0 | average: 9.06 | 25th percentile: 3.0 | median: 5.0 | 75th percentile: 8.0 | max: 77.0
|
|||
File Size vs. Contributors (all time): 49 points
|
|
4303.0 | lines of code min: 3.0average: 946.84 25th percentile: 135.5 median: 533.0 75th percentile: 1246.0 max: 4303.0 |
|
| 0 | 12.0 | ||
|
contributors (all time) min: 1.0 | average: 3.71 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 4.0 | max: 12.0
|
|||
File Size vs. Commits (30 days): 1 points
|
|
14.0 | lines of code min: 14.0average: 14.0 25th percentile: 14.0 median: 14.0 75th percentile: 14.0 max: 14.0 |
|
| 0 | 2.0 | ||
|
commits (30d) min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Contributors (30 days): 1 points
|
|
14.0 | lines of code min: 14.0average: 14.0 25th percentile: 14.0 median: 14.0 75th percentile: 14.0 max: 14.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 5 points
|
|
1556.0 | lines of code min: 5.0average: 416.8 25th percentile: 9.5 median: 210.0 75th percentile: 927.5 max: 1556.0 |
|
| 0 | 6.0 | ||
|
commits (90d) min: 1.0 | average: 2.4 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 6.0
|
|||
File Size vs. Contributors (90 days): 5 points
|
|
1556.0 | lines of code min: 5.0average: 416.8 25th percentile: 9.5 median: 210.0 75th percentile: 927.5 max: 1556.0 |
|
| 0 | 4.0 | ||
|
contributors (90d) min: 1.0 | average: 1.6 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.5 | max: 4.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