File Size Overall
- There are 304 files with 8,983 lines of code.
- 0 very long files (0 lines of code)
- 0 long files (0 lines of code)
- 6 medium size files (1,681 lines of code)
- 14 small files (1,858 lines of code)
- 284 very small files (5,444 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 |
|---|---|---|
| 360 | 8 | |
| 330 | 2 | |
| 318 | 1 | |
| 253 | 7 | |
| 219 | - | |
| 201 | - | |
| 161 | 3 | |
| 156 | 8 | |
| 152 | 10 | |
| 152 | 17 | |
| 143 | 7 | |
| 136 | 11 | |
| 133 | 8 | |
| 132 | 5 | |
| 127 | 1 | |
| 119 | 3 | |
| 116 | 2 | |
| 115 | - | |
| 109 | - | |
| 107 | 5 | |
| 98 | 3 | |
| 97 | 3 | |
| 95 | - | |
| 94 | - | |
| 91 | 6 | |
| 91 | - | |
| 89 | 1 | |
| 88 | 3 | |
| 86 | 3 | |
| 86 | 2 | |
| 84 | 4 | |
| 72 | 1 | |
| 70 | 2 | |
| 70 | 5 | |
| 66 | 5 | |
| 66 | - | |
| 65 | 4 | |
| 64 | 1 | |
| 64 | 4 | |
| 61 | 4 | |
| 59 | 4 | |
| 59 | - | |
| 58 | - | |
| 57 | 1 | |
| 57 | 1 | |
| 56 | 2 | |
| 56 | 1 | |
| 55 | 2 | |
| 55 | 5 | |
| 54 | - |
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 |
|---|---|---|---|---|---|
| 318 | ~2k–5k | 17 | ~20 | ~15 | |
| 152 | ~1k–3k | 18 | ~10 | ~15 | |
| 91 | ~500–1.5k | 21 | ~15 | ~7 | |
| 89 | ~500–1.5k | 21 | ~7 | ~15 | |
| 70 | ~300–1k | 18 | ~10 | ~5 | |
| 66 | ~300–1k | 14 | ~15 | ~3 | |
| 127 | ~700–2k | 6 | ~30 | ~5 | |
| 133 | ~700–2k | 5 | ~10 | ~10 | |
| 330 | ~2k–5k | 2 | ~20 | ~15 | |
| 42 | under 1k | 12 | ~15 | ~3 | |
| 219 | ~1.5k–5k | 2 | ~150 | ~2 | |
| 132 | ~700–2k | 3 | ~10 | ~10 | |
| 98 | ~500–1.5k | 3 | ~30 | ~3 | |
| 55 | ~300–1k | 5 | ~15 | ~5 | |
| 84 | ~500–1.5k | 3 | ~15 | ~5 | |
| 49 | under 1k | 4 | ~15 | ~3 | |
| 86 | ~500–1.5k | 2 | ~30 | ~3 | |
| 57 | ~300–1k | 3 | ~10 | ~5 | |
| 15 | under 1k | 11 | ~15 | ~1 | |
| 52 | ~300–1k | 3 | ~7 | ~7 |
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 |
|---|---|---|
| 152 | 17 | |
| 136 | 11 | |
| 152 | 10 | |
| 133 | 8 | |
| 360 | 8 | |
| 156 | 8 | |
| 43 | 8 | |
| 37 | 8 | |
| 253 | 7 | |
| 143 | 7 | |
| 91 | 6 | |
| 55 | 5 | |
| 132 | 5 | |
| 66 | 5 | |
| 70 | 5 | |
| 107 | 5 | |
| 61 | 4 | |
| 59 | 4 | |
| 49 | 4 | |
| 65 | 4 | |
| 84 | 4 | |
| 64 | 4 | |
| 24 | 4 | |
| 86 | 3 | |
| 52 | 3 | |
| 97 | 3 | |
| 98 | 3 | |
| 88 | 3 | |
| 119 | 3 | |
| 161 | 3 | |
| 330 | 2 | |
| 30 | 2 | |
| 56 | 2 | |
| 49 | 2 | |
| 55 | 2 | |
| 116 | 2 | |
| 24 | 2 | |
| 70 | 2 | |
| 53 | 2 | |
| 34 | 2 | |
| 86 | 2 | |
| 36 | 2 | |
| 15 | 2 | |
| 72 | 1 | |
| 127 | 1 | |
| 42 | 1 | |
| 18 | 1 | |
| 21 | 1 | |
| 57 | 1 | |
| 14 | 1 |
Files With Long Lines (Top 47)
There are 47 files with lines longer than 120 characters. In total, there are 123 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 201 | - | 13 | |
| 95 | - | 9 | |
| 54 | - | 9 | |
| 41 | - | 8 | |
| 45 | - | 7 | |
| 330 | 2 | 6 | |
| 32 | - | 5 | |
| 29 | - | 4 | |
| 66 | - | 4 | |
| 50 | - | 3 | |
| 109 | - | 3 | |
| 115 | - | 3 | |
| 72 | 1 | 2 | |
| 97 | 3 | 2 | |
| 30 | - | 2 | |
| 27 | - | 2 | |
| 26 | - | 2 | |
| 10 | - | 2 | |
| 26 | - | 2 | |
| 59 | - | 2 | |
| 40 | - | 2 | |
| 39 | - | 2 | |
| 17 | - | 2 | |
| 19 | - | 2 | |
| 91 | - | 2 | |
| 15 | - | 2 | |
| 219 | - | 1 | |
| 133 | 8 | 1 | |
| 70 | 2 | 1 | |
| 132 | 5 | 1 | |
| 12 | - | 1 | |
| 24 | - | 1 | |
| 27 | - | 1 | |
| 9 | - | 1 | |
| 16 | - | 1 | |
| 21 | - | 1 | |
| 16 | - | 1 | |
| 28 | - | 1 | |
| 33 | - | 1 | |
| 2 | - | 1 | |
| 28 | - | 1 | |
| 42 | - | 1 | |
| 6 | - | 1 | |
| 25 | - | 1 | |
| 46 | - | 1 | |
| 32 | - | 1 | |
| 5 | - | 1 |
Correlations
File Size vs. Commits (all time): 304 points
|
|
360.0 | lines of code min: 2.0average: 29.55 25th percentile: 4.0 median: 10.0 75th percentile: 32.0 max: 360.0 |
|
| 0 | 177.0 | ||
|
commits (all time) min: 1.0 | average: 11.32 | 25th percentile: 2.0 | median: 6.0 | 75th percentile: 13.0 | max: 177.0
|
|||
File Size vs. Contributors (all time): 304 points
|
|
360.0 | lines of code min: 2.0average: 29.55 25th percentile: 4.0 median: 10.0 75th percentile: 32.0 max: 360.0 |
|
| 0 | 30.0 | ||
|
contributors (all time) min: 1.0 | average: 4.38 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 6.0 | max: 30.0
|
|||
File Size vs. Commits (30 days): 10 points
|
|
330.0 | lines of code min: 4.0average: 113.4 25th percentile: 8.0 median: 58.0 75th percentile: 243.75 max: 330.0 |
|
| 0 | 3.0 | ||
|
commits (30d) min: 1.0 | average: 1.8 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.25 | max: 3.0
|
|||
File Size vs. Contributors (30 days): 10 points
|
|
330.0 | lines of code min: 4.0average: 113.4 25th percentile: 8.0 median: 58.0 75th percentile: 243.75 max: 330.0 |
|
| 0 | 2.0 | ||
|
contributors (30d) min: 1.0 | average: 1.3 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Commits (90 days): 11 points
|
|
330.0 | lines of code min: 4.0average: 104.45 25th percentile: 8.0 median: 52.0 75th percentile: 219.0 max: 330.0 |
|
| 0 | 3.0 | ||
|
commits (90d) min: 1.0 | average: 1.73 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 3.0
|
|||
File Size vs. Contributors (90 days): 11 points
|
|
330.0 | lines of code min: 4.0average: 104.45 25th percentile: 8.0 median: 52.0 75th percentile: 219.0 max: 330.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.27 | 25th percentile: 1.0 | median: 1.0 | 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