guardian/feast-multiplatform-library
File Size The distribution of size of files (measured in lines of code). |
File Size Overall
- There are 37 files with 4,635 lines of code.
- 0 very long files (0 lines of code)
- 2 long files (1,587 lines of code)
- 4 medium size files (1,226 lines of code)
- 8 small files (1,119 lines of code)
- 23 very small files (703 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 37)
| File | # lines | # units |
|---|---|---|
| 958 | 2 | |
| 629 | - | |
| 437 | - | |
| 292 | 4 | |
| 289 | 1 | |
| 208 | - | |
| 197 | - | |
| 185 | 5 | |
| 139 | 1 | |
| 131 | 2 | |
| 131 | 1 | |
| 119 | 1 | |
| 116 | 1 | |
| 101 | - | |
| 74 | 1 | |
| 60 | - | |
| 59 | 4 | |
| 58 | - | |
| 56 | 6 | |
| 54 | 1 | |
| 53 | - | |
| 41 | 1 | |
| 36 | 2 | |
| 33 | 1 | |
| 32 | - | |
| 28 | - | |
| 23 | - | |
| 20 | - | |
| 16 | - | |
| 16 | - | |
| 14 | - | |
| 8 | - | |
| 7 | - | |
| 5 | - | |
| 4 | - | |
| 4 | - | |
| 2 | - |
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 |
|---|---|---|---|---|---|
| 958 | ~5k–15k | 41 | ~100 | ~10 | |
| 629 | ~3k–10k | 55 | ~50 | ~15 | |
| 292 | ~2k–5k | 30 | ~50 | ~5 | |
| 437 | ~3k–7k | 16 | ~100 | ~5 | |
| 197 | ~1k–3k | 29 | ~50 | ~5 | |
| 131 | ~700–2k | 32 | ~30 | ~3 | |
| 208 | ~1k–3k | 20 | ~15 | ~15 | |
| 185 | ~1k–3k | 22 | ~50 | ~3 | |
| 289 | ~2k–5k | 14 | ~50 | ~5 | |
| 119 | ~700–2k | 34 | ~30 | ~3 | |
| 28 | under 1k | 64 | ~5 | ~7 | |
| 16 | under 1k | 104 | ~5 | ~3 | |
| 131 | ~700–2k | 12 | ~50 | ~2 | |
| 101 | ~700–1.5k | 7 | ~50 | ~2 | |
| 54 | ~300–1k | 12 | ~20 | ~3 | |
| 60 | ~300–1k | 10 | ~15 | ~3 | |
| 116 | ~700–2k | 5 | ~70 | ~2 | |
| 58 | ~300–1k | 10 | ~20 | ~3 | |
| 74 | ~500–1.5k | 7 | ~70 | ~1 | |
| 139 | ~700–2k | 3 | ~150 | ~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 16)
| File | # lines | # units |
|---|---|---|
| 56 | 6 | |
| 185 | 5 | |
| 292 | 4 | |
| 59 | 4 | |
| 131 | 2 | |
| 36 | 2 | |
| 958 | 2 | |
| 139 | 1 | |
| 289 | 1 | |
| 119 | 1 | |
| 41 | 1 | |
| 54 | 1 | |
| 131 | 1 | |
| 116 | 1 | |
| 33 | 1 | |
| 74 | 1 |
Files With Long Lines (Top 14)
There are 14 files with lines longer than 120 characters. In total, there are 108 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 958 | 2 | 45 | |
| 197 | - | 20 | |
| 131 | 1 | 11 | |
| 292 | 4 | 9 | |
| 53 | - | 5 | |
| 74 | 1 | 4 | |
| 28 | - | 3 | |
| 119 | 1 | 2 | |
| 58 | - | 2 | |
| 629 | - | 2 | |
| 59 | 4 | 2 | |
| 131 | 2 | 1 | |
| 56 | 6 | 1 | |
| 16 | - | 1 |
Correlations
File Size vs. Commits (all time): 37 points
|
|
958.0 | lines of code min: 2.0average: 125.27 25th percentile: 18.0 median: 56.0 75th percentile: 135.0 max: 958.0 |
|
| 0 | 110.0 | ||
|
commits (all time) min: 2.0 | average: 18.49 | 25th percentile: 4.5 | median: 10.0 | 75th percentile: 25.5 | max: 110.0
|
|||
File Size vs. Contributors (all time): 37 points
|
|
958.0 | lines of code min: 2.0average: 125.27 25th percentile: 18.0 median: 56.0 75th percentile: 135.0 max: 958.0 |
|
| 0 | 11.0 | ||
|
contributors (all time) min: 1.0 | average: 3.14 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 4.0 | max: 11.0
|
|||
File Size vs. Commits (30 days): 6 points
|
|
131.0 | lines of code min: 16.0average: 60.83 25th percentile: 19.0 median: 41.0 75th percentile: 119.75 max: 131.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): 6 points
|
|
131.0 | lines of code min: 16.0average: 60.83 25th percentile: 19.0 median: 41.0 75th percentile: 119.75 max: 131.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): 23 points
|
|
958.0 | lines of code min: 4.0average: 156.74 25th percentile: 20.0 median: 101.0 75th percentile: 197.0 max: 958.0 |
|
| 0 | 35.0 | ||
|
commits (90d) min: 1.0 | average: 7.48 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 10.0 | max: 35.0
|
|||
File Size vs. Contributors (90 days): 23 points
|
|
958.0 | lines of code min: 4.0average: 156.74 25th percentile: 20.0 median: 101.0 75th percentile: 197.0 max: 958.0 |
|
| 0 | 5.0 | ||
|
contributors (90d) min: 1.0 | average: 2.04 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 5.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