File Size Overall
  • There are 17 files with 872 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (202 lines of code)
    • 0 small files (0 lines of code)
    • 16 very small files (670 lines of code)
0% | 0% | 23% | 0% | 76%
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% | 23% | 0% | 76%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 57% | 0% | 42%
netapp0% | 0% | 0% | 0% | 100%
mail0% | 0% | 0% | 0% | 100%
postgres0% | 0% | 0% | 0% | 100%
pagerduty0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
main.go
in root
202 5
82 3
70 3
66 2
models.go
in netapp
64 -
backups.go
in postgres
58 2
53 1
pagerduty.go
in pagerduty
53 2
jobs.go
in netapp
51 2
config.go
in root
40 1
30 1
27 -
common.go
in netapp
21 1
models.go
in postgres
19 1
models.go
in root
15 -
models.go
in pagerduty
12 -
models.go
in mail
9 -
Files With Most Units (Top 12)
File# lines# units
main.go
in root
202 5
82 3
70 3
jobs.go
in netapp
51 2
66 2
pagerduty.go
in pagerduty
53 2
backups.go
in postgres
58 2
config.go
in root
40 1
common.go
in netapp
21 1
30 1
53 1
models.go
in postgres
19 1
Files With Long Lines (Top 5)

There are 5 files with lines longer than 120 characters. In total, there are 11 long lines.

File# lines# units# long lines
main.go
in root
202 5 5
pagerduty.go
in pagerduty
53 2 2
70 3 2
82 3 1
models.go
in postgres
19 1 1
Correlations

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

main.go x: 14 commits (all time) y: 202 lines of code messenger.go x: 9 commits (all time) y: 70 lines of code netapp/deletesnapshot.go x: 2 commits (all time) y: 30 lines of code netapp/listsnapshot.go x: 2 commits (all time) y: 53 lines of code netapp/models.go x: 3 commits (all time) y: 64 lines of code config.go x: 6 commits (all time) y: 40 lines of code example-config.yaml x: 5 commits (all time) y: 27 lines of code pagerduty/models.go x: 2 commits (all time) y: 12 lines of code mail/SendMail.go x: 5 commits (all time) y: 82 lines of code netapp/createsnapshot.go x: 2 commits (all time) y: 66 lines of code mail/models.go x: 2 commits (all time) y: 9 lines of code models.go x: 1 commits (all time) y: 15 lines of code postgres/backups.go x: 1 commits (all time) y: 58 lines of code postgres/models.go x: 1 commits (all time) y: 19 lines of code
202.0
lines of code
  min: 9.0
  average: 53.33
  25th percentile: 19.0
  median: 53.0
  75th percentile: 66.0
  max: 202.0
0 14.0
commits (all time)
min: 1.0 | average: 3.8 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 5.0 | max: 14.0

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

main.go x: 1 contributors (all time) y: 202 lines of code messenger.go x: 1 contributors (all time) y: 70 lines of code netapp/deletesnapshot.go x: 1 contributors (all time) y: 30 lines of code netapp/listsnapshot.go x: 1 contributors (all time) y: 53 lines of code netapp/models.go x: 1 contributors (all time) y: 64 lines of code config.go x: 1 contributors (all time) y: 40 lines of code example-config.yaml x: 1 contributors (all time) y: 27 lines of code pagerduty/models.go x: 1 contributors (all time) y: 12 lines of code mail/SendMail.go x: 1 contributors (all time) y: 82 lines of code netapp/createsnapshot.go x: 1 contributors (all time) y: 66 lines of code mail/models.go x: 1 contributors (all time) y: 9 lines of code models.go x: 1 contributors (all time) y: 15 lines of code postgres/backups.go x: 1 contributors (all time) y: 58 lines of code postgres/models.go x: 1 contributors (all time) y: 19 lines of code
202.0
lines of code
  min: 9.0
  average: 53.33
  25th percentile: 19.0
  median: 53.0
  75th percentile: 66.0
  max: 202.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...