guardian/2026-maplibre-knowledge-session
File Size The distribution of size of files (measured in lines of code). |
File Size Overall
- There are 45 files with 6,192 lines of code.
- 1 very long files (3,712 lines of code)
- 0 long files (0 lines of code)
- 3 medium size files (617 lines of code)
- 4 small files (600 lines of code)
- 37 very small files (1,263 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 45)
| File | # lines | # units |
|---|---|---|
| 3712 | - | |
| 212 | - | |
| 203 | - | |
| 202 | - | |
| 190 | - | |
| 168 | 20 | |
| 123 | 7 | |
| 119 | 2 | |
| 96 | - | |
| 96 | - | |
| 79 | - | |
| 79 | - | |
| 77 | 1 | |
| 65 | - | |
| 60 | - | |
| 60 | - | |
| 57 | 1 | |
| 52 | - | |
| 50 | - | |
| 50 | - | |
| 41 | 2 | |
| 38 | 2 | |
| 34 | - | |
| 33 | 1 | |
| 33 | - | |
| 32 | 2 | |
| 27 | 2 | |
| 27 | 2 | |
| 26 | 2 | |
| 17 | - | |
| 15 | - | |
| 15 | - | |
| 14 | - | |
| 13 | - | |
| 11 | - | |
| 11 | - | |
| 11 | - | |
| 10 | - | |
| 10 | - | |
| 9 | 1 | |
| 4 | - | |
| 4 | - | |
| 3 | - | |
| 3 | - | |
| 1 | - |
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 |
|---|---|---|---|---|---|
| 3712 | ~20k–70k | 1 | ~3,000 | ~1 | |
| 212 | ~1k–3k | 3 | ~100 | ~2 | |
| 96 | ~500–1.5k | 6 | ~20 | ~5 | |
| 202 | ~1k–3k | 2 | ~30 | ~7 | |
| 77 | ~500–1.5k | 5 | ~10 | ~7 | |
| 190 | ~1k–3k | 2 | ~100 | ~2 | |
| 123 | ~700–2k | 2 | ~20 | ~5 | |
| 79 | ~500–1.5k | 2 | ~50 | ~2 | |
| 119 | ~700–2k | 1 | ~50 | ~3 | |
| 52 | ~300–1k | 2 | ~20 | ~2 | |
| 38 | under 1k | 2 | ~30 | ~2 | |
| 65 | ~300–1k | 1 | ~70 | ~1 | |
| 50 | under 1k | 1 | ~50 | ~1 | |
| 15 | under 1k | 3 | ~15 | ~1 | |
| 34 | under 1k | 1 | ~30 | ~1 | |
| 17 | under 1k | 2 | ~20 | ~1 | |
| 33 | under 1k | 1 | ~30 | ~1 | |
| 10 | under 1k | 3 | ~7 | ~2 | |
| 15 | under 1k | 2 | ~7 | ~2 | |
| 14 | under 1k | 2 | ~5 | ~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 13)
| File | # lines | # units |
|---|---|---|
| 168 | 20 | |
| 123 | 7 | |
| 38 | 2 | |
| 26 | 2 | |
| 41 | 2 | |
| 27 | 2 | |
| 27 | 2 | |
| 119 | 2 | |
| 32 | 2 | |
| 77 | 1 | |
| 33 | 1 | |
| 9 | 1 | |
| 57 | 1 |
Files With Long Lines (Top 9)
There are 9 files with lines longer than 120 characters. In total, there are 188 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 3712 | - | 93 | |
| 203 | - | 39 | |
| 202 | - | 39 | |
| 96 | - | 11 | |
| 33 | - | 2 | |
| 15 | - | 1 | |
| 168 | 20 | 1 | |
| 50 | - | 1 | |
| 119 | 2 | 1 |
Correlations
File Size vs. Commits (all time): 45 points
|
|
3712.0 | lines of code min: 1.0average: 137.6 25th percentile: 12.0 median: 34.0 75th percentile: 79.0 max: 3712.0 |
|
| 0 | 35.0 | ||
|
commits (all time) min: 1.0 | average: 5.87 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 7.5 | max: 35.0
|
|||
File Size vs. Contributors (all time): 45 points
|
|
3712.0 | lines of code min: 1.0average: 137.6 25th percentile: 12.0 median: 34.0 75th percentile: 79.0 max: 3712.0 |
|
| 0 | 7.0 | ||
|
contributors (all time) min: 1.0 | average: 1.93 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.5 | max: 7.0
|
|||
File Size vs. Commits (30 days): 0 points
No data for "commits (30d)" vs. "lines of code".
File Size vs. Contributors (30 days): 0 points
No data for "contributors (30d)" vs. "lines of code".
File Size vs. Commits (90 days): 0 points
No data for "commits (90d)" vs. "lines of code".
File Size vs. Contributors (90 days): 0 points
No data for "contributors (90d)" vs. "lines of code".
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