guardian/interactive-bakhmut-advances-ukraine
File Size The distribution of size of files (measured in lines of code). |
File Size Overall
- There are 40 files with 2,713 lines of code.
- 0 very long files (0 lines of code)
- 0 long files (0 lines of code)
- 3 medium size files (781 lines of code)
- 7 small files (790 lines of code)
- 30 very small files (1,142 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 40)
| File | # lines | # units |
|---|---|---|
| 354 | - | |
| 220 | 8 | |
| 207 | 2 | |
| 145 | 15 | |
| 116 | 1 | |
| 109 | - | |
| 106 | - | |
| 105 | - | |
| 105 | - | |
| 104 | - | |
| 95 | 6 | |
| 93 | 7 | |
| 93 | - | |
| 92 | - | |
| 74 | 1 | |
| 73 | - | |
| 69 | - | |
| 59 | - | |
| 57 | 3 | |
| 55 | - | |
| 45 | 1 | |
| 44 | - | |
| 29 | 2 | |
| 28 | 1 | |
| 28 | 3 | |
| 28 | - | |
| 25 | 2 | |
| 24 | 2 | |
| 23 | 2 | |
| 18 | - | |
| 16 | 1 | |
| 14 | - | |
| 13 | - | |
| 12 | - | |
| 11 | - | |
| 9 | - | |
| 7 | - | |
| 3 | - | |
| 3 | - | |
| 2 | - |
Files With Most Units (Top 16)
| File | # lines | # units |
|---|---|---|
| 145 | 15 | |
| 220 | 8 | |
| 93 | 7 | |
| 95 | 6 | |
| 28 | 3 | |
| 57 | 3 | |
| 24 | 2 | |
| 23 | 2 | |
| 25 | 2 | |
| 207 | 2 | |
| 29 | 2 | |
| 16 | 1 | |
| 74 | 1 | |
| 28 | 1 | |
| 45 | 1 | |
| 116 | 1 |
Files With Long Lines (Top 13)
There are 13 files with lines longer than 120 characters. In total, there are 97 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 105 | - | 39 | |
| 105 | - | 36 | |
| 207 | 2 | 4 | |
| 220 | 8 | 4 | |
| 145 | 15 | 3 | |
| 93 | - | 3 | |
| 45 | 1 | 2 | |
| 9 | - | 1 | |
| 93 | 7 | 1 | |
| 59 | - | 1 | |
| 116 | 1 | 1 | |
| 57 | 3 | 1 | |
| 95 | 6 | 1 |
Correlations
File Size vs. Commits (all time): 20 points
|
|
354.0 | lines of code min: 2.0average: 87.5 25th percentile: 28.25 median: 65.0 75th percentile: 105.5 max: 354.0 |
|
| 0 | 6.0 | ||
|
commits (all time) min: 1.0 | average: 2.1 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 6.0
|
|||
File Size vs. Contributors (all time): 20 points
|
|
354.0 | lines of code min: 2.0average: 87.5 25th percentile: 28.25 median: 65.0 75th percentile: 105.5 max: 354.0 |
|
| 0 | 3.0 | ||
|
contributors (all time) min: 1.0 | average: 1.2 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.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