File Size Overall
- There are 2,983 files with 126,033 lines of code.
- 1 very long files (1,178 lines of code)
- 2 long files (1,078 lines of code)
- 22 medium size files (5,622 lines of code)
- 172 small files (23,198 lines of code)
- 2,786 very small files (94,957 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 |
|---|---|---|
| 1178 | 25 | |
| 543 | 28 | |
| 535 | 30 | |
| 321 | 33 | |
| 320 | 33 | |
| 312 | 38 | |
| 308 | 15 | |
| 301 | 31 | |
| 297 | 11 | |
| 290 | 28 | |
| 290 | 6 | |
| 288 | 30 | |
| 275 | 9 | |
| 258 | 9 | |
| 241 | 8 | |
| 225 | 15 | |
| 225 | 11 | |
| 219 | 5 | |
| 218 | 7 | |
| 216 | 21 | |
| 209 | 22 | |
| 204 | 6 | |
| 202 | 21 | |
| 202 | 21 | |
| 201 | 21 | |
| 199 | 22 | |
| 198 | 21 | |
| 194 | 7 | |
| 190 | 7 | |
| 189 | 7 | |
| 188 | 6 | |
| 188 | 7 | |
| 188 | 7 | |
| 187 | 20 | |
| 187 | 19 | |
| 187 | 9 | |
| 185 | 19 | |
| 183 | 19 | |
| 181 | 20 | |
| 181 | 9 | |
| 180 | 19 | |
| 180 | 5 | |
| 180 | 9 | |
| 179 | 18 | |
| 179 | 6 | |
| 178 | 6 | |
| 177 | 19 | |
| 177 | 18 | |
| 175 | 10 | |
| 173 | 18 |
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 |
|---|---|---|---|---|---|
| 535 | ~3k–10k | 33 | ~30 | ~15 | |
| 1178 | ~7k–20k | 11 | ~200 | ~7 | |
| 288 | ~2k–5k | 44 | ~70 | ~3 | |
| 290 | ~2k–5k | 42 | ~70 | ~5 | |
| 290 | ~2k–5k | 40 | ~70 | ~3 | |
| 308 | ~2k–5k | 35 | ~30 | ~10 | |
| 209 | ~1k–3k | 40 | ~50 | ~5 | |
| 219 | ~1.5k–5k | 37 | ~70 | ~3 | |
| 216 | ~1.5k–5k | 35 | ~50 | ~5 | |
| 543 | ~3k–10k | 13 | ~100 | ~5 | |
| 177 | ~1k–3k | 35 | ~70 | ~2 | |
| 152 | ~1k–3k | 31 | ~30 | ~3 | |
| 180 | ~1k–3k | 26 | ~15 | ~15 | |
| 131 | ~700–2k | 34 | ~70 | ~2 | |
| 116 | ~700–2k | 31 | ~30 | ~3 | |
| 126 | ~700–2k | 26 | ~30 | ~5 | |
| 166 | ~1k–3k | 19 | ~20 | ~7 | |
| 218 | ~1.5k–5k | 14 | ~30 | ~7 | |
| 166 | ~1k–3k | 18 | ~50 | ~3 | |
| 131 | ~700–2k | 22 | ~30 | ~5 |
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 |
|---|---|---|
| 312 | 38 | |
| 321 | 33 | |
| 320 | 33 | |
| 301 | 31 | |
| 288 | 30 | |
| 535 | 30 | |
| 290 | 28 | |
| 543 | 28 | |
| 1178 | 25 | |
| 199 | 22 | |
| 209 | 22 | |
| 201 | 21 | |
| 202 | 21 | |
| 198 | 21 | |
| 202 | 21 | |
| 216 | 21 | |
| 181 | 20 | |
| 187 | 20 | |
| 177 | 19 | |
| 185 | 19 | |
| 180 | 19 | |
| 187 | 19 | |
| 183 | 19 | |
| 173 | 18 | |
| 173 | 18 | |
| 177 | 18 | |
| 179 | 18 | |
| 157 | 17 | |
| 157 | 17 | |
| 160 | 17 | |
| 162 | 17 | |
| 162 | 17 | |
| 159 | 17 | |
| 149 | 16 | |
| 152 | 16 | |
| 147 | 16 | |
| 149 | 16 | |
| 138 | 15 | |
| 136 | 15 | |
| 141 | 15 | |
| 138 | 15 | |
| 308 | 15 | |
| 151 | 15 | |
| 153 | 15 | |
| 225 | 15 | |
| 134 | 14 | |
| 136 | 14 | |
| 134 | 14 | |
| 134 | 14 | |
| 129 | 14 |
Files With Long Lines (Top 50)
There are 168 files with lines longer than 120 characters. In total, there are 487 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1178 | 25 | 24 | |
| 308 | 15 | 12 | |
| 301 | 31 | 10 | |
| 61 | 5 | 8 | |
| 535 | 30 | 8 | |
| 152 | 11 | 7 | |
| 97 | 10 | 6 | |
| 52 | 5 | 6 | |
| 58 | 5 | 6 | |
| 141 | 15 | 6 | |
| 52 | 5 | 6 | |
| 179 | 18 | 5 | |
| 290 | 6 | 4 | |
| 219 | 5 | 4 | |
| 80 | 8 | 3 | |
| 65 | 7 | 3 | |
| 61 | 6 | 3 | |
| 101 | 11 | 3 | |
| 90 | 9 | 3 | |
| 75 | 8 | 3 | |
| 47 | 5 | 3 | |
| 46 | 5 | 3 | |
| 46 | 5 | 3 | |
| 37 | 4 | 3 | |
| 38 | 4 | 3 | |
| 77 | 8 | 3 | |
| 57 | 6 | 3 | |
| 177 | 18 | 3 | |
| 38 | 4 | 3 | |
| 288 | 30 | 3 | |
| 38 | 4 | 3 | |
| 81 | 3 | 3 | |
| 57 | 6 | 3 | |
| 47 | 5 | 3 | |
| 37 | 4 | 3 | |
| 29 | 3 | 3 | |
| 70 | 7 | 3 | |
| 290 | 28 | 3 | |
| 38 | 4 | 3 | |
| 49 | 5 | 3 | |
| 46 | 5 | 3 | |
| 97 | 10 | 3 | |
| 39 | 4 | 3 | |
| 54 | 6 | 3 | |
| 62 | 6 | 3 | |
| 83 | 9 | 3 | |
| 59 | 6 | 3 | |
| 62 | 6 | 3 | |
| 90 | 9 | 3 | |
| 54 | 6 | 3 |
Correlations
File Size vs. Commits (all time): 2983 points
|
|
1178.0 | lines of code min: 1.0average: 42.25 25th percentile: 11.0 median: 36.0 75th percentile: 54.0 max: 1178.0 |
|
| 0 | 168.0 | ||
|
commits (all time) min: 1.0 | average: 5.54 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 6.0 | max: 168.0
|
|||
File Size vs. Contributors (all time): 2983 points
|
|
1178.0 | lines of code min: 1.0average: 42.25 25th percentile: 11.0 median: 36.0 75th percentile: 54.0 max: 1178.0 |
|
| 0 | 10.0 | ||
|
contributors (all time) min: 1.0 | average: 2.67 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 3.0 | max: 10.0
|
|||
File Size vs. Commits (30 days): 2079 points
|
|
1178.0 | lines of code min: 1.0average: 50.14 25th percentile: 28.0 median: 40.0 75th percentile: 59.0 max: 1178.0 |
|
| 0 | 24.0 | ||
|
commits (30d) min: 2.0 | average: 3.4 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 4.0 | max: 24.0
|
|||
File Size vs. Contributors (30 days): 2079 points
|
|
1178.0 | lines of code min: 1.0average: 50.14 25th percentile: 28.0 median: 40.0 75th percentile: 59.0 max: 1178.0 |
|
| 0 | 8.0 | ||
|
contributors (30d) min: 1.0 | average: 2.49 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 8.0
|
|||
File Size vs. Commits (90 days): 2542 points
|
|
1178.0 | lines of code min: 1.0average: 47.18 25th percentile: 25.0 median: 37.0 75th percentile: 57.0 max: 1178.0 |
|
| 0 | 46.0 | ||
|
commits (90d) min: 1.0 | average: 3.75 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 4.0 | max: 46.0
|
|||
File Size vs. Contributors (90 days): 2542 points
|
|
1178.0 | lines of code min: 1.0average: 47.18 25th percentile: 25.0 median: 37.0 75th percentile: 57.0 max: 1178.0 |
|
| 0 | 8.0 | ||
|
contributors (90d) min: 1.0 | average: 2.55 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 8.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