File Size Overall
- There are 96 files with 6,622 lines of code.
- 0 very long files (0 lines of code)
- 0 long files (0 lines of code)
- 5 medium size files (1,597 lines of code)
- 14 small files (1,942 lines of code)
- 77 very small files (3,083 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 |
|---|---|---|
| 496 | 25 | |
| 308 | 10 | |
| 301 | 26 | |
| 267 | 29 | |
| 225 | 11 | |
| 190 | 26 | |
| 188 | 7 | |
| 187 | 13 | |
| 152 | 16 | |
| 150 | 16 | |
| 138 | 11 | |
| 128 | 11 | |
| 124 | 18 | |
| 123 | 7 | |
| 122 | 5 | |
| 118 | 21 | |
| 111 | 7 | |
| 108 | 9 | |
| 103 | 24 | |
| 100 | 3 | |
| 100 | 2 | |
| 99 | 8 | |
| 98 | 5 | |
| 93 | 3 | |
| 90 | 5 | |
| 88 | 2 | |
| 84 | 12 | |
| 83 | 7 | |
| 82 | 9 | |
| 72 | 5 | |
| 71 | 3 | |
| 70 | 8 | |
| 67 | 5 | |
| 65 | 7 | |
| 62 | 4 | |
| 62 | 2 | |
| 61 | 4 | |
| 59 | 8 | |
| 57 | 3 | |
| 57 | 18 | |
| 57 | 7 | |
| 56 | 2 | |
| 55 | 4 | |
| 55 | - | |
| 52 | 6 | |
| 52 | 6 | |
| 51 | 2 | |
| 49 | 6 | |
| 43 | 2 | |
| 42 | 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 |
|---|---|---|---|---|---|
| 41 | under 1k | 73 | ~3 | ~10 | |
| 496 | ~3k–7k | 2 | ~70 | ~7 | |
| 225 | ~1.5k–5k | 3 | ~30 | ~7 | |
| 138 | ~700–2k | 4 | ~20 | ~7 | |
| 190 | ~1k–3k | 2 | ~30 | ~7 | |
| 122 | ~700–2k | 3 | ~20 | ~5 | |
| 308 | ~2k–5k | 1 | ~50 | ~5 | |
| 301 | ~2k–5k | 1 | ~70 | ~5 | |
| 150 | ~1k–3k | 2 | ~20 | ~7 | |
| 267 | ~1.5k–5k | 1 | ~30 | ~7 | |
| 123 | ~700–2k | 2 | ~30 | ~5 | |
| 118 | ~700–2k | 2 | ~15 | ~7 | |
| 108 | ~700–2k | 2 | ~30 | ~5 | |
| 100 | ~700–1.5k | 2 | ~20 | ~5 | |
| 98 | ~500–1.5k | 2 | ~20 | ~5 | |
| 188 | ~1k–3k | 1 | ~50 | ~5 | |
| 187 | ~1k–3k | 1 | ~30 | ~7 | |
| 61 | ~300–1k | 3 | ~30 | ~2 | |
| 82 | ~500–1.5k | 2 | ~20 | ~3 | |
| 152 | ~1k–3k | 1 | ~30 | ~5 |
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 50)
| File | # lines | # units |
|---|---|---|
| 267 | 29 | |
| 301 | 26 | |
| 190 | 26 | |
| 496 | 25 | |
| 103 | 24 | |
| 118 | 21 | |
| 124 | 18 | |
| 57 | 18 | |
| 150 | 16 | |
| 152 | 16 | |
| 187 | 13 | |
| 84 | 12 | |
| 128 | 11 | |
| 225 | 11 | |
| 138 | 11 | |
| 308 | 10 | |
| 108 | 9 | |
| 82 | 9 | |
| 99 | 8 | |
| 59 | 8 | |
| 70 | 8 | |
| 188 | 7 | |
| 83 | 7 | |
| 111 | 7 | |
| 65 | 7 | |
| 123 | 7 | |
| 57 | 7 | |
| 52 | 6 | |
| 52 | 6 | |
| 49 | 6 | |
| 19 | 5 | |
| 90 | 5 | |
| 72 | 5 | |
| 26 | 5 | |
| 23 | 5 | |
| 98 | 5 | |
| 42 | 5 | |
| 122 | 5 | |
| 32 | 5 | |
| 40 | 5 | |
| 67 | 5 | |
| 61 | 4 | |
| 55 | 4 | |
| 19 | 4 | |
| 62 | 4 | |
| 30 | 4 | |
| 24 | 3 | |
| 57 | 3 | |
| 19 | 3 | |
| 100 | 3 |
Files With Long Lines (Top 1)
There is only one file with lines longer than 120 characters. In total, there are 7 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 301 | 26 | 7 |
Correlations
File Size vs. Commits (all time): 96 points
|
|
496.0 | lines of code min: 5.0average: 68.98 25th percentile: 21.5 median: 46.0 75th percentile: 92.25 max: 496.0 |
|
| 0 | 957.0 | ||
|
commits (all time) min: 1.0 | average: 20.31 | 25th percentile: 6.0 | median: 8.5 | 75th percentile: 14.0 | max: 957.0
|
|||
File Size vs. Contributors (all time): 96 points
|
|
496.0 | lines of code min: 5.0average: 68.98 25th percentile: 21.5 median: 46.0 75th percentile: 92.25 max: 496.0 |
|
| 0 | 6.0 | ||
|
contributors (all time) min: 1.0 | average: 1.22 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 6.0
|
|||
File Size vs. Commits (30 days): 1 points
|
|
41.0 | lines of code min: 41.0average: 41.0 25th percentile: 41.0 median: 41.0 75th percentile: 41.0 max: 41.0 |
|
| 0 | 9.0 | ||
|
commits (30d) min: 9.0 | average: 9.0 | 25th percentile: 9.0 | median: 9.0 | 75th percentile: 9.0 | max: 9.0
|
|||
File Size vs. Contributors (30 days): 1 points
|
|
41.0 | lines of code min: 41.0average: 41.0 25th percentile: 41.0 median: 41.0 75th percentile: 41.0 max: 41.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): 9 points
|
|
190.0 | lines of code min: 41.0average: 94.44 25th percentile: 42.0 median: 70.0 75th percentile: 144.0 max: 190.0 |
|
| 0 | 13.0 | ||
|
commits (90d) min: 1.0 | average: 2.33 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 13.0
|
|||
File Size vs. Contributors (90 days): 9 points
|
|
190.0 | lines of code min: 41.0average: 94.44 25th percentile: 42.0 median: 70.0 75th percentile: 144.0 max: 190.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