golang / groupcache
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 12 files with 1,347 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (541 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (474 lines of code)
    • 7 very small files (332 lines of code)
0% | 0% | 40% | 35% | 24%
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% | 42% | 37% | 20%
proto0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 62% | 32% | 4%
testpb0% | 0% | 0% | 79% | 20%
lru0% | 0% | 0% | 0% | 100%
groupcachepb0% | 0% | 0% | 0% | 100%
consistenthash0% | 0% | 0% | 0% | 100%
singleflight0% | 0% | 0% | 0% | 100%
Longest Files (Top 12)
File# lines# units
groupcache.go
in root
317 26
sinks.go
in root
224 31
test.pb.go
in testpb
193 40
http.go
in root
160 6
byteview.go
in root
121 13
lru.go
in lru
87 8
proto
test.proto
in testpb
51 -
groupcache.pb.go
in groupcachepb
49 11
consistenthash.go
in consistenthash
48 4
peers.go
in root
39 4
singleflight.go
in singleflight
32 1
proto
groupcache.proto
in groupcachepb
26 -
Files With Most Units (Top 10)
File# lines# units
test.pb.go
in testpb
193 40
sinks.go
in root
224 31
groupcache.go
in root
317 26
byteview.go
in root
121 13
groupcache.pb.go
in groupcachepb
49 11
lru.go
in lru
87 8
http.go
in root
160 6
consistenthash.go
in consistenthash
48 4
peers.go
in root
39 4
singleflight.go
in singleflight
32 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