golang / snappy
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 13 files with 2,816 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,230 lines of code)
    • 3 medium size files (1,075 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (286 lines of code)
    • 6 very small files (225 lines of code)
0% | 43% | 38% | 10% | 7%
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
s0% | 58% | 41% | 0% | 0%
go0% | 0% | 30% | 43% | 25%
cpp0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 45% | 39% | 10% | 4%
misc0% | 0% | 0% | 0% | 100%
cmd/snappytool0% | 0% | 0% | 0% | 100%
Longest Files (Top 13)
File# lines# units
s
encode_amd64.s
in root
619 -
s
encode_arm64.s
in root
611 -
s
decode_arm64.s
in root
439 -
s
decode_amd64.s
in root
435 -
decode.go
in root
201 9
encode.go
in root
161 9
encode_other.go
in root
125 7
decode_other.go
in root
89 1
main.cpp
in misc
59 1
main.go
in cmd/snappytool
39 2
snappy.go
in root
31 1
encode_asm.go
in root
5 -
decode_asm.go
in root
2 -
Files With Most Units (Top 7)
File# lines# units
encode.go
in root
161 9
decode.go
in root
201 9
encode_other.go
in root
125 7
main.go
in cmd/snappytool
39 2
snappy.go
in root
31 1
decode_other.go
in root
89 1
main.cpp
in misc
59 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