anthropics/claude-plugins-official
File Size The distribution of size of files (measured in lines of code). |
File Size Overall
- There are 106 files with 28,766 lines of code.
- 4 very long files (4,916 lines of code)
- 15 long files (10,655 lines of code)
- 28 medium size files (8,649 lines of code)
- 18 small files (2,861 lines of code)
- 41 very small files (1,685 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 |
|---|---|---|
| 1353 | - | |
| 1340 | 24 | |
| 1199 | - | |
| 1024 | 47 | |
| 980 | 33 | |
| 854 | 25 | |
| 818 | - | |
| 815 | 45 | |
| 776 | 17 | |
| 769 | 33 | |
| 725 | 16 | |
| 707 | 3 | |
| 700 | 24 | |
| 651 | 33 | |
| 600 | 35 | |
| 593 | - | |
| 584 | 33 | |
| 575 | 16 | |
| 508 | - | |
| 493 | 23 | |
| 449 | 19 | |
| 436 | 21 | |
| 415 | 15 | |
| 404 | 24 | |
| 395 | 24 | |
| 382 | 28 | |
| 379 | 22 | |
| 365 | 13 | |
| 332 | 22 | |
| 322 | 12 | |
| 298 | 22 | |
| 277 | 15 | |
| 273 | 12 | |
| 270 | 6 | |
| 269 | 21 | |
| 267 | 8 | |
| 267 | 7 | |
| 260 | 3 | |
| 256 | 4 | |
| 244 | 13 | |
| 241 | 4 | |
| 233 | 1 | |
| 231 | 9 | |
| 228 | 9 | |
| 223 | 10 | |
| 220 | 1 | |
| 220 | - | |
| 192 | 5 | |
| 189 | - | |
| 187 | 7 |
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 |
|---|---|---|---|---|---|
| 1340 | ~7k–20k | 26 | ~200 | ~7 | |
| 854 | ~5k–15k | 35 | ~100 | ~7 | |
| 725 | ~5k–15k | 19 | ~200 | ~5 | |
| 707 | ~3k–10k | 18 | ~100 | ~5 | |
| 700 | ~3k–10k | 16 | ~150 | ~5 | |
| 449 | ~3k–7k | 20 | ~100 | ~5 | |
| 493 | ~3k–7k | 17 | ~100 | ~5 | |
| 1024 | ~7k–15k | 8 | ~500 | ~3 | |
| 769 | ~5k–15k | 10 | ~300 | ~2 | |
| 980 | ~5k–15k | 7 | ~300 | ~3 | |
| 776 | ~5k–15k | 5 | ~500 | ~2 | |
| 600 | ~3k–10k | 6 | ~200 | ~2 | |
| 593 | ~3k–10k | 6 | ~200 | ~3 | |
| 415 | ~2k–7k | 8 | ~200 | ~2 | |
| 818 | ~5k–15k | 4 | ~500 | ~2 | |
| 815 | ~5k–15k | 4 | ~500 | ~2 | |
| 244 | ~1.5k–5k | 12 | ~100 | ~3 | |
| 332 | ~2k–5k | 8 | ~150 | ~3 | |
| 1199 | ~7k–20k | 2 | ~1,500 | ~1 | |
| 233 | ~1.5k–5k | 10 | ~70 | ~3 |
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 |
|---|---|---|
| 1024 | 47 | |
| 815 | 45 | |
| 600 | 35 | |
| 980 | 33 | |
| 651 | 33 | |
| 584 | 33 | |
| 769 | 33 | |
| 382 | 28 | |
| 854 | 25 | |
| 1340 | 24 | |
| 395 | 24 | |
| 404 | 24 | |
| 700 | 24 | |
| 493 | 23 | |
| 298 | 22 | |
| 379 | 22 | |
| 332 | 22 | |
| 436 | 21 | |
| 269 | 21 | |
| 449 | 19 | |
| 776 | 17 | |
| 575 | 16 | |
| 725 | 16 | |
| 277 | 15 | |
| 415 | 15 | |
| 365 | 13 | |
| 244 | 13 | |
| 273 | 12 | |
| 322 | 12 | |
| 181 | 11 | |
| 154 | 10 | |
| 223 | 10 | |
| 44 | 10 | |
| 228 | 9 | |
| 56 | 9 | |
| 231 | 9 | |
| 267 | 8 | |
| 170 | 8 | |
| 100 | 7 | |
| 187 | 7 | |
| 53 | 7 | |
| 101 | 7 | |
| 267 | 7 | |
| 270 | 6 | |
| 115 | 6 | |
| 91 | 6 | |
| 179 | 5 | |
| 192 | 5 | |
| 161 | 5 | |
| 184 | 5 |
Files With Long Lines (Top 50)
There are 55 files with lines longer than 120 characters. In total, there are 1053 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 815 | 45 | 189 | |
| 593 | - | 162 | |
| 600 | 35 | 93 | |
| 707 | 3 | 74 | |
| 651 | 33 | 61 | |
| 584 | 33 | 43 | |
| 395 | 24 | 34 | |
| 776 | 17 | 33 | |
| 575 | 16 | 25 | |
| 233 | 1 | 24 | |
| 277 | 15 | 24 | |
| 189 | - | 20 | |
| 980 | 33 | 19 | |
| 220 | 1 | 16 | |
| 1199 | - | 15 | |
| 854 | 25 | 15 | |
| 725 | 16 | 13 | |
| 86 | - | 12 | |
| 223 | 10 | 12 | |
| 131 | - | 11 | |
| 187 | 7 | 11 | |
| 379 | 22 | 11 | |
| 1353 | - | 10 | |
| 81 | - | 10 | |
| 161 | 5 | 10 | |
| 99 | 4 | 9 | |
| 260 | 3 | 9 | |
| 436 | 21 | 8 | |
| 256 | 4 | 7 | |
| 700 | 24 | 7 | |
| 231 | 9 | 6 | |
| 270 | 6 | 5 | |
| 164 | - | 4 | |
| 228 | 9 | 4 | |
| 192 | 5 | 4 | |
| 46 | 2 | 4 | |
| 91 | 6 | 4 | |
| 267 | 7 | 4 | |
| 508 | - | 3 | |
| 143 | 4 | 3 | |
| 298 | 22 | 3 | |
| 50 | 2 | 3 | |
| 101 | 7 | 3 | |
| 168 | - | 2 | |
| 818 | - | 2 | |
| 120 | 4 | 2 | |
| 322 | 12 | 2 | |
| 159 | 3 | 1 | |
| 35 | 1 | 1 | |
| 1340 | 24 | 1 |
Correlations
File Size vs. Commits (all time): 101 points
|
|
1353.0 | lines of code min: 1.0average: 282.95 25th percentile: 55.5 median: 181.0 75th percentile: 388.5 max: 1353.0 |
|
| 0 | 35.0 | ||
|
commits (all time) min: 1.0 | average: 4.88 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 5.0 | max: 35.0
|
|||
File Size vs. Contributors (all time): 101 points
|
|
1353.0 | lines of code min: 1.0average: 282.95 25th percentile: 55.5 median: 181.0 75th percentile: 388.5 max: 1353.0 |
|
| 0 | 5.0 | ||
|
contributors (all time) min: 1.0 | average: 1.75 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 5.0
|
|||
File Size vs. Commits (30 days): 66 points
|
|
1340.0 | lines of code min: 5.0average: 285.12 25th percentile: 55.75 median: 189.5 75th percentile: 406.75 max: 1340.0 |
|
| 0 | 12.0 | ||
|
commits (30d) min: 1.0 | average: 3.29 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 12.0
|
|||
File Size vs. Contributors (30 days): 66 points
|
|
1340.0 | lines of code min: 5.0average: 285.12 25th percentile: 55.75 median: 189.5 75th percentile: 406.75 max: 1340.0 |
|
| 0 | 4.0 | ||
|
contributors (30d) min: 1.0 | average: 1.32 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 4.0
|
|||
File Size vs. Commits (90 days): 73 points
|
|
1353.0 | lines of code min: 1.0average: 297.21 25th percentile: 54.0 median: 187.0 75th percentile: 425.5 max: 1353.0 |
|
| 0 | 14.0 | ||
|
commits (90d) min: 1.0 | average: 3.82 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 5.0 | max: 14.0
|
|||
File Size vs. Contributors (90 days): 73 points
|
|
1353.0 | lines of code min: 1.0average: 297.21 25th percentile: 54.0 median: 187.0 75th percentile: 425.5 max: 1353.0 |
|
| 0 | 4.0 | ||
|
contributors (90d) min: 1.0 | average: 1.66 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.5 | 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