guardian/feast-multiplatform-backend
File Size The distribution of size of files (measured in lines of code). |
File Size Overall
- There are 37 files with 2,375 lines of code.
- 0 very long files (0 lines of code)
- 1 long files (876 lines of code)
- 2 medium size files (410 lines of code)
- 2 small files (275 lines of code)
- 32 very small files (814 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 |
|---|---|---|
| 876 | - | |
| 209 | - | |
| 201 | - | |
| 149 | 3 | |
| 126 | - | |
| 72 | - | |
| 60 | 3 | |
| 59 | - | |
| 48 | - | |
| 44 | - | |
| 43 | - | |
| 42 | - | |
| 42 | 3 | |
| 39 | - | |
| 32 | 1 | |
| 23 | - | |
| 22 | - | |
| 22 | 1 | |
| 21 | - | |
| 21 | - | |
| 20 | 2 | |
| 19 | 1 | |
| 18 | - | |
| 17 | - | |
| 17 | - | |
| 16 | - | |
| 16 | 1 | |
| 16 | 1 | |
| 16 | 2 | |
| 16 | 1 | |
| 15 | 1 | |
| 13 | - | |
| 10 | - | |
| 4 | - | |
| 4 | - | |
| 4 | - | |
| 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 |
|---|---|---|---|---|---|
| 876 | ~5k–15k | 7 | ~500 | ~2 | |
| 209 | ~1k–3k | 16 | ~7 | ~30 | |
| 201 | ~1k–3k | 16 | ~20 | ~10 | |
| 149 | ~1k–3k | 10 | ~50 | ~3 | |
| 44 | under 1k | 20 | ~15 | ~3 | |
| 42 | under 1k | 20 | ~20 | ~2 | |
| 126 | ~700–2k | 4 | ~20 | ~5 | |
| 60 | ~300–1k | 7 | ~15 | ~3 | |
| 42 | under 1k | 9 | ~10 | ~3 | |
| 16 | under 1k | 13 | ~7 | ~2 | |
| 21 | under 1k | 7 | ~5 | ~5 | |
| 43 | under 1k | 3 | ~20 | ~2 | |
| 48 | under 1k | 2 | ~5 | ~10 | |
| 22 | under 1k | 4 | ~15 | ~2 | |
| 39 | under 1k | 2 | ~30 | ~1 | |
| 18 | under 1k | 4 | ~15 | ~1 | |
| 72 | ~500–1.5k | 1 | ~1 | ~70 | |
| 16 | under 1k | 3 | ~10 | ~2 | |
| 23 | under 1k | 2 | ~20 | ~1 | |
| 21 | under 1k | 2 | ~30 | ~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 12)
| File | # lines | # units |
|---|---|---|
| 60 | 3 | |
| 42 | 3 | |
| 149 | 3 | |
| 20 | 2 | |
| 16 | 2 | |
| 32 | 1 | |
| 15 | 1 | |
| 19 | 1 | |
| 16 | 1 | |
| 16 | 1 | |
| 22 | 1 | |
| 16 | 1 |
Files With Long Lines (Top 4)
There are 4 files with lines longer than 120 characters. In total, there are 24 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 876 | - | 17 | |
| 42 | - | 5 | |
| 16 | - | 1 | |
| 209 | - | 1 |
Correlations
File Size vs. Commits (all time): 30 points
|
|
876.0 | lines of code min: 3.0average: 73.67 25th percentile: 16.0 median: 22.0 75th percentile: 51.0 max: 876.0 |
|
| 0 | 20.0 | ||
|
commits (all time) min: 1.0 | average: 5.77 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 7.5 | max: 20.0
|
|||
File Size vs. Contributors (all time): 30 points
|
|
876.0 | lines of code min: 3.0average: 73.67 25th percentile: 16.0 median: 22.0 75th percentile: 51.0 max: 876.0 |
|
| 0 | 4.0 | ||
|
contributors (all time) min: 1.0 | average: 1.83 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 4.0
|
|||
File Size vs. Commits (30 days): 24 points
|
|
876.0 | lines of code min: 3.0average: 80.5 25th percentile: 16.0 median: 22.0 75th percentile: 47.0 max: 876.0 |
|
| 0 | 12.0 | ||
|
commits (30d) min: 1.0 | average: 4.0 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 12.0
|
|||
File Size vs. Contributors (30 days): 24 points
|
|
876.0 | lines of code min: 3.0average: 80.5 25th percentile: 16.0 median: 22.0 75th percentile: 47.0 max: 876.0 |
|
| 0 | 3.0 | ||
|
contributors (30d) min: 1.0 | average: 1.38 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 3.0
|
|||
File Size vs. Commits (90 days): 30 points
|
|
876.0 | lines of code min: 3.0average: 73.67 25th percentile: 16.0 median: 22.0 75th percentile: 51.0 max: 876.0 |
|
| 0 | 20.0 | ||
|
commits (90d) min: 1.0 | average: 5.77 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 7.5 | max: 20.0
|
|||
File Size vs. Contributors (90 days): 30 points
|
|
876.0 | lines of code min: 3.0average: 73.67 25th percentile: 16.0 median: 22.0 75th percentile: 51.0 max: 876.0 |
|
| 0 | 4.0 | ||
|
contributors (90d) min: 1.0 | average: 1.83 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | 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