File Size Overall
- There are 477 files with 37,831 lines of code.
- 2 very long files (3,487 lines of code)
- 7 long files (5,157 lines of code)
- 34 medium size files (9,543 lines of code)
- 52 small files (7,454 lines of code)
- 382 very small files (12,190 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 |
|---|---|---|
| 1831 | 68 | |
| 1656 | 85 | |
| 988 | - | |
| 828 | 86 | |
| 717 | 21 | |
| 696 | 25 | |
| 688 | 34 | |
| 631 | - | |
| 609 | - | |
| 409 | 60 | |
| 402 | - | |
| 401 | - | |
| 378 | 23 | |
| 377 | 24 | |
| 350 | 11 | |
| 343 | 20 | |
| 337 | - | |
| 330 | - | |
| 330 | - | |
| 317 | 21 | |
| 294 | 16 | |
| 279 | - | |
| 279 | - | |
| 274 | 21 | |
| 268 | - | |
| 259 | 15 | |
| 255 | 13 | |
| 249 | - | |
| 247 | 16 | |
| 240 | 15 | |
| 239 | 13 | |
| 237 | 13 | |
| 235 | - | |
| 234 | - | |
| 231 | - | |
| 227 | 17 | |
| 226 | 12 | |
| 223 | - | |
| 222 | - | |
| 220 | 12 | |
| 215 | 12 | |
| 208 | - | |
| 208 | - | |
| 200 | - | |
| 198 | 11 | |
| 193 | - | |
| 191 | 16 | |
| 191 | - | |
| 191 | 11 | |
| 187 | 15 |
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 |
|---|---|---|---|---|---|
| 717 | ~5k–15k | 1 | ~200 | ~3 | |
| 631 | ~3k–10k | 1 | ~100 | ~5 | |
| 136 | ~700–2k | 1 | ~15 | ~7 | |
| 109 | ~700–2k | 1 | ~20 | ~5 | |
| 109 | ~700–2k | 1 | ~20 | ~5 | |
| 99 | ~500–1.5k | 1 | ~30 | ~3 | |
| 79 | ~500–1.5k | 1 | ~30 | ~3 | |
| 74 | ~500–1.5k | 1 | ~20 | ~3 | |
| 60 | ~300–1k | 1 | ~20 | ~2 | |
| 44 | under 1k | 1 | ~15 | ~3 | |
| 30 | under 1k | 1 | ~10 | ~3 | |
| 15 | under 1k | 1 | ~10 | ~2 |
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 |
|---|---|---|
| 828 | 86 | |
| 1656 | 85 | |
| 1831 | 68 | |
| 409 | 60 | |
| 140 | 40 | |
| 688 | 34 | |
| 696 | 25 | |
| 76 | 24 | |
| 377 | 24 | |
| 378 | 23 | |
| 274 | 21 | |
| 109 | 21 | |
| 717 | 21 | |
| 317 | 21 | |
| 343 | 20 | |
| 162 | 18 | |
| 227 | 17 | |
| 191 | 16 | |
| 247 | 16 | |
| 294 | 16 | |
| 259 | 15 | |
| 240 | 15 | |
| 187 | 15 | |
| 118 | 14 | |
| 255 | 13 | |
| 131 | 13 | |
| 239 | 13 | |
| 237 | 13 | |
| 123 | 13 | |
| 63 | 13 | |
| 220 | 12 | |
| 226 | 12 | |
| 215 | 12 | |
| 198 | 11 | |
| 139 | 11 | |
| 107 | 11 | |
| 120 | 11 | |
| 74 | 11 | |
| 350 | 11 | |
| 146 | 11 | |
| 191 | 11 | |
| 81 | 10 | |
| 91 | 10 | |
| 70 | 10 | |
| 79 | 10 | |
| 80 | 10 | |
| 76 | 10 | |
| 136 | 10 | |
| 149 | 9 | |
| 77 | 9 |
Files With Long Lines (Top 50)
There are 73 files with lines longer than 120 characters. In total, there are 438 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 187 | 15 | 74 | |
| 330 | - | 38 | |
| 237 | 13 | 34 | |
| 1831 | 68 | 28 | |
| 149 | 9 | 24 | |
| 198 | 11 | 19 | |
| 52 | 1 | 18 | |
| 105 | 7 | 17 | |
| 226 | 12 | 17 | |
| 828 | 86 | 17 | |
| 350 | 11 | 11 | |
| 129 | 1 | 7 | |
| 1656 | 85 | 7 | |
| 377 | 24 | 7 | |
| 294 | 16 | 7 | |
| 239 | 13 | 6 | |
| 107 | 11 | 6 | |
| 85 | - | 5 | |
| 330 | - | 5 | |
| 93 | 7 | 5 | |
| 89 | 4 | 4 | |
| 77 | 2 | 4 | |
| 125 | 7 | 4 | |
| 259 | 15 | 3 | |
| 317 | 21 | 3 | |
| 85 | - | 3 | |
| 99 | 5 | 3 | |
| 138 | 3 | 3 | |
| 138 | 4 | 3 | |
| 88 | 7 | 3 | |
| 240 | 15 | 2 | |
| 717 | 21 | 2 | |
| 95 | 8 | 2 | |
| 123 | 13 | 2 | |
| 247 | 16 | 2 | |
| 162 | 18 | 2 | |
| 177 | 9 | 2 | |
| 39 | 2 | 2 | |
| 51 | 3 | 2 | |
| 179 | 5 | 2 | |
| 49 | 5 | 1 | |
| 133 | 8 | 1 | |
| 274 | 21 | 1 | |
| 77 | 9 | 1 | |
| 67 | 7 | 1 | |
| 59 | 3 | 1 | |
| 191 | 16 | 1 | |
| 35 | 3 | 1 | |
| 409 | 60 | 1 | |
| 80 | 9 | 1 |
Correlations
File Size vs. Commits (all time): 477 points
|
|
1831.0 | lines of code min: 3.0average: 79.31 25th percentile: 15.0 median: 33.0 75th percentile: 80.0 max: 1831.0 |
|
| 0 | 24.0 | ||
|
commits (all time) min: 1.0 | average: 2.22 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 24.0
|
|||
File Size vs. Contributors (all time): 477 points
|
|
1831.0 | lines of code min: 3.0average: 79.31 25th percentile: 15.0 median: 33.0 75th percentile: 80.0 max: 1831.0 |
|
| 0 | 6.0 | ||
|
contributors (all time) min: 1.0 | average: 1.23 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 6.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