File Size Overall
- There are 161 files with 14,094 lines of code.
- 0 very long files (0 lines of code)
- 3 long files (1,921 lines of code)
- 15 medium size files (4,567 lines of code)
- 30 small files (4,035 lines of code)
- 113 very small files (3,571 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 |
|---|---|---|
| 713 | 6 | |
| 693 | - | |
| 515 | - | |
| 470 | - | |
| 396 | 3 | |
| 388 | 2 | |
| 365 | - | |
| 344 | 1 | |
| 312 | - | |
| 308 | 3 | |
| 283 | - | |
| 278 | - | |
| 276 | - | |
| 276 | - | |
| 226 | 4 | |
| 223 | - | |
| 213 | - | |
| 209 | - | |
| 192 | - | |
| 185 | - | |
| 172 | - | |
| 167 | - | |
| 159 | 1 | |
| 156 | - | |
| 154 | 1 | |
| 148 | - | |
| 146 | - | |
| 145 | - | |
| 143 | - | |
| 140 | - | |
| 139 | - | |
| 139 | - | |
| 133 | 6 | |
| 132 | - | |
| 131 | - | |
| 126 | - | |
| 122 | 3 | |
| 121 | - | |
| 119 | - | |
| 113 | - | |
| 112 | - | |
| 111 | - | |
| 108 | - | |
| 107 | - | |
| 106 | - | |
| 104 | 2 | |
| 103 | - | |
| 102 | 1 | |
| 98 | - | |
| 95 | 2 |
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 |
|---|---|---|---|---|---|
| 713 | ~3k–10k | 6 | ~30 | ~20 | |
| 276 | ~1.5k–5k | 6 | ~20 | ~15 | |
| 693 | ~3k–10k | 2 | ~30 | ~20 | |
| 226 | ~1.5k–5k | 6 | ~50 | ~5 | |
| 365 | ~2k–7k | 2 | ~30 | ~15 | |
| 344 | ~2k–5k | 2 | ~20 | ~20 | |
| 209 | ~1k–3k | 3 | ~15 | ~15 | |
| 312 | ~2k–5k | 2 | ~30 | ~10 | |
| 140 | ~700–2k | 4 | ~20 | ~7 | |
| 278 | ~1.5k–5k | 2 | ~10 | ~30 | |
| 276 | ~1.5k–5k | 2 | ~20 | ~15 | |
| 103 | ~700–1.5k | 4 | ~15 | ~7 | |
| 185 | ~1k–3k | 2 | ~30 | ~7 | |
| 172 | ~1k–3k | 2 | ~15 | ~15 | |
| 81 | ~500–1.5k | 4 | ~50 | ~2 | |
| 143 | ~1k–3k | 2 | ~20 | ~7 | |
| 102 | ~700–1.5k | 2 | ~10 | ~10 | |
| 40 | under 1k | 4 | ~15 | ~3 | |
| 59 | ~300–1k | 2 | ~20 | ~3 | |
| 39 | under 1k | 3 | ~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 23)
| File | # lines | # units |
|---|---|---|
| 713 | 6 | |
| 133 | 6 | |
| 226 | 4 | |
| 122 | 3 | |
| 396 | 3 | |
| 308 | 3 | |
| 40 | 2 | |
| 60 | 2 | |
| 95 | 2 | |
| 81 | 2 | |
| 104 | 2 | |
| 388 | 2 | |
| 9 | 2 | |
| 8 | 1 | |
| 92 | 1 | |
| 102 | 1 | |
| 59 | 1 | |
| 44 | 1 | |
| 27 | 1 | |
| 154 | 1 | |
| 344 | 1 | |
| 65 | 1 | |
| 159 | 1 |
Files With Long Lines (Top 19)
There are 19 files with lines longer than 120 characters. In total, there are 36 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 209 | - | 8 | |
| 133 | 6 | 3 | |
| 156 | - | 3 | |
| 132 | - | 3 | |
| 312 | - | 3 | |
| 713 | 6 | 2 | |
| 92 | 1 | 2 | |
| 40 | 2 | 1 | |
| 226 | 4 | 1 | |
| 102 | 1 | 1 | |
| 276 | - | 1 | |
| 121 | - | 1 | |
| 104 | 2 | 1 | |
| 44 | - | 1 | |
| 396 | 3 | 1 | |
| 112 | - | 1 | |
| 66 | - | 1 | |
| 693 | - | 1 | |
| 192 | - | 1 |
Correlations
File Size vs. Commits (all time): 161 points
|
|
713.0 | lines of code min: 1.0average: 87.54 25th percentile: 12.0 median: 46.0 75th percentile: 112.5 max: 713.0 |
|
| 0 | 139.0 | ||
|
commits (all time) min: 2.0 | average: 18.82 | 25th percentile: 3.0 | median: 8.0 | 75th percentile: 22.0 | max: 139.0
|
|||
File Size vs. Contributors (all time): 161 points
|
|
713.0 | lines of code min: 1.0average: 87.54 25th percentile: 12.0 median: 46.0 75th percentile: 112.5 max: 713.0 |
|
| 0 | 15.0 | ||
|
contributors (all time) min: 1.0 | average: 3.66 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 5.0 | max: 15.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): 6 points
|
|
276.0 | lines of code min: 8.0average: 128.5 25th percentile: 32.0 median: 110.5 75th percentile: 238.5 max: 276.0 |
|
| 0 | 6.0 | ||
|
commits (90d) min: 2.0 | average: 4.0 | 25th percentile: 3.5 | median: 4.0 | 75th percentile: 4.5 | max: 6.0
|
|||
File Size vs. Contributors (90 days): 6 points
|
|
276.0 | lines of code min: 8.0average: 128.5 25th percentile: 32.0 median: 110.5 75th percentile: 238.5 max: 276.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 1.0 | average: 1.83 | 25th percentile: 1.75 | median: 2.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