golang / example
File Size

The distribution of size of files (measured in lines of code).

Intro
  • 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...
File Size Overall
  • There are 21 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 codeclsfd_ftr_w_mp_ins)
    • 1 small files (157 lines of code)
    • 20 very small files (715 lines of code)
0% | 0% | 0% | 18% | 81%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
go0% | 0% | 0% | 19% | 80%
yaml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
gotypes0% | 0% | 0% | 100% | 0%
outyet0% | 0% | 0% | 0% | 100%
gotypes/typeandvalue0% | 0% | 0% | 0% | 100%
gotypes/nilfunc0% | 0% | 0% | 0% | 100%
gotypes/skeleton0% | 0% | 0% | 0% | 100%
template0% | 0% | 0% | 0% | 100%
gotypes/hugeparam0% | 0% | 0% | 0% | 100%
gotypes/implements0% | 0% | 0% | 0% | 100%
gotypes/lookup0% | 0% | 0% | 0% | 100%
gotypes/defsuses0% | 0% | 0% | 0% | 100%
gotypes/doc0% | 0% | 0% | 0% | 100%
gotypes/pkginfo0% | 0% | 0% | 0% | 100%
appengine-hello0% | 0% | 0% | 0% | 100%
appengine-hello/static0% | 0% | 0% | 0% | 100%
stringutil0% | 0% | 0% | 0% | 100%
hello0% | 0% | 0% | 0% | 100%
gotypes/hello0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
weave.go
in gotypes
157 6
main.go
in outyet
95 5
main.go
in gotypes/typeandvalue
77 4
main.go
in gotypes/nilfunc
72 3
main.go
in gotypes/skeleton
66 3
main.go
in template
55 3
main.go
in gotypes/hugeparam
54 2
main.go
in gotypes/implements
50 2
lookup.go
in gotypes/lookup
49 2
main.go
in gotypes/defsuses
46 3
main.go
in gotypes/doc
42 1
main.go
in gotypes/pkginfo
31 2
app.yaml
in appengine-hello
15 -
index.html
in appengine-hello/static
13 -
app.go
in appengine-hello
11 2
reverse.go
in stringutil
8 1
hello.go
in hello
8 1
containers.yaml
in outyet
8 -
script.js
in appengine-hello/static
7 1
hello.go
in gotypes/hello
5 1
style.css
in appengine-hello/static
3 -
Files With Most Units (Top 17)
File# lines# units
weave.go
in gotypes
157 6
main.go
in outyet
95 5
main.go
in gotypes/typeandvalue
77 4
main.go
in template
55 3
main.go
in gotypes/defsuses
46 3
main.go
in gotypes/nilfunc
72 3
main.go
in gotypes/skeleton
66 3
app.go
in appengine-hello
11 2
main.go
in gotypes/implements
50 2
lookup.go
in gotypes/lookup
49 2
main.go
in gotypes/pkginfo
31 2
main.go
in gotypes/hugeparam
54 2
reverse.go
in stringutil
8 1
script.js
in appengine-hello/static
7 1
hello.go
in hello
8 1
hello.go
in gotypes/hello
5 1
main.go
in gotypes/doc
42 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines