File Size Overall
- There are 230 files with 30,567 lines of code.
- 4 very long files (13,177 lines of code)
- 5 long files (3,514 lines of code)
- 17 medium size files (4,560 lines of code)
- 32 small files (4,336 lines of code)
- 172 very small files (4,980 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 |
|---|---|---|
| 6870 | - | |
| 3244 | - | |
| 1637 | - | |
| 1426 | - | |
| 913 | 2 | |
| 873 | 12 | |
| 664 | 25 | |
| 536 | 1 | |
| 528 | 1 | |
| 452 | 3 | |
| 383 | - | |
| 340 | - | |
| 328 | 2 | |
| 316 | 2 | |
| 304 | 5 | |
| 263 | 5 | |
| 241 | 16 | |
| 229 | 3 | |
| 226 | - | |
| 222 | 2 | |
| 216 | 1 | |
| 214 | 6 | |
| 213 | 4 | |
| 206 | 8 | |
| 206 | 5 | |
| 201 | 3 | |
| 191 | - | |
| 190 | 1 | |
| 185 | 4 | |
| 169 | 1 | |
| 163 | 8 | |
| 161 | - | |
| 160 | 1 | |
| 156 | 2 | |
| 153 | - | |
| 152 | 5 | |
| 151 | 4 | |
| 137 | - | |
| 133 | 7 | |
| 132 | 3 | |
| 127 | 2 | |
| 127 | - | |
| 127 | - | |
| 126 | 3 | |
| 124 | - | |
| 124 | - | |
| 123 | 5 | |
| 120 | 1 | |
| 119 | - | |
| 117 | - |
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 |
|---|---|---|---|---|---|
| 913 | ~5k–15k | 168 | ~70 | ~10 | |
| 664 | ~3k–10k | 124 | ~30 | ~20 | |
| 6870 | ~30k–100k | 11 | ~700 | ~10 | |
| 1637 | ~10k–30k | 42 | ~70 | ~20 | |
| 873 | ~5k–15k | 73 | ~30 | ~30 | |
| 528 | ~3k–10k | 81 | ~15 | ~30 | |
| 452 | ~3k–7k | 73 | ~20 | ~20 | |
| 536 | ~3k–10k | 44 | ~30 | ~20 | |
| 216 | ~1.5k–5k | 77 | ~10 | ~20 | |
| 214 | ~1k–3k | 73 | ~15 | ~15 | |
| 316 | ~2k–5k | 44 | ~30 | ~7 | |
| 206 | ~1k–3k | 55 | ~10 | ~15 | |
| 226 | ~1.5k–5k | 50 | ~10 | ~20 | |
| 161 | ~1k–3k | 61 | ~20 | ~7 | |
| 328 | ~2k–5k | 25 | ~50 | ~7 | |
| 190 | ~1k–3k | 42 | ~15 | ~10 | |
| 229 | ~1.5k–5k | 34 | ~15 | ~15 | |
| 1426 | ~7k–20k | 5 | ~1,000 | ~2 | |
| 201 | ~1k–3k | 35 | ~50 | ~5 | |
| 222 | ~1.5k–5k | 31 | ~30 | ~7 |
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 |
|---|---|---|
| 664 | 25 | |
| 241 | 16 | |
| 873 | 12 | |
| 113 | 8 | |
| 206 | 8 | |
| 163 | 8 | |
| 112 | 7 | |
| 133 | 7 | |
| 214 | 6 | |
| 62 | 6 | |
| 40 | 6 | |
| 263 | 5 | |
| 152 | 5 | |
| 123 | 5 | |
| 206 | 5 | |
| 304 | 5 | |
| 151 | 4 | |
| 103 | 4 | |
| 185 | 4 | |
| 49 | 4 | |
| 108 | 4 | |
| 61 | 4 | |
| 64 | 4 | |
| 213 | 4 | |
| 132 | 3 | |
| 60 | 3 | |
| 39 | 3 | |
| 55 | 3 | |
| 88 | 3 | |
| 41 | 3 | |
| 201 | 3 | |
| 229 | 3 | |
| 452 | 3 | |
| 126 | 3 | |
| 127 | 2 | |
| 156 | 2 | |
| 81 | 2 | |
| 48 | 2 | |
| 55 | 2 | |
| 913 | 2 | |
| 57 | 2 | |
| 21 | 2 | |
| 222 | 2 | |
| 316 | 2 | |
| 18 | 2 | |
| 49 | 2 | |
| 328 | 2 | |
| 75 | 2 | |
| 29 | 2 | |
| 76 | 2 |
Files With Long Lines (Top 36)
There are 36 files with lines longer than 120 characters. In total, there are 88 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 87 | - | 12 | |
| 6870 | - | 7 | |
| 226 | - | 7 | |
| 156 | 2 | 5 | |
| 229 | 3 | 5 | |
| 913 | 2 | 4 | |
| 127 | 2 | 3 | |
| 528 | 1 | 3 | |
| 59 | 1 | 3 | |
| 664 | 25 | 3 | |
| 126 | 3 | 3 | |
| 127 | - | 3 | |
| 222 | 2 | 2 | |
| 160 | 1 | 2 | |
| 153 | - | 2 | |
| 873 | 12 | 2 | |
| 37 | - | 2 | |
| 37 | 1 | 2 | |
| 49 | 1 | 1 | |
| 108 | 4 | 1 | |
| 61 | 4 | 1 | |
| 24 | - | 1 | |
| 316 | 2 | 1 | |
| 60 | - | 1 | |
| 201 | 3 | 1 | |
| 12 | 1 | 1 | |
| 328 | 2 | 1 | |
| 11 | - | 1 | |
| 11 | - | 1 | |
| 11 | - | 1 | |
| 75 | 2 | 1 | |
| 76 | 2 | 1 | |
| 59 | 2 | 1 | |
| 206 | 5 | 1 | |
| 213 | 4 | 1 | |
| 85 | - | 1 |
Correlations
File Size vs. Commits (all time): 230 points
|
|
6870.0 | lines of code min: 1.0average: 132.9 25th percentile: 12.0 median: 36.5 75th percentile: 103.25 max: 6870.0 |
|
| 0 | 278.0 | ||
|
commits (all time) min: 2.0 | average: 21.07 | 25th percentile: 3.0 | median: 7.0 | 75th percentile: 20.0 | max: 278.0
|
|||
File Size vs. Contributors (all time): 230 points
|
|
6870.0 | lines of code min: 1.0average: 132.9 25th percentile: 12.0 median: 36.5 75th percentile: 103.25 max: 6870.0 |
|
| 0 | 10.0 | ||
|
contributors (all time) min: 1.0 | average: 3.64 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 5.0 | max: 10.0
|
|||
File Size vs. Commits (30 days): 3 points
|
|
528.0 | lines of code min: 132.0average: 288.67 25th percentile: 132.0 median: 206.0 75th percentile: 528.0 max: 528.0 |
|
| 0 | 3.0 | ||
|
commits (30d) min: 1.0 | average: 2.0 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 3.0
|
|||
File Size vs. Contributors (30 days): 3 points
|
|
528.0 | lines of code min: 132.0average: 288.67 25th percentile: 132.0 median: 206.0 75th percentile: 528.0 max: 528.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): 31 points
|
|
913.0 | lines of code min: 5.0average: 197.58 25th percentile: 49.0 median: 132.0 75th percentile: 229.0 max: 913.0 |
|
| 0 | 9.0 | ||
|
commits (90d) min: 1.0 | average: 2.81 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 4.0 | max: 9.0
|
|||
File Size vs. Contributors (90 days): 31 points
|
|
913.0 | lines of code min: 5.0average: 197.58 25th percentile: 49.0 median: 132.0 75th percentile: 229.0 max: 913.0 |
|
| 0 | 5.0 | ||
|
contributors (90d) min: 1.0 | average: 1.58 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 5.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