File Size Overall
- There are 240 files with 14,726 lines of code.
- 0 very long files (0 lines of code)
- 1 long files (566 lines of code)
- 18 medium size files (5,910 lines of code)
- 17 small files (2,458 lines of code)
- 204 very small files (5,792 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 |
|---|---|---|
| 566 | - | |
| 491 | - | |
| 485 | 25 | |
| 464 | - | |
| 431 | 2 | |
| 397 | - | |
| 369 | 14 | |
| 362 | 31 | |
| 321 | 25 | |
| 318 | 22 | |
| 311 | - | |
| 269 | - | |
| 264 | - | |
| 258 | 12 | |
| 252 | 24 | |
| 249 | 13 | |
| 245 | 33 | |
| 217 | 23 | |
| 207 | 12 | |
| 186 | 3 | |
| 184 | - | |
| 179 | 5 | |
| 175 | 15 | |
| 172 | 16 | |
| 168 | - | |
| 168 | 12 | |
| 165 | 7 | |
| 135 | 3 | |
| 134 | 5 | |
| 125 | 11 | |
| 124 | - | |
| 112 | - | |
| 111 | - | |
| 109 | 9 | |
| 107 | 10 | |
| 104 | 7 | |
| 99 | - | |
| 99 | 10 | |
| 98 | 1 | |
| 98 | - | |
| 92 | 5 | |
| 87 | 7 | |
| 85 | 2 | |
| 82 | - | |
| 82 | 7 | |
| 79 | 10 | |
| 79 | - | |
| 75 | 3 | |
| 75 | 3 | |
| 73 | 10 |
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 |
|---|---|---|---|---|---|
| 485 | ~3k–7k | 20 | ~20 | ~20 | |
| 431 | ~3k–7k | 14 | ~20 | ~20 | |
| 318 | ~2k–5k | 17 | ~15 | ~20 | |
| 264 | ~1.5k–5k | 19 | ~10 | ~30 | |
| 491 | ~3k–7k | 9 | ~15 | ~30 | |
| 362 | ~2k–7k | 12 | ~20 | ~15 | |
| 179 | ~1k–3k | 21 | ~10 | ~20 | |
| 397 | ~2k–7k | 9 | ~30 | ~15 | |
| 252 | ~1.5k–5k | 12 | ~15 | ~20 | |
| 245 | ~1.5k–5k | 12 | ~50 | ~5 | |
| 111 | ~700–2k | 24 | ~20 | ~5 | |
| 217 | ~1.5k–5k | 10 | ~15 | ~15 | |
| 135 | ~700–2k | 15 | ~30 | ~5 | |
| 165 | ~1k–3k | 11 | ~10 | ~20 | |
| 566 | ~3k–10k | 3 | ~15 | ~30 | |
| 82 | ~500–1.5k | 18 | ~30 | ~2 | |
| 45 | under 1k | 28 | ~7 | ~7 | |
| 321 | ~2k–5k | 3 | ~20 | ~15 | |
| 464 | ~3k–7k | 2 | ~500 | ~1 | |
| 58 | ~300–1k | 15 | ~15 | ~3 |
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 |
|---|---|---|
| 245 | 33 | |
| 362 | 31 | |
| 321 | 25 | |
| 485 | 25 | |
| 252 | 24 | |
| 217 | 23 | |
| 318 | 22 | |
| 172 | 16 | |
| 175 | 15 | |
| 369 | 14 | |
| 249 | 13 | |
| 207 | 12 | |
| 168 | 12 | |
| 258 | 12 | |
| 125 | 11 | |
| 79 | 10 | |
| 73 | 10 | |
| 107 | 10 | |
| 99 | 10 | |
| 109 | 9 | |
| 56 | 8 | |
| 58 | 8 | |
| 165 | 7 | |
| 104 | 7 | |
| 82 | 7 | |
| 51 | 7 | |
| 87 | 7 | |
| 58 | 7 | |
| 57 | 6 | |
| 64 | 6 | |
| 92 | 5 | |
| 134 | 5 | |
| 36 | 5 | |
| 53 | 5 | |
| 179 | 5 | |
| 49 | 5 | |
| 45 | 5 | |
| 42 | 4 | |
| 46 | 4 | |
| 58 | 4 | |
| 26 | 4 | |
| 62 | 4 | |
| 38 | 4 | |
| 57 | 4 | |
| 44 | 4 | |
| 57 | 3 | |
| 27 | 3 | |
| 33 | 3 | |
| 30 | 3 | |
| 186 | 3 |
Files With Long Lines (Top 50)
There are 91 files with lines longer than 120 characters. In total, there are 391 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 566 | - | 91 | |
| 264 | - | 30 | |
| 369 | 14 | 14 | |
| 217 | 23 | 14 | |
| 41 | - | 11 | |
| 485 | 25 | 11 | |
| 47 | - | 10 | |
| 321 | 25 | 10 | |
| 34 | - | 9 | |
| 252 | 24 | 9 | |
| 318 | 22 | 8 | |
| 99 | 10 | 8 | |
| 65 | - | 7 | |
| 20 | - | 7 | |
| 20 | - | 6 | |
| 245 | 33 | 6 | |
| 135 | 3 | 5 | |
| 53 | 2 | 4 | |
| 20 | - | 4 | |
| 207 | 12 | 4 | |
| 8 | - | 4 | |
| 36 | - | 4 | |
| 431 | 2 | 4 | |
| 249 | 13 | 3 | |
| 42 | 4 | 3 | |
| 67 | - | 3 | |
| 16 | - | 3 | |
| 7 | - | 3 | |
| 23 | - | 3 | |
| 134 | 5 | 3 | |
| 35 | - | 3 | |
| 75 | 3 | 3 | |
| 73 | 1 | 3 | |
| 70 | - | 3 | |
| 21 | - | 2 | |
| 72 | - | 2 | |
| 7 | - | 2 | |
| 28 | - | 2 | |
| 13 | - | 2 | |
| 8 | - | 2 | |
| 58 | 4 | 2 | |
| 491 | - | 2 | |
| 3 | - | 2 | |
| 4 | - | 2 | |
| 4 | - | 2 | |
| 175 | 15 | 2 | |
| 16 | - | 2 | |
| 4 | - | 2 | |
| 87 | 7 | 2 | |
| 258 | 12 | 2 |
Correlations
File Size vs. Commits (all time): 240 points
|
|
566.0 | lines of code min: 1.0average: 61.36 25th percentile: 11.0 median: 28.0 75th percentile: 60.5 max: 566.0 |
|
| 0 | 851.0 | ||
|
commits (all time) min: 1.0 | average: 61.35 | 25th percentile: 9.0 | median: 22.0 | 75th percentile: 54.75 | max: 851.0
|
|||
File Size vs. Contributors (all time): 240 points
|
|
566.0 | lines of code min: 1.0average: 61.36 25th percentile: 11.0 median: 28.0 75th percentile: 60.5 max: 566.0 |
|
| 0 | 45.0 | ||
|
contributors (all time) min: 1.0 | average: 9.12 | 25th percentile: 4.0 | median: 6.0 | 75th percentile: 11.0 | max: 45.0
|
|||
File Size vs. Commits (30 days): 5 points
|
|
362.0 | lines of code min: 42.0average: 165.8 25th percentile: 43.5 median: 135.0 75th percentile: 303.5 max: 362.0 |
|
| 0 | 5.0 | ||
|
commits (30d) min: 3.0 | average: 3.4 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 4.0 | max: 5.0
|
|||
File Size vs. Contributors (30 days): 5 points
|
|
362.0 | lines of code min: 42.0average: 165.8 25th percentile: 43.5 median: 135.0 75th percentile: 303.5 max: 362.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): 12 points
|
|
464.0 | lines of code min: 4.0average: 122.08 25th percentile: 15.75 median: 44.0 75th percentile: 217.5 max: 464.0 |
|
| 0 | 11.0 | ||
|
commits (90d) min: 2.0 | average: 3.92 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.5 | max: 11.0
|
|||
File Size vs. Contributors (90 days): 12 points
|
|
464.0 | lines of code min: 4.0average: 122.08 25th percentile: 15.75 median: 44.0 75th percentile: 217.5 max: 464.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.5 | 25th percentile: 1.0 | median: 1.5 | 75th percentile: 2.0 | max: 2.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