File Size Overall
  • There are 15 files with 872 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of code)
    • 3 small files (323 lines of code)
    • 12 very small files (549 lines of code)
0% | 0% | 0% | 37% | 62%
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% | 0% | 40% | 59%
yaml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
webserver0% | 0% | 0% | 48% | 51%
certchecker0% | 0% | 0% | 41% | 58%
datapersistence0% | 0% | 0% | 0% | 100%
sample_deployment0% | 0% | 0% | 0% | 100%
Longest Files (Top 15)
File# lines# units
datahandler.go
in webserver
119 6
scanner.go
in certchecker/certfinder
102 5
jwt.go
in webserver/helpers
102 4
main.go
in certchecker
79 2
writer.go
in datapersistence
76 5
staticfiles.go
in webserver
71 2
certchecker.yaml
in sample_deployment
69 -
check_cert.go
in certchecker/certs
66 3
helpers.go
in webserver/helpers
51 4
indexhandler.go
in webserver
41 1
main.go
in webserver
40 2
models.go
in datapersistence
26 -
index.html
in webserver/static
12 -
errorresponse.go
in webserver/helpers
10 -
healthcheck.go
in webserver
8 1
Files With Most Units (Top 11)
File# lines# units
datahandler.go
in webserver
119 6
scanner.go
in certchecker/certfinder
102 5
writer.go
in datapersistence
76 5
jwt.go
in webserver/helpers
102 4
helpers.go
in webserver/helpers
51 4
check_cert.go
in certchecker/certs
66 3
main.go
in certchecker
79 2
staticfiles.go
in webserver
71 2
main.go
in webserver
40 2
healthcheck.go
in webserver
8 1
indexhandler.go
in webserver
41 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
check_cert.go
in certchecker/certs
66 3 3
scanner.go
in certchecker/certfinder
102 5 1
main.go
in certchecker
79 2 1
jwt.go
in webserver/helpers
102 4 1
Correlations

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

sample_deployment/certchecker.yaml x: 3 commits (all time) y: 69 lines of code webserver/datahandler.go x: 4 commits (all time) y: 119 lines of code certchecker/certs/check_cert.go x: 2 commits (all time) y: 66 lines of code certchecker/main.go x: 2 commits (all time) y: 79 lines of code webserver/indexhandler.go x: 2 commits (all time) y: 41 lines of code webserver/helpers/jwt.go x: 2 commits (all time) y: 102 lines of code webserver/main.go x: 2 commits (all time) y: 40 lines of code webserver/static/index.html x: 1 commits (all time) y: 12 lines of code webserver/staticfiles.go x: 1 commits (all time) y: 71 lines of code certchecker/certfinder/scanner.go x: 1 commits (all time) y: 102 lines of code webserver/healthcheck.go x: 1 commits (all time) y: 8 lines of code webserver/helpers/errorresponse.go x: 1 commits (all time) y: 10 lines of code webserver/helpers/helpers.go x: 1 commits (all time) y: 51 lines of code datapersistence/models.go x: 1 commits (all time) y: 26 lines of code datapersistence/writer.go x: 1 commits (all time) y: 76 lines of code
119.0
lines of code
  min: 8.0
  average: 58.13
  25th percentile: 26.0
  median: 66.0
  75th percentile: 79.0
  max: 119.0
0 4.0
commits (all time)
min: 1.0 | average: 1.67 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 4.0

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

sample_deployment/certchecker.yaml x: 1 contributors (all time) y: 69 lines of code webserver/datahandler.go x: 1 contributors (all time) y: 119 lines of code certchecker/certs/check_cert.go x: 1 contributors (all time) y: 66 lines of code certchecker/main.go x: 1 contributors (all time) y: 79 lines of code webserver/indexhandler.go x: 1 contributors (all time) y: 41 lines of code webserver/helpers/jwt.go x: 1 contributors (all time) y: 102 lines of code webserver/main.go x: 1 contributors (all time) y: 40 lines of code webserver/static/index.html x: 1 contributors (all time) y: 12 lines of code webserver/staticfiles.go x: 1 contributors (all time) y: 71 lines of code webserver/healthcheck.go x: 1 contributors (all time) y: 8 lines of code webserver/helpers/errorresponse.go x: 1 contributors (all time) y: 10 lines of code webserver/helpers/helpers.go x: 1 contributors (all time) y: 51 lines of code datapersistence/models.go x: 1 contributors (all time) y: 26 lines of code datapersistence/writer.go x: 1 contributors (all time) y: 76 lines of code
119.0
lines of code
  min: 8.0
  average: 58.13
  25th percentile: 26.0
  median: 66.0
  75th percentile: 79.0
  max: 119.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...