golang / mod
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 24 files with 5,454 lines of code.
    • 0 very long files (0 lines of code)
    • 4 long files (2,445 lines of code)
    • 5 medium size files (1,753 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (737 lines of code)
    • 10 very small files (519 lines of code)
0% | 44% | 32% | 13% | 9%
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% | 44% | 32% | 13% | 9%
bash0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
modfile0% | 80% | 0% | 19% | 0%
zip0% | 100% | 0% | 0% | 0%
module0% | 77% | 0% | 22% | 0%
sumdb/tlog0% | 0% | 89% | 0% | 10%
sumdb0% | 0% | 61% | 19% | 19%
sumdb/note0% | 0% | 100% | 0% | 0%
semver0% | 0% | 100% | 0% | 0%
gosumcheck0% | 0% | 0% | 96% | 3%
sumdb/storage0% | 0% | 0% | 0% | 100%
sumdb/dirhash0% | 0% | 0% | 0% | 100%
internal/lazyregexp0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 24)
File# lines# units
read.go
in modfile
706 37
zip.go
in zip
632 28
rule.go
in modfile
600 18
module.go
in module
507 33
client.go
in sumdb
425 19
tlog.go
in sumdb/tlog
383 26
note.go
in sumdb/note
347 21
semver.go
in semver
306 22
tile.go
in sumdb/tlog
292 12
work.go
in modfile
178 11
main.go
in gosumcheck
152 11
pseudo.go
in module
146 10
server.go
in sumdb
131 3
print.go
in modfile
130 8
hash.go
in sumdb/dirhash
91 4
test.go
in sumdb
91 6
mem.go
in sumdb/storage
82 5
note.go
in sumdb/tlog
81 5
test.go
in sumdb/storage
60 1
lazyre.go
in internal/lazyregexp
52 11
cache.go
in sumdb
40 2
storage.go
in sumdb/storage
15 -
test.bash
in gosumcheck
6 -
cfg
codereview.cfg
in root
1 -
Files With Most Units (Top 20)
File# lines# units
read.go
in modfile
706 37
module.go
in module
507 33
zip.go
in zip
632 28
tlog.go
in sumdb/tlog
383 26
semver.go
in semver
306 22
note.go
in sumdb/note
347 21
client.go
in sumdb
425 19
rule.go
in modfile
600 18
tile.go
in sumdb/tlog
292 12
main.go
in gosumcheck
152 11
lazyre.go
in internal/lazyregexp
52 11
work.go
in modfile
178 11
pseudo.go
in module
146 10
print.go
in modfile
130 8
test.go
in sumdb
91 6
mem.go
in sumdb/storage
82 5
note.go
in sumdb/tlog
81 5
hash.go
in sumdb/dirhash
91 4
server.go
in sumdb
131 3
cache.go
in sumdb
40 2
Files With Long Lines (Top 7)

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

File# lines# units# long lines
zip.go
in zip
632 28 3
rule.go
in modfile
600 18 3
read.go
in modfile
706 37 3
tile.go
in sumdb/tlog
292 12 2
note.go
in sumdb/note
347 21 2
main.go
in gosumcheck
152 11 1
pseudo.go
in module
146 10 1