File Size Overall
- There are 200 files with 28,343 lines of code.
- 2 very long files (2,572 lines of code)
- 8 long files (6,034 lines of code)
- 33 medium size files (10,091 lines of code)
- 42 small files (6,143 lines of code)
- 115 very small files (3,503 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 |
|---|---|---|
| 1455 | - | |
| 1117 | 11 | |
| 935 | 20 | |
| 887 | - | |
| 853 | 9 | |
| 768 | 58 | |
| 755 | - | |
| 719 | 2 | |
| 595 | 6 | |
| 522 | 9 | |
| 496 | 11 | |
| 481 | 33 | |
| 439 | 12 | |
| 434 | 9 | |
| 398 | 2 | |
| 396 | 7 | |
| 387 | - | |
| 365 | 9 | |
| 341 | 7 | |
| 340 | 9 | |
| 340 | 25 | |
| 329 | 6 | |
| 323 | 24 | |
| 311 | 6 | |
| 300 | 1 | |
| 296 | 2 | |
| 289 | - | |
| 289 | 11 | |
| 274 | 10 | |
| 272 | - | |
| 267 | 7 | |
| 263 | 1 | |
| 255 | 9 | |
| 243 | 4 | |
| 229 | 9 | |
| 228 | 7 | |
| 223 | - | |
| 219 | 6 | |
| 217 | 5 | |
| 216 | 3 | |
| 215 | 8 | |
| 209 | 12 | |
| 207 | 4 | |
| 200 | - | |
| 197 | 5 | |
| 197 | 3 | |
| 194 | - | |
| 194 | 3 | |
| 193 | 2 | |
| 193 | 5 |
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 |
|---|---|---|---|---|---|
| 719 | ~5k–15k | 25 | ~100 | ~7 | |
| 396 | ~2k–7k | 18 | ~70 | ~5 | |
| 296 | ~2k–5k | 19 | ~50 | ~5 | |
| 300 | ~2k–5k | 15 | ~70 | ~5 | |
| 887 | ~5k–15k | 4 | ~500 | ~2 | |
| 329 | ~2k–5k | 9 | ~100 | ~3 | |
| 289 | ~2k–5k | 6 | ~150 | ~2 | |
| 341 | ~2k–5k | 5 | ~300 | ~1 | |
| 496 | ~3k–7k | 3 | ~700 | ~1 | |
| 207 | ~1k–3k | 7 | ~70 | ~3 | |
| 481 | ~3k–7k | 3 | ~700 | ~1 | |
| 263 | ~1.5k–5k | 5 | ~150 | ~2 | |
| 398 | ~2k–7k | 3 | ~500 | ~1 | |
| 274 | ~1.5k–5k | 4 | ~300 | ~1 | |
| 216 | ~1.5k–5k | 5 | ~200 | ~1 | |
| 255 | ~1.5k–5k | 4 | ~300 | ~1 | |
| 113 | ~700–2k | 9 | ~30 | ~3 | |
| 200 | ~1k–3k | 5 | ~100 | ~2 | |
| 243 | ~1.5k–5k | 4 | ~300 | ~1 | |
| 311 | ~2k–5k | 3 | ~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 |
|---|---|---|
| 768 | 58 | |
| 481 | 33 | |
| 340 | 25 | |
| 323 | 24 | |
| 935 | 20 | |
| 209 | 12 | |
| 141 | 12 | |
| 439 | 12 | |
| 1117 | 11 | |
| 496 | 11 | |
| 289 | 11 | |
| 274 | 10 | |
| 229 | 9 | |
| 96 | 9 | |
| 115 | 9 | |
| 255 | 9 | |
| 853 | 9 | |
| 340 | 9 | |
| 522 | 9 | |
| 434 | 9 | |
| 365 | 9 | |
| 182 | 8 | |
| 98 | 8 | |
| 63 | 8 | |
| 215 | 8 | |
| 180 | 8 | |
| 115 | 8 | |
| 396 | 7 | |
| 341 | 7 | |
| 267 | 7 | |
| 228 | 7 | |
| 107 | 7 | |
| 70 | 6 | |
| 329 | 6 | |
| 219 | 6 | |
| 595 | 6 | |
| 152 | 6 | |
| 311 | 6 | |
| 149 | 5 | |
| 197 | 5 | |
| 217 | 5 | |
| 116 | 5 | |
| 56 | 5 | |
| 183 | 5 | |
| 193 | 5 | |
| 85 | 5 | |
| 56 | 4 | |
| 207 | 4 | |
| 59 | 4 | |
| 243 | 4 |
Files With Long Lines (Top 43)
There are 43 files with lines longer than 120 characters. In total, there are 107 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 289 | - | 8 | |
| 719 | 2 | 7 | |
| 1117 | 11 | 6 | |
| 122 | - | 6 | |
| 396 | 7 | 5 | |
| 522 | 9 | 5 | |
| 263 | 1 | 5 | |
| 197 | 3 | 4 | |
| 595 | 6 | 4 | |
| 296 | 2 | 3 | |
| 115 | 9 | 3 | |
| 51 | 1 | 3 | |
| 274 | 10 | 3 | |
| 111 | 2 | 3 | |
| 439 | 12 | 3 | |
| 200 | - | 3 | |
| 37 | 1 | 2 | |
| 329 | 6 | 2 | |
| 243 | 4 | 2 | |
| 341 | 7 | 2 | |
| 153 | 2 | 2 | |
| 169 | 2 | 2 | |
| 219 | 6 | 2 | |
| 217 | 5 | 2 | |
| 365 | 9 | 2 | |
| 194 | - | 1 | |
| 182 | 8 | 1 | |
| 96 | 9 | 1 | |
| 77 | 1 | 1 | |
| 41 | - | 1 | |
| 59 | 4 | 1 | |
| 70 | 6 | 1 | |
| 11 | - | 1 | |
| 887 | - | 1 | |
| 216 | 3 | 1 | |
| 116 | 2 | 1 | |
| 4 | - | 1 | |
| 132 | 2 | 1 | |
| 181 | 2 | 1 | |
| 434 | 9 | 1 | |
| 142 | 4 | 1 | |
| 215 | 8 | 1 | |
| 272 | - | 1 |
Correlations
File Size vs. Commits (all time): 200 points
|
|
1455.0 | lines of code min: 1.0average: 141.72 25th percentile: 20.0 median: 65.5 75th percentile: 190.5 max: 1455.0 |
|
| 0 | 25.0 | ||
|
commits (all time) min: 1.0 | average: 3.96 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 4.0 | max: 25.0
|
|||
File Size vs. Contributors (all time): 200 points
|
|
1455.0 | lines of code min: 1.0average: 141.72 25th percentile: 20.0 median: 65.5 75th percentile: 190.5 max: 1455.0 |
|
| 0 | 4.0 | ||
|
contributors (all time) min: 1.0 | average: 2.25 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 4.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): 0 points
No data for "commits (90d)" vs. "lines of code".
File Size vs. Contributors (90 days): 0 points
No data for "contributors (90d)" vs. "lines of code".
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