File Size Overall
- There are 50 files with 8,682 lines of code.
- 1 very long files (1,151 lines of code)
- 1 long files (921 lines of code)
- 13 medium size files (4,037 lines of code)
- 9 small files (1,282 lines of code)
- 26 very small files (1,291 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 |
|---|---|---|
| 1151 | 42 | |
| 921 | 24 | |
| 467 | 26 | |
| 453 | 10 | |
| 444 | 17 | |
| 365 | 6 | |
| 322 | 18 | |
| 320 | 28 | |
| 285 | 8 | |
| 270 | 7 | |
| 253 | 4 | |
| 231 | 4 | |
| 219 | 7 | |
| 207 | 16 | |
| 201 | 6 | |
| 194 | 19 | |
| 183 | 8 | |
| 179 | 8 | |
| 132 | 17 | |
| 132 | 3 | |
| 128 | 4 | |
| 118 | 14 | |
| 110 | 3 | |
| 106 | 3 | |
| 100 | 3 | |
| 88 | 10 | |
| 85 | 6 | |
| 85 | 3 | |
| 80 | 2 | |
| 77 | 3 | |
| 74 | 2 | |
| 72 | 2 | |
| 64 | 8 | |
| 58 | 13 | |
| 58 | 5 | |
| 56 | 6 | |
| 55 | 4 | |
| 53 | - | |
| 51 | 3 | |
| 51 | 3 | |
| 50 | 1 | |
| 33 | 3 | |
| 22 | 1 | |
| 21 | 1 | |
| 17 | 1 | |
| 13 | 3 | |
| 13 | 1 | |
| 12 | - | |
| 2 | 1 | |
| 1 | - |
Large Files That Change Often (Top 5)
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 |
|---|---|---|---|---|---|
| 1151 | ~7k–20k | 2 | ~30 | ~30 | |
| 201 | ~1k–3k | 4 | ~150 | ~2 | |
| 253 | ~1.5k–5k | 3 | ~15 | ~20 | |
| 322 | ~2k–5k | 2 | ~100 | ~3 | |
| 21 | under 1k | 2 | ~50 | ~0 |
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 47)
| File | # lines | # units |
|---|---|---|
| 1151 | 42 | |
| 320 | 28 | |
| 467 | 26 | |
| 921 | 24 | |
| 194 | 19 | |
| 322 | 18 | |
| 444 | 17 | |
| 132 | 17 | |
| 207 | 16 | |
| 118 | 14 | |
| 58 | 13 | |
| 88 | 10 | |
| 453 | 10 | |
| 64 | 8 | |
| 179 | 8 | |
| 183 | 8 | |
| 285 | 8 | |
| 219 | 7 | |
| 270 | 7 | |
| 56 | 6 | |
| 85 | 6 | |
| 201 | 6 | |
| 365 | 6 | |
| 58 | 5 | |
| 231 | 4 | |
| 128 | 4 | |
| 253 | 4 | |
| 55 | 4 | |
| 13 | 3 | |
| 106 | 3 | |
| 51 | 3 | |
| 33 | 3 | |
| 77 | 3 | |
| 132 | 3 | |
| 110 | 3 | |
| 85 | 3 | |
| 51 | 3 | |
| 100 | 3 | |
| 80 | 2 | |
| 74 | 2 | |
| 72 | 2 | |
| 22 | 1 | |
| 2 | 1 | |
| 13 | 1 | |
| 17 | 1 | |
| 50 | 1 | |
| 21 | 1 |
Files With Long Lines (Top 12)
There are 12 files with lines longer than 120 characters. In total, there are 47 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 921 | 24 | 14 | |
| 285 | 8 | 8 | |
| 1151 | 42 | 4 | |
| 453 | 10 | 4 | |
| 183 | 8 | 4 | |
| 253 | 4 | 4 | |
| 365 | 6 | 4 | |
| 58 | 13 | 1 | |
| 53 | - | 1 | |
| 85 | 3 | 1 | |
| 51 | 3 | 1 | |
| 55 | 4 | 1 |
Correlations
File Size vs. Commits (all time): 50 points
|
|
1151.0 | lines of code min: 1.0average: 173.64 25th percentile: 52.5 median: 94.0 75th percentile: 222.0 max: 1151.0 |
|
| 0 | 115.0 | ||
|
commits (all time) min: 1.0 | average: 13.8 | 25th percentile: 3.0 | median: 6.0 | 75th percentile: 17.25 | max: 115.0
|
|||
File Size vs. Contributors (all time): 50 points
|
|
1151.0 | lines of code min: 1.0average: 173.64 25th percentile: 52.5 median: 94.0 75th percentile: 222.0 max: 1151.0 |
|
| 0 | 33.0 | ||
|
contributors (all time) min: 1.0 | average: 6.66 | 25th percentile: 3.0 | median: 4.5 | 75th percentile: 9.0 | max: 33.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