File Size Overall
- There are 88 files with 9,791 lines of code.
- 1 very long files (1,686 lines of code)
- 1 long files (503 lines of code)
- 8 medium size files (2,425 lines of code)
- 19 small files (2,789 lines of code)
- 59 very small files (2,388 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 |
|---|---|---|
| 1686 | - | |
| 503 | 16 | |
| 430 | - | |
| 361 | - | |
| 307 | - | |
| 287 | 8 | |
| 286 | - | |
| 276 | - | |
| 252 | 2 | |
| 226 | 5 | |
| 190 | 2 | |
| 189 | - | |
| 187 | 3 | |
| 178 | 8 | |
| 174 | 8 | |
| 162 | 1 | |
| 160 | 8 | |
| 151 | 7 | |
| 150 | - | |
| 146 | 1 | |
| 145 | 2 | |
| 145 | 13 | |
| 130 | 7 | |
| 121 | 5 | |
| 116 | 8 | |
| 114 | 4 | |
| 114 | 5 | |
| 111 | 2 | |
| 106 | 1 | |
| 97 | 3 | |
| 96 | - | |
| 96 | 4 | |
| 95 | 3 | |
| 92 | 1 | |
| 92 | 6 | |
| 85 | 6 | |
| 84 | 3 | |
| 83 | 2 | |
| 81 | 4 | |
| 81 | 1 | |
| 78 | 2 | |
| 71 | 4 | |
| 66 | 3 | |
| 65 | 4 | |
| 63 | 1 | |
| 62 | 4 | |
| 61 | 3 | |
| 61 | 5 | |
| 55 | - | |
| 53 | - |
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 |
|---|---|---|---|---|---|
| 1686 | ~10k–30k | 63 | ~20 | ~70 | |
| 286 | ~2k–5k | 22 | ~30 | ~10 | |
| 361 | ~2k–7k | 17 | ~30 | ~15 | |
| 276 | ~1.5k–5k | 13 | ~20 | ~15 | |
| 430 | ~3k–7k | 8 | ~30 | ~15 | |
| 287 | ~2k–5k | 10 | ~30 | ~10 | |
| 187 | ~1k–3k | 15 | ~50 | ~3 | |
| 226 | ~1.5k–5k | 12 | ~30 | ~7 | |
| 503 | ~3k–10k | 5 | ~100 | ~5 | |
| 174 | ~1k–3k | 14 | ~20 | ~7 | |
| 189 | ~1k–3k | 10 | ~10 | ~20 | |
| 97 | ~500–1.5k | 18 | ~20 | ~5 | |
| 190 | ~1k–3k | 8 | ~50 | ~5 | |
| 121 | ~700–2k | 12 | ~20 | ~5 | |
| 178 | ~1k–3k | 8 | ~30 | ~5 | |
| 145 | ~1k–3k | 9 | ~50 | ~3 | |
| 307 | ~2k–5k | 4 | ~20 | ~15 | |
| 114 | ~700–2k | 9 | ~20 | ~5 | |
| 145 | ~1k–3k | 7 | ~20 | ~7 | |
| 151 | ~1k–3k | 6 | ~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 |
|---|---|---|
| 503 | 16 | |
| 145 | 13 | |
| 174 | 8 | |
| 178 | 8 | |
| 116 | 8 | |
| 287 | 8 | |
| 160 | 8 | |
| 130 | 7 | |
| 151 | 7 | |
| 85 | 6 | |
| 92 | 6 | |
| 61 | 5 | |
| 121 | 5 | |
| 226 | 5 | |
| 114 | 5 | |
| 81 | 4 | |
| 62 | 4 | |
| 114 | 4 | |
| 65 | 4 | |
| 71 | 4 | |
| 96 | 4 | |
| 61 | 3 | |
| 97 | 3 | |
| 39 | 3 | |
| 84 | 3 | |
| 95 | 3 | |
| 187 | 3 | |
| 66 | 3 | |
| 252 | 2 | |
| 111 | 2 | |
| 145 | 2 | |
| 24 | 2 | |
| 78 | 2 | |
| 36 | 2 | |
| 190 | 2 | |
| 42 | 2 | |
| 22 | 2 | |
| 83 | 2 | |
| 27 | 2 | |
| 8 | 1 | |
| 162 | 1 | |
| 146 | 1 | |
| 63 | 1 | |
| 81 | 1 | |
| 18 | 1 | |
| 106 | 1 | |
| 40 | 1 | |
| 9 | 1 | |
| 32 | 1 | |
| 7 | 1 |
Files With Long Lines (Top 19)
There are 19 files with lines longer than 120 characters. In total, there are 54 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 1686 | - | 24 | |
| 430 | - | 4 | |
| 49 | 1 | 3 | |
| 151 | 7 | 3 | |
| 287 | 8 | 3 | |
| 307 | - | 3 | |
| 96 | - | 2 | |
| 81 | 4 | 1 | |
| 145 | 2 | 1 | |
| 146 | 1 | 1 | |
| 174 | 8 | 1 | |
| 97 | 3 | 1 | |
| 116 | 8 | 1 | |
| 190 | 2 | 1 | |
| 145 | 13 | 1 | |
| 187 | 3 | 1 | |
| 65 | 4 | 1 | |
| 66 | 3 | 1 | |
| 160 | 8 | 1 |
Correlations
File Size vs. Commits (all time): 88 points
|
|
1686.0 | lines of code min: 1.0average: 111.26 25th percentile: 22.5 median: 64.0 75th percentile: 141.25 max: 1686.0 |
|
| 0 | 454.0 | ||
|
commits (all time) min: 1.0 | average: 36.52 | 25th percentile: 9.5 | median: 24.0 | 75th percentile: 46.75 | max: 454.0
|
|||
File Size vs. Contributors (all time): 88 points
|
|
1686.0 | lines of code min: 1.0average: 111.26 25th percentile: 22.5 median: 64.0 75th percentile: 141.25 max: 1686.0 |
|
| 0 | 28.0 | ||
|
contributors (all time) min: 1.0 | average: 4.53 | 25th percentile: 2.0 | median: 3.5 | 75th percentile: 5.0 | max: 28.0
|
|||
File Size vs. Commits (30 days): 1 points
|
|
286.0 | lines of code min: 286.0average: 286.0 25th percentile: 286.0 median: 286.0 75th percentile: 286.0 max: 286.0 |
|
| 0 | 2.0 | ||
|
commits (30d) min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0
|
|||
File Size vs. Contributors (30 days): 1 points
|
|
286.0 | lines of code min: 286.0average: 286.0 25th percentile: 286.0 median: 286.0 75th percentile: 286.0 max: 286.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): 14 points
|
|
1686.0 | lines of code min: 61.0average: 254.0 25th percentile: 83.25 median: 121.5 75th percentile: 241.0 max: 1686.0 |
|
| 0 | 2.0 | ||
|
commits (90d) min: 1.0 | average: 1.14 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Contributors (90 days): 14 points
|
|
1686.0 | lines of code min: 61.0average: 254.0 25th percentile: 83.25 median: 121.5 75th percentile: 241.0 max: 1686.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