File Size Overall
- There are 191 files with 74,762 lines of code.
- 20 very long files (48,650 lines of code)
- 17 long files (10,135 lines of code)
- 25 medium size files (7,510 lines of code)
- 29 small files (4,325 lines of code)
- 100 very small files (4,142 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 |
|---|---|---|
| 4439 | - | |
| 4439 | - | |
| 4439 | - | |
| 3646 | - | |
| 3646 | - | |
| 3646 | - | |
| 3081 | - | |
| 3081 | - | |
| 3081 | - | |
| 1676 | - | |
| 1676 | - | |
| 1676 | - | |
| 1499 | - | |
| 1499 | - | |
| 1499 | - | |
| 1199 | - | |
| 1173 | 43 | |
| 1085 | - | |
| 1085 | - | |
| 1085 | - | |
| 743 | 23 | |
| 718 | 22 | |
| 718 | 22 | |
| 718 | 22 | |
| 584 | - | |
| 582 | - | |
| 582 | - | |
| 582 | - | |
| 570 | - | |
| 570 | - | |
| 570 | - | |
| 557 | - | |
| 557 | - | |
| 557 | - | |
| 509 | - | |
| 509 | - | |
| 509 | - | |
| 483 | - | |
| 460 | - | |
| 380 | 12 | |
| 380 | 12 | |
| 380 | 12 | |
| 365 | 13 | |
| 351 | 13 | |
| 351 | 13 | |
| 351 | 13 | |
| 287 | - | |
| 287 | - | |
| 287 | - | |
| 275 | 16 |
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 |
|---|---|---|---|---|---|
| 4439 | ~30k–70k | 1 | ~5,000 | ~1 | |
| 4439 | ~30k–70k | 1 | ~5,000 | ~1 | |
| 4439 | ~30k–70k | 1 | ~5,000 | ~1 | |
| 3646 | ~20k–70k | 1 | ~3,000 | ~1 | |
| 3646 | ~20k–70k | 1 | ~3,000 | ~1 | |
| 3646 | ~20k–70k | 1 | ~3,000 | ~1 | |
| 3081 | ~20k–50k | 1 | ~3,000 | ~1 | |
| 3081 | ~20k–50k | 1 | ~3,000 | ~1 | |
| 3081 | ~20k–50k | 1 | ~3,000 | ~1 | |
| 1676 | ~10k–30k | 1 | ~1,500 | ~1 | |
| 1676 | ~10k–30k | 1 | ~1,500 | ~1 | |
| 1676 | ~10k–30k | 1 | ~1,500 | ~1 | |
| 1499 | ~10k–30k | 1 | ~1,500 | ~1 | |
| 1499 | ~10k–30k | 1 | ~1,500 | ~1 | |
| 1499 | ~10k–30k | 1 | ~1,500 | ~1 | |
| 718 | ~5k–15k | 2 | ~500 | ~2 | |
| 718 | ~5k–15k | 2 | ~500 | ~2 | |
| 718 | ~5k–15k | 2 | ~500 | ~2 | |
| 1199 | ~7k–20k | 1 | ~1,500 | ~1 | |
| 1173 | ~7k–20k | 1 | ~1,500 | ~1 |
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 |
|---|---|---|
| 1173 | 43 | |
| 203 | 24 | |
| 743 | 23 | |
| 718 | 22 | |
| 718 | 22 | |
| 718 | 22 | |
| 116 | 20 | |
| 63 | 17 | |
| 275 | 16 | |
| 351 | 13 | |
| 365 | 13 | |
| 351 | 13 | |
| 351 | 13 | |
| 380 | 12 | |
| 235 | 12 | |
| 380 | 12 | |
| 235 | 12 | |
| 271 | 12 | |
| 380 | 12 | |
| 235 | 12 | |
| 80 | 10 | |
| 222 | 10 | |
| 80 | 10 | |
| 80 | 10 | |
| 97 | 9 | |
| 130 | 8 | |
| 130 | 8 | |
| 234 | 8 | |
| 130 | 8 | |
| 240 | 7 | |
| 148 | 7 | |
| 89 | 6 | |
| 270 | 6 | |
| 89 | 6 | |
| 89 | 6 | |
| 75 | 5 | |
| 48 | 4 | |
| 100 | 4 | |
| 241 | 4 | |
| 256 | 4 | |
| 120 | 4 | |
| 48 | 4 | |
| 231 | 4 | |
| 48 | 4 | |
| 135 | 3 | |
| 78 | 3 | |
| 78 | 3 | |
| 81 | 3 | |
| 159 | 3 | |
| 135 | 3 |
Files With Long Lines (Top 50)
There are 63 files with lines longer than 120 characters. In total, there are 390 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1173 | 43 | 132 | |
| 743 | 23 | 64 | |
| 460 | - | 26 | |
| 1199 | - | 15 | |
| 131 | - | 11 | |
| 584 | - | 9 | |
| 256 | 4 | 7 | |
| 483 | - | 5 | |
| 270 | 6 | 5 | |
| 22 | - | 5 | |
| 718 | 22 | 4 | |
| 78 | 3 | 4 | |
| 718 | 22 | 4 | |
| 275 | 16 | 4 | |
| 718 | 22 | 4 | |
| 67 | - | 3 | |
| 20 | - | 3 | |
| 54 | 1 | 3 | |
| 67 | - | 3 | |
| 20 | - | 3 | |
| 231 | 4 | 3 | |
| 67 | - | 3 | |
| 20 | - | 3 | |
| 4 | - | 2 | |
| 557 | - | 2 | |
| 13 | - | 2 | |
| 8 | - | 2 | |
| 14 | - | 2 | |
| 135 | 3 | 2 | |
| 380 | 12 | 2 | |
| 351 | 13 | 2 | |
| 120 | 4 | 2 | |
| 4 | - | 2 | |
| 557 | - | 2 | |
| 13 | - | 2 | |
| 8 | - | 2 | |
| 14 | - | 2 | |
| 135 | 3 | 2 | |
| 380 | 12 | 2 | |
| 351 | 13 | 2 | |
| 64 | 2 | 2 | |
| 271 | 12 | 2 | |
| 4 | - | 2 | |
| 557 | - | 2 | |
| 13 | - | 2 | |
| 8 | - | 2 | |
| 14 | - | 2 | |
| 135 | 3 | 2 | |
| 380 | 12 | 2 | |
| 351 | 13 | 2 |
Correlations
File Size vs. Commits (all time): 191 points
|
|
4439.0 | lines of code min: 1.0average: 391.42 25th percentile: 29.0 median: 97.0 75th percentile: 287.0 max: 4439.0 |
|
| 0 | 4.0 | ||
|
commits (all time) min: 1.0 | average: 1.24 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 4.0
|
|||
File Size vs. Contributors (all time): 191 points
|
|
4439.0 | lines of code min: 1.0average: 391.42 25th percentile: 29.0 median: 97.0 75th percentile: 287.0 max: 4439.0 |
|
| 0 | 3.0 | ||
|
contributors (all time) min: 1.0 | average: 1.21 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0
|
|||
File Size vs. Commits (30 days): 4 points
|
|
1173.0 | lines of code min: 460.0average: 740.0 25th percentile: 491.0 median: 663.5 75th percentile: 1065.5 max: 1173.0 |
|
| 0 | 1.0 | ||
|
commits (30d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Contributors (30 days): 4 points
|
|
1173.0 | lines of code min: 460.0average: 740.0 25th percentile: 491.0 median: 663.5 75th percentile: 1065.5 max: 1173.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): 40 points
|
|
1173.0 | lines of code min: 46.0average: 276.02 25th percentile: 89.0 median: 228.0 75th percentile: 372.75 max: 1173.0 |
|
| 0 | 1.0 | ||
|
commits (90d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Contributors (90 days): 40 points
|
|
1173.0 | lines of code min: 46.0average: 276.02 25th percentile: 89.0 median: 228.0 75th percentile: 372.75 max: 1173.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