File Size Overall
  • There are 13 files with 887 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (212 lines of code)
    • 4 small files (476 lines of code)
    • 8 very small files (199 lines of code)
0% | 0% | 23% | 53% | 22%
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
go0% | 0% | 24% | 55% | 20%
xml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
vsmetriccheck0% | 0% | 83% | 0% | 16%
ROOT0% | 0% | 0% | 100% | 0%
vsstoragecheck0% | 0% | 0% | 73% | 26%
vshealthcheck0% | 0% | 0% | 89% | 10%
pagerduty0% | 0% | 0% | 65% | 34%
vidispine0% | 0% | 0% | 0% | 100%
common0% | 0% | 0% | 0% | 100%
Longest Files (Top 13)
File# lines# units
vsmetriccheck.go
in vsmetriccheck
212 6
main.go
in root
129 1
vsstoragecheck.go
in vsstoragecheck
122 4
vshealthcheck.go
in vshealthcheck
117 4
models.go
in pagerduty
108 7
pagerduty.go
in pagerduty
56 2
models.go
in vsstoragecheck
43 -
models.go
in vsmetriccheck
43 2
models.go
in vshealthcheck
14 -
formatters.go
in common
14 1
12 -
11 -
monitor.go
in common
6 -
Files With Most Units (Top 8)
File# lines# units
models.go
in pagerduty
108 7
vsmetriccheck.go
in vsmetriccheck
212 6
vsstoragecheck.go
in vsstoragecheck
122 4
vshealthcheck.go
in vshealthcheck
117 4
pagerduty.go
in pagerduty
56 2
models.go
in vsmetriccheck
43 2
formatters.go
in common
14 1
main.go
in root
129 1
Files With Long Lines (Top 6)

There are 6 files with lines longer than 120 characters. In total, there are 13 long lines.

File# lines# units# long lines
vsstoragecheck.go
in vsstoragecheck
122 4 4
vsmetriccheck.go
in vsmetriccheck
212 6 3
models.go
in pagerduty
108 7 2
vshealthcheck.go
in vshealthcheck
117 4 2
pagerduty.go
in pagerduty
56 2 1
main.go
in root
129 1 1
Correlations

File Size vs. Commits (all time): 12 points

common/monitor.go x: 2 commits (all time) y: 6 lines of code main.go x: 8 commits (all time) y: 129 lines of code vshealthcheck/vshealthcheck.go x: 2 commits (all time) y: 117 lines of code vsmetriccheck/vsmetriccheck.go x: 8 commits (all time) y: 212 lines of code vsstoragecheck/vsstoragecheck.go x: 5 commits (all time) y: 122 lines of code vsmetriccheck/models.go x: 2 commits (all time) y: 43 lines of code common/formatters.go x: 2 commits (all time) y: 14 lines of code pagerduty/models.go x: 4 commits (all time) y: 108 lines of code vidispine/storage_check_role.xml x: 2 commits (all time) y: 12 lines of code vidispine/storage_check_user.xml x: 2 commits (all time) y: 11 lines of code vsstoragecheck/models.go x: 3 commits (all time) y: 43 lines of code pagerduty/pagerduty.go x: 3 commits (all time) y: 56 lines of code
212.0
lines of code
  min: 6.0
  average: 72.75
  25th percentile: 12.5
  median: 49.5
  75th percentile: 120.75
  max: 212.0
0 8.0
commits (all time)
min: 2.0 | average: 3.58 | 25th percentile: 2.0 | median: 2.5 | 75th percentile: 4.75 | max: 8.0

File Size vs. Contributors (all time): 12 points

common/monitor.go x: 2 contributors (all time) y: 6 lines of code main.go x: 2 contributors (all time) y: 129 lines of code vshealthcheck/vshealthcheck.go x: 2 contributors (all time) y: 117 lines of code vsmetriccheck/vsmetriccheck.go x: 2 contributors (all time) y: 212 lines of code vsstoragecheck/vsstoragecheck.go x: 2 contributors (all time) y: 122 lines of code vsmetriccheck/models.go x: 1 contributors (all time) y: 43 lines of code common/formatters.go x: 1 contributors (all time) y: 14 lines of code pagerduty/models.go x: 1 contributors (all time) y: 108 lines of code vidispine/storage_check_role.xml x: 1 contributors (all time) y: 12 lines of code vidispine/storage_check_user.xml x: 1 contributors (all time) y: 11 lines of code pagerduty/pagerduty.go x: 1 contributors (all time) y: 56 lines of code
212.0
lines of code
  min: 6.0
  average: 72.75
  25th percentile: 12.5
  median: 49.5
  75th percentile: 120.75
  max: 212.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.42 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.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...