File Size Overall
- There are 52 files with 5,950 lines of code.
- 0 very long files (0 lines of code)
- 0 long files (0 lines of code)
- 9 medium size files (2,703 lines of code)
- 15 small files (2,077 lines of code)
- 28 very small files (1,170 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 |
|---|---|---|
| 454 | 12 | |
| 396 | 7 | |
| 313 | 9 | |
| 304 | 7 | |
| 287 | 7 | |
| 259 | 10 | |
| 244 | 18 | |
| 227 | 8 | |
| 219 | 13 | |
| 190 | 6 | |
| 166 | 11 | |
| 159 | 7 | |
| 151 | - | |
| 147 | 11 | |
| 146 | 12 | |
| 144 | 8 | |
| 144 | 4 | |
| 133 | 7 | |
| 129 | 12 | |
| 126 | 6 | |
| 121 | 3 | |
| 110 | 9 | |
| 108 | 1 | |
| 103 | 9 | |
| 100 | 8 | |
| 91 | 2 | |
| 75 | 3 | |
| 65 | 2 | |
| 65 | 2 | |
| 63 | 2 | |
| 57 | 2 | |
| 55 | 3 | |
| 54 | 3 | |
| 53 | 2 | |
| 53 | 2 | |
| 49 | 2 | |
| 36 | 1 | |
| 35 | 1 | |
| 35 | 1 | |
| 34 | 1 | |
| 30 | 2 | |
| 29 | 1 | |
| 27 | 2 | |
| 25 | - | |
| 25 | - | |
| 24 | 1 | |
| 22 | 2 | |
| 19 | 1 | |
| 16 | 1 | |
| 16 | 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 |
|---|---|---|---|---|---|
| 454 | ~3k–7k | 10 | ~100 | ~5 | |
| 396 | ~2k–7k | 10 | ~70 | ~5 | |
| 313 | ~2k–5k | 10 | ~50 | ~5 | |
| 304 | ~2k–5k | 10 | ~50 | ~5 | |
| 287 | ~2k–5k | 10 | ~70 | ~5 | |
| 259 | ~1.5k–5k | 11 | ~50 | ~5 | |
| 244 | ~1.5k–5k | 10 | ~50 | ~5 | |
| 227 | ~1.5k–5k | 10 | ~50 | ~3 | |
| 219 | ~1.5k–5k | 10 | ~100 | ~2 | |
| 190 | ~1k–3k | 10 | ~70 | ~3 | |
| 166 | ~1k–3k | 10 | ~50 | ~3 | |
| 147 | ~1k–3k | 11 | ~30 | ~3 | |
| 159 | ~1k–3k | 10 | ~50 | ~3 | |
| 151 | ~1k–3k | 10 | ~30 | ~3 | |
| 146 | ~1k–3k | 10 | ~50 | ~3 | |
| 144 | ~1k–3k | 10 | ~30 | ~3 | |
| 144 | ~1k–3k | 10 | ~100 | ~2 | |
| 133 | ~700–2k | 10 | ~30 | ~3 | |
| 129 | ~700–2k | 10 | ~50 | ~3 | |
| 126 | ~700–2k | 10 | ~20 | ~7 |
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 48)
| File | # lines | # units |
|---|---|---|
| 244 | 18 | |
| 219 | 13 | |
| 454 | 12 | |
| 146 | 12 | |
| 129 | 12 | |
| 166 | 11 | |
| 147 | 11 | |
| 259 | 10 | |
| 313 | 9 | |
| 103 | 9 | |
| 110 | 9 | |
| 144 | 8 | |
| 227 | 8 | |
| 100 | 8 | |
| 287 | 7 | |
| 396 | 7 | |
| 304 | 7 | |
| 133 | 7 | |
| 159 | 7 | |
| 126 | 6 | |
| 190 | 6 | |
| 144 | 4 | |
| 121 | 3 | |
| 54 | 3 | |
| 75 | 3 | |
| 55 | 3 | |
| 57 | 2 | |
| 65 | 2 | |
| 65 | 2 | |
| 91 | 2 | |
| 30 | 2 | |
| 22 | 2 | |
| 53 | 2 | |
| 53 | 2 | |
| 63 | 2 | |
| 27 | 2 | |
| 49 | 2 | |
| 36 | 1 | |
| 29 | 1 | |
| 19 | 1 | |
| 24 | 1 | |
| 16 | 1 | |
| 34 | 1 | |
| 35 | 1 | |
| 108 | 1 | |
| 16 | 1 | |
| 35 | 1 | |
| 13 | 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 |
|---|---|---|---|
| 108 | 1 | 8 | |
| 126 | 6 | 2 | |
| 55 | 3 | 2 | |
| 49 | 2 | 2 |
Correlations
File Size vs. Commits (all time): 52 points
|
|
454.0 | lines of code min: 4.0average: 114.42 25th percentile: 34.25 median: 83.0 75th percentile: 150.0 max: 454.0 |
|
| 0 | 21.0 | ||
|
commits (all time) min: 5.0 | average: 16.67 | 25th percentile: 15.0 | median: 17.0 | 75th percentile: 19.0 | max: 21.0
|
|||
File Size vs. Contributors (all time): 52 points
|
|
454.0 | lines of code min: 4.0average: 114.42 25th percentile: 34.25 median: 83.0 75th percentile: 150.0 max: 454.0 |
|
| 0 | 8.0 | ||
|
contributors (all time) min: 2.0 | average: 7.02 | 25th percentile: 7.0 | median: 7.0 | 75th percentile: 8.0 | max: 8.0
|
|||
File Size vs. Commits (30 days): 48 points
|
|
454.0 | lines of code min: 13.0average: 121.33 25th percentile: 35.25 median: 101.5 75th percentile: 157.0 max: 454.0 |
|
| 0 | 1.0 | ||
|
commits (30d) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Contributors (30 days): 48 points
|
|
454.0 | lines of code min: 13.0average: 121.33 25th percentile: 35.25 median: 101.5 75th percentile: 157.0 max: 454.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): 48 points
|
|
454.0 | lines of code min: 13.0average: 121.33 25th percentile: 35.25 median: 101.5 75th percentile: 157.0 max: 454.0 |
|
| 0 | 8.0 | ||
|
commits (90d) min: 7.0 | average: 7.02 | 25th percentile: 7.0 | median: 7.0 | 75th percentile: 7.0 | max: 8.0
|
|||
File Size vs. Contributors (90 days): 48 points
|
|
454.0 | lines of code min: 13.0average: 121.33 25th percentile: 35.25 median: 101.5 75th percentile: 157.0 max: 454.0 |
|
| 0 | 4.0 | ||
|
contributors (90d) min: 4.0 | average: 4.0 | 25th percentile: 4.0 | median: 4.0 | 75th percentile: 4.0 | max: 4.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