File Size Overall
- There are 33 files with 1,752 lines of code.
- 0 very long files (0 lines of code)
- 0 long files (0 lines of code)
- 2 medium size files (444 lines of code)
- 5 small files (645 lines of code)
- 26 very small files (663 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 33)
| File | # lines | # units |
|---|---|---|
| 233 | - | |
| 211 | 1 | |
| 176 | 3 | |
| 128 | 1 | |
| 124 | - | |
| 109 | 1 | |
| 108 | 11 | |
| 86 | - | |
| 63 | 4 | |
| 54 | 1 | |
| 40 | 1 | |
| 40 | 1 | |
| 40 | 2 | |
| 36 | - | |
| 35 | - | |
| 33 | - | |
| 30 | - | |
| 25 | - | |
| 24 | - | |
| 24 | - | |
| 23 | - | |
| 23 | - | |
| 20 | - | |
| 14 | - | |
| 14 | 2 | |
| 13 | - | |
| 7 | 2 | |
| 5 | - | |
| 5 | - | |
| 4 | - | |
| 3 | - | |
| 1 | - | |
| 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 |
|---|---|---|---|---|---|
| 233 | ~1.5k–5k | 9 | ~70 | ~3 | |
| 211 | ~1k–3k | 7 | ~30 | ~7 | |
| 128 | ~700–2k | 6 | ~20 | ~5 | |
| 176 | ~1k–3k | 4 | ~150 | ~1 | |
| 86 | ~500–1.5k | 5 | ~20 | ~3 | |
| 54 | ~300–1k | 6 | ~30 | ~2 | |
| 63 | ~300–1k | 5 | ~15 | ~3 | |
| 109 | ~700–2k | 2 | ~30 | ~5 | |
| 36 | under 1k | 2 | ~15 | ~2 | |
| 30 | under 1k | 2 | ~20 | ~2 | |
| 40 | under 1k | 1 | ~30 | ~2 | |
| 40 | under 1k | 1 | ~20 | ~2 | |
| 35 | under 1k | 1 | ~15 | ~3 | |
| 33 | under 1k | 1 | ~15 | ~2 | |
| 14 | under 1k | 2 | ~15 | ~1 | |
| 23 | under 1k | 1 | ~15 | ~2 | |
| 23 | under 1k | 1 | ~15 | ~2 | |
| 5 | under 1k | 1 | ~5 | ~1 | |
| 5 | under 1k | 1 | ~5 | ~1 | |
| 3 | under 1k | 1 | ~15 | ~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 12)
| File | # lines | # units |
|---|---|---|
| 108 | 11 | |
| 63 | 4 | |
| 176 | 3 | |
| 14 | 2 | |
| 7 | 2 | |
| 40 | 2 | |
| 109 | 1 | |
| 211 | 1 | |
| 40 | 1 | |
| 40 | 1 | |
| 128 | 1 | |
| 54 | 1 |
Files With Long Lines (Top 4)
There are 4 files with lines longer than 120 characters. In total, there are 14 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 211 | 1 | 5 | |
| 124 | - | 4 | |
| 233 | - | 4 | |
| 109 | 1 | 1 |
Correlations
File Size vs. Commits (all time): 33 points
|
|
233.0 | lines of code min: 1.0average: 53.09 25th percentile: 13.5 median: 30.0 75th percentile: 74.5 max: 233.0 |
|
| 0 | 46.0 | ||
|
commits (all time) min: 1.0 | average: 11.27 | 25th percentile: 4.0 | median: 7.0 | 75th percentile: 16.5 | max: 46.0
|
|||
File Size vs. Contributors (all time): 33 points
|
|
233.0 | lines of code min: 1.0average: 53.09 25th percentile: 13.5 median: 30.0 75th percentile: 74.5 max: 233.0 |
|
| 0 | 7.0 | ||
|
contributors (all time) min: 1.0 | average: 3.64 | 25th percentile: 2.5 | median: 4.0 | 75th percentile: 5.0 | max: 7.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): 3 points
|
|
211.0 | lines of code min: 14.0average: 111.33 25th percentile: 14.0 median: 109.0 75th percentile: 211.0 max: 211.0 |
|
| 0 | 2.0 | ||
|
commits (90d) min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Contributors (90 days): 3 points
|
|
211.0 | lines of code min: 14.0average: 111.33 25th percentile: 14.0 median: 109.0 75th percentile: 211.0 max: 211.0 |
|
| 0 | 2.0 | ||
|
contributors (90d) min: 2.0 | average: 2.0 | 25th percentile: 2.0 | 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