File Size Overall
- There are 123 files with 29,882 lines of code.
- 4 very long files (9,042 lines of code)
- 10 long files (6,701 lines of code)
- 31 medium size files (9,383 lines of code)
- 22 small files (3,354 lines of code)
- 56 very small files (1,402 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 |
|---|---|---|
| 2937 | - | |
| 2909 | 162 | |
| 2045 | - | |
| 1151 | - | |
| 986 | - | |
| 795 | - | |
| 783 | 48 | |
| 757 | - | |
| 657 | - | |
| 620 | - | |
| 565 | 18 | |
| 527 | 9 | |
| 508 | - | |
| 503 | - | |
| 482 | - | |
| 480 | - | |
| 455 | 17 | |
| 445 | 17 | |
| 435 | 20 | |
| 412 | 10 | |
| 383 | 17 | |
| 375 | - | |
| 369 | 27 | |
| 349 | - | |
| 331 | - | |
| 330 | - | |
| 307 | - | |
| 278 | - | |
| 271 | 10 | |
| 270 | 11 | |
| 268 | - | |
| 248 | - | |
| 245 | 10 | |
| 243 | - | |
| 241 | 17 | |
| 239 | 20 | |
| 223 | - | |
| 220 | - | |
| 218 | 13 | |
| 216 | - | |
| 215 | 6 | |
| 213 | 4 | |
| 210 | 10 | |
| 207 | - | |
| 205 | - | |
| 199 | 11 | |
| 197 | - | |
| 191 | - | |
| 191 | 3 | |
| 176 | - |
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 |
|---|---|---|---|---|---|
| 2909 | ~20k–50k | 3 | ~2,000 | ~2 | |
| 2937 | ~20k–50k | 2 | ~3,000 | ~1 | |
| 2045 | ~10k–30k | 2 | ~2,000 | ~1 | |
| 783 | ~5k–15k | 4 | ~500 | ~2 | |
| 1151 | ~7k–20k | 2 | ~1,000 | ~1 | |
| 527 | ~3k–10k | 4 | ~300 | ~2 | |
| 986 | ~5k–15k | 2 | ~1,000 | ~1 | |
| 795 | ~5k–15k | 2 | ~1,000 | ~1 | |
| 757 | ~5k–15k | 2 | ~700 | ~1 | |
| 657 | ~3k–10k | 2 | ~700 | ~1 | |
| 435 | ~3k–7k | 3 | ~300 | ~2 | |
| 620 | ~3k–10k | 2 | ~700 | ~1 | |
| 565 | ~3k–10k | 2 | ~500 | ~1 | |
| 369 | ~2k–7k | 3 | ~300 | ~2 | |
| 503 | ~3k–10k | 2 | ~500 | ~1 | |
| 482 | ~3k–7k | 2 | ~500 | ~1 | |
| 480 | ~3k–7k | 2 | ~500 | ~1 | |
| 455 | ~3k–7k | 2 | ~500 | ~1 | |
| 445 | ~3k–7k | 2 | ~500 | ~1 | |
| 412 | ~2k–7k | 2 | ~500 | ~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 39)
| File | # lines | # units |
|---|---|---|
| 2909 | 162 | |
| 783 | 48 | |
| 369 | 27 | |
| 435 | 20 | |
| 239 | 20 | |
| 565 | 18 | |
| 445 | 17 | |
| 241 | 17 | |
| 383 | 17 | |
| 455 | 17 | |
| 218 | 13 | |
| 270 | 11 | |
| 199 | 11 | |
| 153 | 11 | |
| 210 | 10 | |
| 412 | 10 | |
| 271 | 10 | |
| 245 | 10 | |
| 527 | 9 | |
| 164 | 7 | |
| 88 | 6 | |
| 69 | 6 | |
| 125 | 6 | |
| 158 | 6 | |
| 215 | 6 | |
| 123 | 5 | |
| 86 | 5 | |
| 176 | 5 | |
| 152 | 4 | |
| 213 | 4 | |
| 141 | 4 | |
| 191 | 3 | |
| 104 | 3 | |
| 10 | 2 | |
| 92 | 2 | |
| 20 | 1 | |
| 10 | 1 | |
| 7 | 1 | |
| 85 | 1 |
Files With Long Lines (Top 50)
There are 65 files with lines longer than 120 characters. In total, there are 2187 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 2909 | 162 | 217 | |
| 783 | 48 | 204 | |
| 565 | 18 | 171 | |
| 445 | 17 | 129 | |
| 435 | 20 | 109 | |
| 527 | 9 | 107 | |
| 455 | 17 | 99 | |
| 141 | 4 | 79 | |
| 307 | - | 61 | |
| 213 | 4 | 56 | |
| 104 | 3 | 50 | |
| 271 | 10 | 49 | |
| 241 | 17 | 49 | |
| 245 | 10 | 49 | |
| 795 | - | 48 | |
| 383 | 17 | 47 | |
| 176 | 5 | 45 | |
| 165 | - | 43 | |
| 239 | 20 | 43 | |
| 270 | 11 | 41 | |
| 215 | 6 | 40 | |
| 218 | 13 | 40 | |
| 85 | 1 | 36 | |
| 508 | - | 32 | |
| 125 | 6 | 30 | |
| 92 | 2 | 28 | |
| 369 | 27 | 27 | |
| 191 | 3 | 27 | |
| 86 | - | 23 | |
| 83 | - | 22 | |
| 20 | - | 20 | |
| 164 | 7 | 19 | |
| 199 | 11 | 19 | |
| 86 | 5 | 19 | |
| 152 | 4 | 18 | |
| 158 | 6 | 17 | |
| 2045 | - | 11 | |
| 153 | 11 | 11 | |
| 71 | - | 10 | |
| 123 | 5 | 7 | |
| 620 | - | 4 | |
| 174 | - | 3 | |
| 278 | - | 2 | |
| 503 | - | 2 | |
| 25 | - | 2 | |
| 8 | - | 2 | |
| 66 | - | 2 | |
| 7 | - | 1 | |
| 7 | - | 1 | |
| 7 | - | 1 |
Correlations
File Size vs. Commits (all time): 113 points
|
|
2937.0 | lines of code min: 1.0average: 257.65 25th percentile: 16.0 median: 143.0 75th percentile: 270.5 max: 2937.0 |
|
| 0 | 4.0 | ||
|
commits (all time) min: 1.0 | average: 2.21 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 4.0
|
|||
File Size vs. Contributors (all time): 113 points
|
|
2937.0 | lines of code min: 1.0average: 257.65 25th percentile: 16.0 median: 143.0 75th percentile: 270.5 max: 2937.0 |
|
| 0 | 1.0 | ||
|
contributors (all time) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
|
|||
File Size vs. Commits (30 days): 59 points
|
|
2909.0 | lines of code min: 1.0average: 211.88 25th percentile: 17.0 median: 125.0 75th percentile: 241.0 max: 2909.0 |
|
| 0 | 2.0 | ||
|
commits (30d) min: 1.0 | average: 1.07 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0
|
|||
File Size vs. Contributors (30 days): 59 points
|
|
2909.0 | lines of code min: 1.0average: 211.88 25th percentile: 17.0 median: 125.0 75th percentile: 241.0 max: 2909.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): 113 points
|
|
2937.0 | lines of code min: 1.0average: 257.65 25th percentile: 16.0 median: 143.0 75th percentile: 270.5 max: 2937.0 |
|
| 0 | 4.0 | ||
|
commits (90d) min: 1.0 | average: 2.21 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 4.0
|
|||
File Size vs. Contributors (90 days): 113 points
|
|
2937.0 | lines of code min: 1.0average: 257.65 25th percentile: 16.0 median: 143.0 75th percentile: 270.5 max: 2937.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