File Size Overall
- There are 29 files with 3,074 lines of code.
- 0 very long files (0 lines of code)
- 1 long files (616 lines of code)
- 3 medium size files (776 lines of code)
- 4 small files (612 lines of code)
- 21 very small files (1,070 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 29)
| File | # lines | # units |
|---|---|---|
| 616 | 9 | |
| 291 | 10 | |
| 262 | 9 | |
| 223 | 13 | |
| 165 | 4 | |
| 160 | 8 | |
| 157 | 7 | |
| 130 | 3 | |
| 96 | 3 | |
| 95 | 7 | |
| 93 | 2 | |
| 91 | 2 | |
| 87 | 4 | |
| 74 | 2 | |
| 72 | 5 | |
| 60 | - | |
| 59 | 3 | |
| 54 | - | |
| 52 | 2 | |
| 49 | 1 | |
| 34 | 3 | |
| 31 | - | |
| 30 | - | |
| 28 | - | |
| 22 | 2 | |
| 14 | 1 | |
| 14 | 3 | |
| 8 | - | |
| 7 | 1 |
Large Files That Change Often (Top 12)
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 |
|---|---|---|---|---|---|
| 262 | ~1.5k–5k | 7 | ~70 | ~3 | |
| 291 | ~2k–5k | 6 | ~100 | ~3 | |
| 157 | ~1k–3k | 10 | ~50 | ~3 | |
| 616 | ~3k–10k | 2 | ~700 | ~1 | |
| 165 | ~1k–3k | 4 | ~100 | ~2 | |
| 96 | ~500–1.5k | 2 | ~50 | ~2 | |
| 87 | ~500–1.5k | 2 | ~30 | ~3 | |
| 74 | ~500–1.5k | 2 | ~30 | ~2 | |
| 72 | ~500–1.5k | 2 | ~100 | ~1 | |
| 60 | ~300–1k | 2 | ~70 | ~1 | |
| 31 | under 1k | 2 | ~3 | ~10 | |
| 8 | under 1k | 2 | ~10 | ~1 |
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 |
|---|---|---|
| 223 | 13 | |
| 291 | 10 | |
| 616 | 9 | |
| 262 | 9 | |
| 160 | 8 | |
| 157 | 7 | |
| 95 | 7 | |
| 72 | 5 | |
| 87 | 4 | |
| 165 | 4 | |
| 59 | 3 | |
| 34 | 3 | |
| 14 | 3 | |
| 96 | 3 | |
| 130 | 3 | |
| 52 | 2 | |
| 74 | 2 | |
| 22 | 2 | |
| 91 | 2 | |
| 93 | 2 | |
| 7 | 1 | |
| 14 | 1 | |
| 49 | 1 |
Files With Long Lines (Top 6)
There are 6 files with lines longer than 120 characters. In total, there are 15 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 616 | 9 | 8 | |
| 291 | 10 | 2 | |
| 262 | 9 | 2 | |
| 87 | 4 | 1 | |
| 157 | 7 | 1 | |
| 130 | 3 | 1 |
Correlations
File Size vs. Commits (all time): 29 points
|
|
616.0 | lines of code min: 7.0average: 106.0 25th percentile: 30.5 median: 72.0 75th percentile: 143.5 max: 616.0 |
|
| 0 | 26.0 | ||
|
commits (all time) min: 2.0 | average: 5.07 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 5.0 | max: 26.0
|
|||
File Size vs. Contributors (all time): 29 points
|
|
616.0 | lines of code min: 7.0average: 106.0 25th percentile: 30.5 median: 72.0 75th percentile: 143.5 max: 616.0 |
|
| 0 | 6.0 | ||
|
contributors (all time) min: 1.0 | average: 1.79 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 6.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
|
|
616.0 | lines of code min: 8.0average: 218.33 25th percentile: 8.0 median: 31.0 75th percentile: 616.0 max: 616.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
|
|
616.0 | lines of code min: 8.0average: 218.33 25th percentile: 8.0 median: 31.0 75th percentile: 616.0 max: 616.0 |
|
| 0 | 1.0 | ||
|
contributors (90d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.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