File Size Overall
- There are 963 files with 27,907 lines of code.
- 0 very long files (0 lines of code)
- 2 long files (1,073 lines of code)
- 16 medium size files (5,040 lines of code)
- 41 small files (5,705 lines of code)
- 904 very small files (16,089 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 |
|---|---|---|
| 569 | - | |
| 504 | 30 | |
| 481 | 28 | |
| 411 | - | |
| 406 | 36 | |
| 389 | 23 | |
| 352 | 22 | |
| 350 | 21 | |
| 335 | 13 | |
| 332 | 4 | |
| 301 | 11 | |
| 291 | - | |
| 266 | - | |
| 246 | 15 | |
| 239 | - | |
| 218 | 13 | |
| 217 | 9 | |
| 206 | 10 | |
| 190 | 5 | |
| 190 | 24 | |
| 188 | 19 | |
| 185 | 1 | |
| 181 | 18 | |
| 181 | 12 | |
| 177 | 11 | |
| 169 | 14 | |
| 167 | 4 | |
| 164 | 10 | |
| 163 | - | |
| 160 | 12 | |
| 156 | 10 | |
| 154 | 10 | |
| 151 | 5 | |
| 148 | 10 | |
| 147 | 20 | |
| 135 | 13 | |
| 132 | 25 | |
| 129 | 3 | |
| 128 | 5 | |
| 128 | 1 | |
| 126 | 11 | |
| 126 | 7 | |
| 124 | 4 | |
| 123 | 15 | |
| 122 | 10 | |
| 121 | 5 | |
| 120 | - | |
| 118 | - | |
| 117 | - | |
| 116 | 9 |
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 |
|---|---|---|---|---|---|
| 239 | ~1.5k–5k | 14 | ~70 | ~3 | |
| 163 | ~1k–3k | 12 | ~15 | ~10 | |
| 481 | ~3k–7k | 4 | ~150 | ~3 | |
| 332 | ~2k–5k | 5 | ~30 | ~10 | |
| 504 | ~3k–10k | 3 | ~300 | ~2 | |
| 291 | ~2k–5k | 5 | ~30 | ~10 | |
| 266 | ~1.5k–5k | 5 | ~30 | ~7 | |
| 411 | ~2k–7k | 3 | ~200 | ~2 | |
| 389 | ~2k–7k | 3 | ~200 | ~2 | |
| 352 | ~2k–5k | 3 | ~200 | ~2 | |
| 350 | ~2k–5k | 3 | ~300 | ~1 | |
| 301 | ~2k–5k | 3 | ~70 | ~3 | |
| 117 | ~700–2k | 7 | ~20 | ~5 | |
| 126 | ~700–2k | 5 | ~30 | ~3 | |
| 124 | ~700–2k | 5 | ~150 | ~1 | |
| 569 | ~3k–10k | 1 | ~500 | ~1 | |
| 132 | ~700–2k | 4 | ~50 | ~3 | |
| 169 | ~1k–3k | 3 | ~100 | ~2 | |
| 70 | ~300–1k | 7 | ~50 | ~2 | |
| 91 | ~500–1.5k | 5 | ~30 | ~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 |
|---|---|---|
| 406 | 36 | |
| 504 | 30 | |
| 481 | 28 | |
| 132 | 25 | |
| 190 | 24 | |
| 389 | 23 | |
| 352 | 22 | |
| 350 | 21 | |
| 147 | 20 | |
| 188 | 19 | |
| 181 | 18 | |
| 246 | 15 | |
| 123 | 15 | |
| 169 | 14 | |
| 218 | 13 | |
| 335 | 13 | |
| 135 | 13 | |
| 61 | 12 | |
| 160 | 12 | |
| 181 | 12 | |
| 126 | 11 | |
| 177 | 11 | |
| 301 | 11 | |
| 164 | 10 | |
| 122 | 10 | |
| 156 | 10 | |
| 59 | 10 | |
| 154 | 10 | |
| 206 | 10 | |
| 148 | 10 | |
| 91 | 9 | |
| 105 | 9 | |
| 116 | 9 | |
| 217 | 9 | |
| 66 | 8 | |
| 56 | 8 | |
| 126 | 7 | |
| 86 | 7 | |
| 74 | 7 | |
| 33 | 6 | |
| 66 | 6 | |
| 94 | 6 | |
| 69 | 6 | |
| 77 | 6 | |
| 69 | 6 | |
| 190 | 5 | |
| 151 | 5 | |
| 109 | 5 | |
| 128 | 5 | |
| 79 | 5 |
Files With Long Lines (Top 50)
There are 249 files with lines longer than 120 characters. In total, there are 1392 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 504 | 30 | 67 | |
| 120 | - | 61 | |
| 481 | 28 | 55 | |
| 350 | 21 | 51 | |
| 246 | 15 | 49 | |
| 352 | 22 | 42 | |
| 50 | - | 35 | |
| 56 | - | 31 | |
| 218 | 13 | 26 | |
| 190 | 24 | 25 | |
| 169 | 14 | 25 | |
| 118 | - | 24 | |
| 40 | - | 22 | |
| 80 | - | 20 | |
| 36 | - | 20 | |
| 301 | 11 | 19 | |
| 117 | - | 18 | |
| 188 | 19 | 17 | |
| 156 | 10 | 15 | |
| 51 | 4 | 15 | |
| 135 | 13 | 15 | |
| 160 | 12 | 15 | |
| 185 | 1 | 15 | |
| 332 | 4 | 14 | |
| 164 | 10 | 14 | |
| 39 | - | 14 | |
| 335 | 13 | 13 | |
| 154 | 10 | 13 | |
| 389 | 23 | 12 | |
| 190 | 5 | 11 | |
| 55 | 1 | 11 | |
| 28 | 2 | 11 | |
| 181 | 18 | 11 | |
| 79 | 3 | 10 | |
| 148 | 10 | 10 | |
| 108 | 2 | 9 | |
| 88 | 5 | 9 | |
| 126 | 11 | 8 | |
| 177 | 11 | 8 | |
| 45 | 3 | 8 | |
| 91 | 9 | 7 | |
| 132 | 25 | 7 | |
| 124 | 4 | 7 | |
| 114 | - | 7 | |
| 239 | - | 7 | |
| 569 | - | 7 | |
| 85 | 4 | 7 | |
| 83 | 5 | 7 | |
| 47 | 2 | 7 | |
| 83 | 5 | 7 |
Correlations
File Size vs. Commits (all time): 963 points
|
|
569.0 | lines of code min: 1.0average: 28.98 25th percentile: 6.0 median: 10.0 75th percentile: 24.0 max: 569.0 |
|
| 0 | 18.0 | ||
|
commits (all time) min: 1.0 | average: 1.33 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 18.0
|
|||
File Size vs. Contributors (all time): 963 points
|
|
569.0 | lines of code min: 1.0average: 28.98 25th percentile: 6.0 median: 10.0 75th percentile: 24.0 max: 569.0 |
|
| 0 | 7.0 | ||
|
contributors (all time) min: 1.0 | average: 1.19 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 7.0
|
|||
File Size vs. Commits (30 days): 96 points
|
|
504.0 | lines of code min: 6.0average: 60.34 25th percentile: 9.0 median: 19.5 75th percentile: 66.75 max: 504.0 |
|
| 0 | 2.0 | ||
|
commits (30d) min: 1.0 | average: 1.04 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Contributors (30 days): 96 points
|
|
504.0 | lines of code min: 6.0average: 60.34 25th percentile: 9.0 median: 19.5 75th percentile: 66.75 max: 504.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.03 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 135 points
|
|
504.0 | lines of code min: 6.0average: 58.74 25th percentile: 8.0 median: 19.0 75th percentile: 70.0 max: 504.0 |
|
| 0 | 4.0 | ||
|
commits (90d) min: 1.0 | average: 1.17 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 4.0
|
|||
File Size vs. Contributors (90 days): 135 points
|
|
504.0 | lines of code min: 6.0average: 58.74 25th percentile: 8.0 median: 19.0 75th percentile: 70.0 max: 504.0 |
|
| 0 | 3.0 | ||
|
contributors (90d) min: 1.0 | average: 1.13 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.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