File Size Overall
- There are 102 files with 9,457 lines of code.
- 1 very long files (1,352 lines of code)
- 1 long files (675 lines of code)
- 9 medium size files (2,472 lines of code)
- 16 small files (2,314 lines of code)
- 75 very small files (2,644 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 |
|---|---|---|
| 1352 | 15 | |
| 675 | 8 | |
| 465 | 21 | |
| 334 | 12 | |
| 329 | 1 | |
| 276 | 18 | |
| 235 | 2 | |
| 217 | 7 | |
| 211 | - | |
| 203 | 3 | |
| 202 | 3 | |
| 189 | 5 | |
| 181 | 2 | |
| 179 | 4 | |
| 162 | 5 | |
| 161 | 2 | |
| 160 | 13 | |
| 157 | 4 | |
| 146 | 1 | |
| 139 | 7 | |
| 133 | 1 | |
| 131 | 1 | |
| 121 | 1 | |
| 120 | 1 | |
| 117 | 2 | |
| 115 | - | |
| 103 | 12 | |
| 99 | 2 | |
| 97 | 2 | |
| 97 | 2 | |
| 96 | 1 | |
| 93 | - | |
| 92 | 3 | |
| 90 | 2 | |
| 86 | 4 | |
| 80 | - | |
| 78 | 6 | |
| 77 | 2 | |
| 74 | - | |
| 72 | 2 | |
| 71 | 1 | |
| 70 | 4 | |
| 64 | 1 | |
| 63 | 2 | |
| 60 | 1 | |
| 59 | 1 | |
| 56 | 2 | |
| 56 | 1 | |
| 54 | - | |
| 54 | 1 |
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 |
|---|---|---|---|---|---|
| 1352 | ~7k–20k | 10 | ~150 | ~10 | |
| 329 | ~2k–5k | 4 | ~70 | ~5 | |
| 203 | ~1k–3k | 5 | ~30 | ~7 | |
| 202 | ~1k–3k | 5 | ~30 | ~7 | |
| 675 | ~3k–10k | 1 | ~200 | ~3 | |
| 334 | ~2k–5k | 2 | ~50 | ~7 | |
| 235 | ~1.5k–5k | 2 | ~70 | ~3 | |
| 465 | ~3k–7k | 1 | ~50 | ~7 | |
| 103 | ~700–1.5k | 4 | ~30 | ~5 | |
| 133 | ~700–2k | 3 | ~30 | ~3 | |
| 181 | ~1k–3k | 2 | ~50 | ~3 | |
| 157 | ~1k–3k | 2 | ~30 | ~5 | |
| 146 | ~1k–3k | 2 | ~100 | ~2 | |
| 96 | ~500–1.5k | 3 | ~30 | ~3 | |
| 276 | ~1.5k–5k | 1 | ~50 | ~5 | |
| 121 | ~700–2k | 2 | ~70 | ~2 | |
| 117 | ~700–2k | 2 | ~70 | ~2 | |
| 217 | ~1.5k–5k | 1 | ~150 | ~2 | |
| 211 | ~1k–3k | 1 | ~70 | ~3 | |
| 189 | ~1k–3k | 1 | ~100 | ~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 |
|---|---|---|
| 465 | 21 | |
| 276 | 18 | |
| 1352 | 15 | |
| 160 | 13 | |
| 334 | 12 | |
| 103 | 12 | |
| 675 | 8 | |
| 217 | 7 | |
| 139 | 7 | |
| 78 | 6 | |
| 162 | 5 | |
| 189 | 5 | |
| 37 | 5 | |
| 41 | 4 | |
| 86 | 4 | |
| 179 | 4 | |
| 157 | 4 | |
| 70 | 4 | |
| 92 | 3 | |
| 48 | 3 | |
| 28 | 3 | |
| 18 | 3 | |
| 203 | 3 | |
| 202 | 3 | |
| 30 | 2 | |
| 30 | 2 | |
| 72 | 2 | |
| 39 | 2 | |
| 56 | 2 | |
| 38 | 2 | |
| 161 | 2 | |
| 117 | 2 | |
| 181 | 2 | |
| 235 | 2 | |
| 90 | 2 | |
| 63 | 2 | |
| 77 | 2 | |
| 97 | 2 | |
| 99 | 2 | |
| 24 | 2 | |
| 47 | 2 | |
| 97 | 2 | |
| 42 | 1 | |
| 54 | 1 | |
| 28 | 1 | |
| 131 | 1 | |
| 14 | 1 | |
| 59 | 1 | |
| 29 | 1 | |
| 9 | 1 |
Files With Long Lines (Top 10)
There are 10 files with lines longer than 120 characters. In total, there are 14 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 675 | 8 | 4 | |
| 276 | 18 | 2 | |
| 2 | - | 1 | |
| 2 | - | 1 | |
| 2 | - | 1 | |
| 2 | - | 1 | |
| 2 | - | 1 | |
| 161 | 2 | 1 | |
| 117 | 2 | 1 | |
| 121 | 1 | 1 |
Correlations
File Size vs. Commits (all time): 102 points
|
|
1352.0 | lines of code min: 1.0average: 92.72 25th percentile: 9.75 median: 47.5 75th percentile: 115.5 max: 1352.0 |
|
| 0 | 49.0 | ||
|
commits (all time) min: 1.0 | average: 7.19 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 8.25 | max: 49.0
|
|||
File Size vs. Contributors (all time): 102 points
|
|
1352.0 | lines of code min: 1.0average: 92.72 25th percentile: 9.75 median: 47.5 75th percentile: 115.5 max: 1352.0 |
|
| 0 | 14.0 | ||
|
contributors (all time) min: 1.0 | average: 3.65 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 5.0 | max: 14.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): 20 points
|
|
1352.0 | lines of code min: 2.0average: 163.1 25th percentile: 7.0 median: 110.0 75th percentile: 175.0 max: 1352.0 |
|
| 0 | 6.0 | ||
|
commits (90d) min: 1.0 | average: 1.85 | 25th percentile: 1.0 | median: 1.5 | 75th percentile: 2.0 | max: 6.0
|
|||
File Size vs. Contributors (90 days): 20 points
|
|
1352.0 | lines of code min: 2.0average: 163.1 25th percentile: 7.0 median: 110.0 75th percentile: 175.0 max: 1352.0 |
|
| 0 | 3.0 | ||
|
contributors (90d) min: 1.0 | average: 1.3 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.75 | max: 3.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