File Size Overall
- There are 296 files with 24,999 lines of code.
- 1 very long files (1,246 lines of code)
- 4 long files (2,938 lines of code)
- 26 medium size files (7,719 lines of code)
- 38 small files (5,415 lines of code)
- 227 very small files (7,681 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 |
|---|---|---|
| 1246 | 74 | |
| 924 | 53 | |
| 767 | 103 | |
| 735 | 36 | |
| 512 | 79 | |
| 492 | 22 | |
| 454 | 33 | |
| 408 | 19 | |
| 388 | 21 | |
| 362 | 41 | |
| 360 | 22 | |
| 327 | 16 | |
| 288 | 18 | |
| 287 | 24 | |
| 287 | 52 | |
| 283 | 32 | |
| 283 | 9 | |
| 281 | 47 | |
| 280 | 13 | |
| 271 | 17 | |
| 270 | 22 | |
| 263 | 18 | |
| 254 | 11 | |
| 252 | 26 | |
| 247 | 28 | |
| 240 | 24 | |
| 239 | 16 | |
| 235 | 18 | |
| 235 | 12 | |
| 227 | 10 | |
| 206 | 7 | |
| 191 | 13 | |
| 189 | 12 | |
| 188 | 47 | |
| 187 | 12 | |
| 180 | - | |
| 179 | 11 | |
| 178 | 11 | |
| 175 | 10 | |
| 169 | 10 | |
| 167 | 27 | |
| 165 | 17 | |
| 163 | 9 | |
| 161 | 18 | |
| 157 | 8 | |
| 154 | 26 | |
| 150 | 4 | |
| 149 | 13 | |
| 142 | 17 | |
| 142 | 22 |
Large Files That Change Often (Top 12)
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 |
|---|---|---|---|---|---|
| 1246 | ~7k–20k | 5 | ~50 | ~30 | |
| 283 | ~1.5k–5k | 11 | ~50 | ~7 | |
| 735 | ~5k–15k | 4 | ~100 | ~7 | |
| 362 | ~2k–7k | 4 | ~200 | ~2 | |
| 408 | ~2k–7k | 3 | ~100 | ~5 | |
| 165 | ~1k–3k | 4 | ~20 | ~10 | |
| 388 | ~2k–7k | 1 | ~150 | ~3 | |
| 116 | ~700–2k | 3 | ~15 | ~7 | |
| 252 | ~1.5k–5k | 1 | ~20 | ~10 | |
| 150 | ~1k–3k | 1 | ~30 | ~5 | |
| 110 | ~700–2k | 1 | ~30 | ~5 | |
| 9 | under 1k | 3 | ~50 | ~0 |
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 |
|---|---|---|
| 767 | 103 | |
| 512 | 79 | |
| 1246 | 74 | |
| 924 | 53 | |
| 287 | 52 | |
| 281 | 47 | |
| 188 | 47 | |
| 362 | 41 | |
| 735 | 36 | |
| 454 | 33 | |
| 283 | 32 | |
| 247 | 28 | |
| 167 | 27 | |
| 252 | 26 | |
| 154 | 26 | |
| 287 | 24 | |
| 240 | 24 | |
| 492 | 22 | |
| 137 | 22 | |
| 142 | 22 | |
| 270 | 22 | |
| 360 | 22 | |
| 388 | 21 | |
| 408 | 19 | |
| 288 | 18 | |
| 235 | 18 | |
| 100 | 18 | |
| 161 | 18 | |
| 263 | 18 | |
| 129 | 18 | |
| 271 | 17 | |
| 93 | 17 | |
| 165 | 17 | |
| 142 | 17 | |
| 101 | 17 | |
| 327 | 16 | |
| 112 | 16 | |
| 239 | 16 | |
| 76 | 14 | |
| 91 | 14 | |
| 69 | 14 | |
| 115 | 14 | |
| 149 | 13 | |
| 110 | 13 | |
| 110 | 13 | |
| 191 | 13 | |
| 82 | 13 | |
| 280 | 13 | |
| 189 | 12 | |
| 187 | 12 |
Files With Long Lines (Top 50)
There are 107 files with lines longer than 120 characters. In total, there are 357 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1246 | 74 | 28 | |
| 327 | 16 | 20 | |
| 735 | 36 | 17 | |
| 288 | 18 | 11 | |
| 263 | 18 | 10 | |
| 45 | - | 9 | |
| 271 | 17 | 9 | |
| 924 | 53 | 9 | |
| 157 | 8 | 8 | |
| 239 | 16 | 8 | |
| 235 | 18 | 7 | |
| 227 | 10 | 7 | |
| 408 | 19 | 7 | |
| 189 | 12 | 6 | |
| 240 | 24 | 6 | |
| 60 | 12 | 6 | |
| 175 | 10 | 6 | |
| 163 | 9 | 6 | |
| 512 | 79 | 6 | |
| 73 | 5 | 5 | |
| 283 | 9 | 5 | |
| 39 | 3 | 4 | |
| 149 | 13 | 4 | |
| 254 | 11 | 4 | |
| 178 | 11 | 4 | |
| 90 | 9 | 4 | |
| 102 | 10 | 4 | |
| 127 | 11 | 4 | |
| 454 | 33 | 4 | |
| 388 | 21 | 4 | |
| 235 | 12 | 4 | |
| 48 | 1 | 3 | |
| 82 | 4 | 3 | |
| 287 | 24 | 3 | |
| 283 | 32 | 3 | |
| 114 | 6 | 3 | |
| 161 | 18 | 3 | |
| 106 | 7 | 3 | |
| 188 | 47 | 3 | |
| 91 | 10 | 3 | |
| 206 | 7 | 3 | |
| 126 | 6 | 3 | |
| 270 | 22 | 3 | |
| 57 | 4 | 2 | |
| 102 | 5 | 2 | |
| 247 | 28 | 2 | |
| 362 | 41 | 2 | |
| 287 | 52 | 2 | |
| 91 | 8 | 2 | |
| 187 | 12 | 2 |
Correlations
File Size vs. Commits (all time): 296 points
|
|
1246.0 | lines of code min: 3.0average: 84.46 25th percentile: 16.25 median: 39.0 75th percentile: 92.5 max: 1246.0 |
|
| 0 | 340.0 | ||
|
commits (all time) min: 1.0 | average: 15.02 | 25th percentile: 4.0 | median: 8.5 | 75th percentile: 17.0 | max: 340.0
|
|||
File Size vs. Contributors (all time): 296 points
|
|
1246.0 | lines of code min: 3.0average: 84.46 25th percentile: 16.25 median: 39.0 75th percentile: 92.5 max: 1246.0 |
|
| 0 | 38.0 | ||
|
contributors (all time) min: 1.0 | average: 4.15 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 5.0 | max: 38.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): 12 points
|
|
1246.0 | lines of code min: 9.0average: 352.0 25th percentile: 124.5 median: 267.5 75th percentile: 403.0 max: 1246.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): 12 points
|
|
1246.0 | lines of code min: 9.0average: 352.0 25th percentile: 124.5 median: 267.5 75th percentile: 403.0 max: 1246.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