File Size Overall
- There are 24 files with 1,851 lines of code.
- 0 very long files (0 lines of code)
- 0 long files (0 lines of code)
- 3 medium size files (951 lines of code)
- 4 small files (568 lines of code)
- 17 very small files (332 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 24)
| File | # lines | # units |
|---|---|---|
| 470 | 16 | |
| 257 | 5 | |
| 224 | 12 | |
| 172 | 10 | |
| 148 | 7 | |
| 132 | 5 | |
| 116 | 3 | |
| 92 | 4 | |
| 39 | 1 | |
| 36 | 3 | |
| 30 | 3 | |
| 21 | - | |
| 20 | - | |
| 19 | - | |
| 15 | - | |
| 15 | - | |
| 14 | - | |
| 6 | - | |
| 5 | - | |
| 5 | - | |
| 5 | - | |
| 4 | - | |
| 3 | - | |
| 3 | - |
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 |
|---|---|---|---|---|---|
| 224 | ~1.5k–5k | 66 | ~15 | ~15 | |
| 257 | ~1.5k–5k | 42 | ~20 | ~15 | |
| 148 | ~1k–3k | 34 | ~30 | ~3 | |
| 132 | ~700–2k | 35 | ~20 | ~7 | |
| 172 | ~1k–3k | 24 | ~15 | ~10 | |
| 116 | ~700–2k | 29 | ~30 | ~3 | |
| 470 | ~3k–7k | 6 | ~200 | ~2 | |
| 39 | under 1k | 24 | ~15 | ~3 | |
| 92 | ~500–1.5k | 9 | ~70 | ~1 | |
| 19 | under 1k | 36 | ~15 | ~2 | |
| 30 | under 1k | 10 | ~20 | ~2 | |
| 21 | under 1k | 11 | ~7 | ~3 | |
| 20 | under 1k | 9 | ~10 | ~2 | |
| 36 | under 1k | 4 | ~30 | ~2 | |
| 14 | under 1k | 6 | ~10 | ~2 | |
| 6 | under 1k | 6 | ~20 | ~0 | |
| 5 | under 1k | 7 | ~3 | ~2 | |
| 15 | under 1k | 2 | ~20 | ~1 | |
| 4 | under 1k | 4 | ~5 | ~1 | |
| 5 | under 1k | 3 | ~7 | ~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 11)
| File | # lines | # units |
|---|---|---|
| 470 | 16 | |
| 224 | 12 | |
| 172 | 10 | |
| 148 | 7 | |
| 257 | 5 | |
| 132 | 5 | |
| 92 | 4 | |
| 116 | 3 | |
| 30 | 3 | |
| 36 | 3 | |
| 39 | 1 |
Files With Long Lines (Top 2)
There are 2 files with lines longer than 120 characters. In total, there are 3 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 257 | 5 | 2 | |
| 172 | 10 | 1 |
Correlations
File Size vs. Commits (all time): 24 points
|
|
470.0 | lines of code min: 3.0average: 77.13 25th percentile: 5.25 median: 20.5 75th percentile: 128.0 max: 470.0 |
|
| 0 | 66.0 | ||
|
commits (all time) min: 1.0 | average: 15.63 | 25th percentile: 3.25 | median: 8.0 | 75th percentile: 27.75 | max: 66.0
|
|||
File Size vs. Contributors (all time): 24 points
|
|
470.0 | lines of code min: 3.0average: 77.13 25th percentile: 5.25 median: 20.5 75th percentile: 128.0 max: 470.0 |
|
| 0 | 6.0 | ||
|
contributors (all time) min: 1.0 | average: 3.08 | 25th percentile: 1.25 | median: 3.0 | 75th percentile: 4.75 | max: 6.0
|
|||
File Size vs. Commits (30 days): 15 points
|
|
470.0 | lines of code min: 3.0average: 110.8 25th percentile: 19.0 median: 39.0 75th percentile: 172.0 max: 470.0 |
|
| 0 | 7.0 | ||
|
commits (30d) min: 1.0 | average: 2.33 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 7.0
|
|||
File Size vs. Contributors (30 days): 15 points
|
|
470.0 | lines of code min: 3.0average: 110.8 25th percentile: 19.0 median: 39.0 75th percentile: 172.0 max: 470.0 |
|
| 0 | 1.0 | ||
|
contributors (30d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Commits (90 days): 20 points
|
|
470.0 | lines of code min: 3.0average: 91.15 25th percentile: 14.25 median: 33.0 75th percentile: 144.0 max: 470.0 |
|
| 0 | 16.0 | ||
|
commits (90d) min: 1.0 | average: 4.5 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 5.75 | max: 16.0
|
|||
File Size vs. Contributors (90 days): 20 points
|
|
470.0 | lines of code min: 3.0average: 91.15 25th percentile: 14.25 median: 33.0 75th percentile: 144.0 max: 470.0 |
|
| 0 | 3.0 | ||
|
contributors (90d) min: 1.0 | average: 1.25 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | 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