guardian/oz-220228-dblogs-qld-rainfall
File Size The distribution of size of files (measured in lines of code). |
File Size Overall
- There are 73 files with 5,760 lines of code.
- 0 very long files (0 lines of code)
- 0 long files (0 lines of code)
- 10 medium size files (3,086 lines of code)
- 6 small files (708 lines of code)
- 57 very small files (1,966 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 |
|---|---|---|
| 427 | 2 | |
| 427 | 2 | |
| 411 | 2 | |
| 411 | 2 | |
| 239 | - | |
| 239 | - | |
| 233 | - | |
| 233 | - | |
| 233 | - | |
| 233 | - | |
| 140 | - | |
| 140 | - | |
| 109 | - | |
| 109 | - | |
| 105 | - | |
| 105 | - | |
| 98 | - | |
| 98 | - | |
| 94 | - | |
| 94 | - | |
| 82 | - | |
| 82 | - | |
| 72 | 1 | |
| 72 | 1 | |
| 70 | 5 | |
| 70 | 5 | |
| 69 | - | |
| 69 | - | |
| 59 | - | |
| 59 | - | |
| 53 | - | |
| 51 | - | |
| 51 | - | |
| 51 | - | |
| 45 | 2 | |
| 43 | - | |
| 42 | 2 | |
| 33 | 2 | |
| 33 | 2 | |
| 33 | 2 | |
| 33 | 2 | |
| 31 | - | |
| 28 | 1 | |
| 26 | 1 | |
| 25 | 1 | |
| 24 | 1 | |
| 20 | - | |
| 20 | - | |
| 19 | - | |
| 18 | - |
Files With Most Units (Top 23)
| File | # lines | # units |
|---|---|---|
| 70 | 5 | |
| 70 | 5 | |
| 33 | 2 | |
| 33 | 2 | |
| 411 | 2 | |
| 427 | 2 | |
| 33 | 2 | |
| 33 | 2 | |
| 411 | 2 | |
| 427 | 2 | |
| 45 | 2 | |
| 42 | 2 | |
| 4 | 1 | |
| 4 | 1 | |
| 72 | 1 | |
| 28 | 1 | |
| 4 | 1 | |
| 4 | 1 | |
| 72 | 1 | |
| 25 | 1 | |
| 26 | 1 | |
| 24 | 1 | |
| 18 | 1 |
Files With Long Lines (Top 26)
There are 26 files with lines longer than 120 characters. In total, there are 164 long lines.
| File | # lines | # units | # long lines |
|---|---|---|---|
| 105 | - | 39 | |
| 105 | - | 39 | |
| 98 | - | 27 | |
| 98 | - | 27 | |
| 20 | - | 3 | |
| 239 | - | 3 | |
| 20 | - | 3 | |
| 239 | - | 3 | |
| 19 | - | 2 | |
| 45 | 2 | 2 | |
| 233 | - | 1 | |
| 51 | - | 1 | |
| 233 | - | 1 | |
| 53 | - | 1 | |
| 59 | - | 1 | |
| 70 | 5 | 1 | |
| 72 | 1 | 1 | |
| 28 | 1 | 1 | |
| 233 | - | 1 | |
| 51 | - | 1 | |
| 18 | - | 1 | |
| 233 | - | 1 | |
| 59 | - | 1 | |
| 70 | 5 | 1 | |
| 72 | 1 | 1 | |
| 25 | 1 | 1 |
Correlations
File Size vs. Commits (all time): 72 points
|
|
427.0 | lines of code min: 1.0average: 79.92 25th percentile: 14.0 median: 42.5 75th percentile: 97.0 max: 427.0 |
|
| 0 | 4.0 | ||
|
commits (all time) min: 1.0 | average: 1.19 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 4.0
|
|||
File Size vs. Contributors (all time): 72 points
|
|
427.0 | lines of code min: 1.0average: 79.92 25th percentile: 14.0 median: 42.5 75th percentile: 97.0 max: 427.0 |
|
| 0 | 1.0 | ||
|
contributors (all time) min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.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