File Size Overall
- There are 168 files with 12,419 lines of code.
- 0 very long files (0 lines of code)
- 3 long files (1,731 lines of code)
- 13 medium size files (3,997 lines of code)
- 16 small files (2,260 lines of code)
- 136 very small files (4,431 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 |
|---|---|---|
| 610 | 21 | |
| 604 | - | |
| 517 | 16 | |
| 408 | - | |
| 407 | 4 | |
| 351 | - | |
| 342 | - | |
| 317 | - | |
| 308 | 1 | |
| 305 | 12 | |
| 298 | 16 | |
| 297 | 19 | |
| 284 | 1 | |
| 260 | - | |
| 212 | - | |
| 208 | - | |
| 180 | 6 | |
| 177 | 9 | |
| 177 | 6 | |
| 161 | - | |
| 155 | 14 | |
| 149 | 6 | |
| 145 | - | |
| 143 | 2 | |
| 138 | 1 | |
| 133 | - | |
| 132 | 10 | |
| 121 | - | |
| 121 | - | |
| 116 | 4 | |
| 107 | 10 | |
| 105 | 4 | |
| 97 | 2 | |
| 95 | 7 | |
| 93 | - | |
| 91 | 6 | |
| 90 | 1 | |
| 90 | 1 | |
| 89 | 3 | |
| 84 | - | |
| 82 | - | |
| 81 | 3 | |
| 78 | 4 | |
| 75 | - | |
| 75 | 3 | |
| 75 | 3 | |
| 73 | - | |
| 73 | - | |
| 72 | - | |
| 70 | - |
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 |
|---|---|---|---|---|---|
| 284 | ~1.5k–5k | 13 | ~20 | ~15 | |
| 610 | ~3k–10k | 4 | ~30 | ~15 | |
| 517 | ~3k–10k | 2 | ~20 | ~20 | |
| 407 | ~2k–7k | 2 | ~50 | ~10 | |
| 177 | ~1k–3k | 4 | ~30 | ~7 | |
| 305 | ~2k–5k | 2 | ~30 | ~10 | |
| 121 | ~700–2k | 4 | ~20 | ~5 | |
| 116 | ~700–2k | 3 | ~20 | ~5 | |
| 121 | ~700–2k | 2 | ~10 | ~10 | |
| 58 | ~300–1k | 4 | ~7 | ~7 | |
| 82 | ~500–1.5k | 2 | ~15 | ~5 | |
| 39 | under 1k | 4 | ~10 | ~5 | |
| 73 | ~500–1.5k | 2 | ~10 | ~5 | |
| 67 | ~300–1k | 2 | ~70 | ~1 | |
| 42 | under 1k | 3 | ~20 | ~2 | |
| 30 | under 1k | 4 | ~7 | ~5 | |
| 35 | under 1k | 3 | ~15 | ~3 | |
| 97 | ~500–1.5k | 1 | ~100 | ~1 | |
| 44 | under 1k | 2 | ~20 | ~2 | |
| 41 | under 1k | 2 | ~20 | ~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 |
|---|---|---|
| 610 | 21 | |
| 297 | 19 | |
| 517 | 16 | |
| 298 | 16 | |
| 155 | 14 | |
| 305 | 12 | |
| 107 | 10 | |
| 132 | 10 | |
| 177 | 9 | |
| 95 | 7 | |
| 149 | 6 | |
| 91 | 6 | |
| 177 | 6 | |
| 180 | 6 | |
| 105 | 4 | |
| 407 | 4 | |
| 53 | 4 | |
| 78 | 4 | |
| 32 | 4 | |
| 116 | 4 | |
| 89 | 3 | |
| 58 | 3 | |
| 59 | 3 | |
| 81 | 3 | |
| 35 | 3 | |
| 29 | 3 | |
| 75 | 3 | |
| 75 | 3 | |
| 40 | 3 | |
| 32 | 3 | |
| 97 | 2 | |
| 53 | 2 | |
| 67 | 2 | |
| 143 | 2 | |
| 39 | 2 | |
| 52 | 2 | |
| 67 | 2 | |
| 14 | 2 | |
| 284 | 1 | |
| 15 | 1 | |
| 18 | 1 | |
| 9 | 1 | |
| 17 | 1 | |
| 19 | 1 | |
| 46 | 1 | |
| 90 | 1 | |
| 308 | 1 | |
| 90 | 1 | |
| 138 | 1 | |
| 37 | 1 |
Files With Long Lines (Top 25)
There are 25 files with lines longer than 120 characters. In total, there are 80 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 604 | - | 38 | |
| 75 | - | 8 | |
| 351 | - | 3 | |
| 29 | 3 | 3 | |
| 284 | 1 | 2 | |
| 69 | - | 2 | |
| 20 | - | 2 | |
| 407 | 4 | 2 | |
| 177 | 9 | 2 | |
| 35 | - | 2 | |
| 32 | 4 | 2 | |
| 54 | - | 1 | |
| 49 | - | 1 | |
| 517 | 16 | 1 | |
| 10 | - | 1 | |
| 26 | - | 1 | |
| 408 | - | 1 | |
| 24 | - | 1 | |
| 16 | - | 1 | |
| 260 | - | 1 | |
| 317 | - | 1 | |
| 133 | - | 1 | |
| 81 | 3 | 1 | |
| 41 | - | 1 | |
| 177 | 6 | 1 |
Correlations
File Size vs. Commits (all time): 168 points
|
|
610.0 | lines of code min: 2.0average: 73.92 25th percentile: 14.0 median: 33.0 75th percentile: 80.25 max: 610.0 |
|
| 0 | 173.0 | ||
|
commits (all time) min: 2.0 | average: 18.59 | 25th percentile: 5.0 | median: 10.0 | 75th percentile: 23.5 | max: 173.0
|
|||
File Size vs. Contributors (all time): 168 points
|
|
610.0 | lines of code min: 2.0average: 73.92 25th percentile: 14.0 median: 33.0 75th percentile: 80.25 max: 610.0 |
|
| 0 | 19.0 | ||
|
contributors (all time) min: 1.0 | average: 5.03 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 6.0 | max: 19.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