File Size Overall
  • There are 10 files with 398 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)
    • 1 small files (108 lines of code)
    • 9 very small files (290 lines of code)
0% | 0% | 0% | 27% | 72%
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% | 27% | 72%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 0% | 65% | 34%
helpers0% | 0% | 0% | 0% | 100%
Longest Files (Top 10)
File# lines# units
lister.go
in root
108 3
helpers.go
in helpers
74 6
46 7
mimetype.go
in helpers
39 1
config.go
in helpers
34 1
30 3
models.go
in root
26 1
main.go
in root
22 1
10 -
9 1
Files With Most Units (Top 9)
File# lines# units
46 7
helpers.go
in helpers
74 6
30 3
lister.go
in root
108 3
models.go
in root
26 1
9 1
config.go
in helpers
34 1
mimetype.go
in helpers
39 1
main.go
in root
22 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
lister.go
in root
108 3 1
Correlations

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

lister.go x: 1 commits (all time) y: 108 lines of code main.go x: 2 commits (all time) y: 22 lines of code models.go x: 1 commits (all time) y: 26 lines of code healthcheck.go x: 1 commits (all time) y: 9 lines of code helpers/config.go x: 1 commits (all time) y: 34 lines of code helpers/errorresponse.go x: 1 commits (all time) y: 10 lines of code helpers/helpers.go x: 1 commits (all time) y: 74 lines of code helpers/mimetype.go x: 1 commits (all time) y: 39 lines of code helpers/mockreadcloser.go x: 1 commits (all time) y: 30 lines of code helpers/responsewriterwrapper.go x: 1 commits (all time) y: 46 lines of code
108.0
lines of code
  min: 9.0
  average: 39.8
  25th percentile: 19.0
  median: 32.0
  75th percentile: 53.0
  max: 108.0
0 2.0
commits (all time)
min: 1.0 | average: 1.1 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0

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

lister.go x: 1 contributors (all time) y: 108 lines of code main.go x: 1 contributors (all time) y: 22 lines of code models.go x: 1 contributors (all time) y: 26 lines of code healthcheck.go x: 1 contributors (all time) y: 9 lines of code helpers/config.go x: 1 contributors (all time) y: 34 lines of code helpers/errorresponse.go x: 1 contributors (all time) y: 10 lines of code helpers/helpers.go x: 1 contributors (all time) y: 74 lines of code helpers/mimetype.go x: 1 contributors (all time) y: 39 lines of code helpers/mockreadcloser.go x: 1 contributors (all time) y: 30 lines of code helpers/responsewriterwrapper.go x: 1 contributors (all time) y: 46 lines of code
108.0
lines of code
  min: 9.0
  average: 39.8
  25th percentile: 19.0
  median: 32.0
  75th percentile: 53.0
  max: 108.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...