File Size Overall
  • There are 63 files with 8,242 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (572 lines of code)
    • 15 medium size files (4,351 lines of code)
    • 15 small files (2,140 lines of code)
    • 32 very small files (1,179 lines of code)
0% | 6% | 52% | 25% | 14%
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% | 6% | 53% | 26% | 13%
s0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
handlers0% | 24% | 52% | 10% | 12%
orcas0% | 0% | 100% | 0% | 0%
client0% | 0% | 43% | 38% | 18%
protocol0% | 0% | 42% | 42% | 14%
metrics0% | 0% | 42% | 21% | 36%
server0% | 0% | 0% | 74% | 25%
common0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 100% | 0%
timer0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
handler.go
in handlers/memcached/chunked
572 19
l1l2.go
in orcas
487 16
conn.go
in handlers/memcached/batched
454 7
l1l2batch.go
in orcas
427 16
parser.go
in protocol/binprot
318 8
histograms.go
in metrics
314 11
handler.go
in handlers/memcached/batched
313 21
l1only.go
in orcas
264 16
main.go
in client/cmd/blast
260 7
locked.go
in orcas
233 19
main.go
in client/cmd/setops
229 7
inmem.go
in handlers/inmem
226 13
respond.go
in protocol/binprot
215 20
prot.go
in client/textprot
205 11
types.go
in orcas
204 -
handler.go
in handlers/memcached/std
202 16
prot.go
in client/binprot
194 18
datatypes.go
in common
177 17
169 3
headers.go
in client/binprot
163 4
headers.go
in protocol/binprot
162 6
endpoint.go
in metrics
157 11
parser.go
in protocol/textprot
143 3
listen.go
in server
131 7
default.go
in server
127 2
main.go
in client/cmd/setget
126 5
stats.go
in client/stats
126 6
types.go
in protocol/binprot
123 2
relay.go
in handlers/memcached/batched
118 4
localComm.go
in handlers/memcached/chunked
113 5
respond.go
in protocol/textprot
111 17
commands.go
in protocol/binprot
97 18
types.go
in client/common
80 1
main.go
in client/cmd/fill
70 3
gauges.go
in metrics
69 5
localComm.go
in handlers/memcached/std
66 2
chunkedLimitedReader.go
in handlers/memcached/chunked
62 4
58 3
types.go
in server
53 -
utils.go
in client/common
52 6
types.go
in handlers/memcached/chunked
51 2
main.go
in client/cmd/sizes
48 1
counters.go
in metrics
39 4
constructors.go
in handlers/memcached
39 3
utils.go
in server
36 2
types.go
in protocol
36 -
flags.go
in client/f
36 1
s
lzcnt_amd64.s
in metrics
29 -
29 -
lzcnt.go
in metrics
27 1
Files With Most Units (Top 50)
File# lines# units
handler.go
in handlers/memcached/batched
313 21
respond.go
in protocol/binprot
215 20
locked.go
in orcas
233 19
handler.go
in handlers/memcached/chunked
572 19
commands.go
in protocol/binprot
97 18
prot.go
in client/binprot
194 18
respond.go
in protocol/textprot
111 17
datatypes.go
in common
177 17
l1l2.go
in orcas
487 16
l1only.go
in orcas
264 16
l1l2batch.go
in orcas
427 16
handler.go
in handlers/memcached/std
202 16
inmem.go
in handlers/inmem
226 13
histograms.go
in metrics
314 11
endpoint.go
in metrics
157 11
prot.go
in client/textprot
205 11
parser.go
in protocol/binprot
318 8
listen.go
in server
131 7
main.go
in client/cmd/setops
229 7
main.go
in client/cmd/blast
260 7
conn.go
in handlers/memcached/batched
454 7
headers.go
in protocol/binprot
162 6
utils.go
in client/common
52 6
stats.go
in client/stats
126 6
gauges.go
in metrics
69 5
main.go
in client/cmd/setget
126 5
localComm.go
in handlers/memcached/chunked
113 5
counters.go
in metrics
39 4
components.go
in protocol/textprot
26 4
components.go
in protocol/binprot
26 4
headers.go
in client/binprot
163 4
relay.go
in handlers/memcached/batched
118 4
chunkedLimitedReader.go
in handlers/memcached/chunked
62 4
58 3
parser.go
in protocol/textprot
143 3
169 3
main.go
in client/cmd/fill
70 3
keys.go
in handlers/memcached/chunked
19 3
constructors.go
in handlers/memcached
39 3
bulkcallback.go
in metrics
26 2
utils.go
in server
36 2
default.go
in server
127 2
types.go
in protocol/binprot
123 2
tokens.go
in handlers/memcached/chunked
15 2
types.go
in handlers/memcached/chunked
51 2
localComm.go
in handlers/memcached/std
66 2
lzcnt.go
in metrics
27 1
7 1
timer.go
in timer
4 1
main.go
in client/cmd/sizes
48 1
Files With Long Lines (Top 13)

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

File# lines# units# long lines
169 3 12
handler.go
in handlers/memcached/std
202 16 4
parser.go
in protocol/binprot
318 8 2
histograms.go
in metrics
314 11 1
listen.go
in server
131 7 1
parser.go
in protocol/textprot
143 3 1
respond.go
in protocol/binprot
215 20 1
main.go
in client/cmd/setops
229 7 1
main.go
in client/cmd/blast
260 7 1
flags.go
in client/f
36 1 1
stats.go
in client/stats
126 6 1
conn.go
in handlers/memcached/batched
454 7 1
localComm.go
in handlers/memcached/chunked
113 5 1
Correlations

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

server/listen.go x: 25 commits (all time) y: 131 lines of code server/types.go x: 29 commits (all time) y: 53 lines of code memproxy.go x: 132 commits (all time) y: 169 lines of code handlers/memcached/chunked/handler.go x: 62 commits (all time) y: 572 lines of code orcas/l1l2.go x: 43 commits (all time) y: 487 lines of code protocol/types.go x: 5 commits (all time) y: 36 lines of code server/utils.go x: 9 commits (all time) y: 36 lines of code handlers/memcached/batched/conn.go x: 31 commits (all time) y: 454 lines of code handlers/memcached/batched/handler.go x: 12 commits (all time) y: 313 lines of code handlers/memcached/batched/relay.go x: 22 commits (all time) y: 118 lines of code handlers/memcached/batched/types.go x: 7 commits (all time) y: 26 lines of code client/binprot/headers.go x: 21 commits (all time) y: 163 lines of code handlers/memcached/std/handler.go x: 35 commits (all time) y: 202 lines of code orcas/locked.go x: 16 commits (all time) y: 233 lines of code protocol/binprot/headers.go x: 6 commits (all time) y: 162 lines of code protocol/binprot/parser.go x: 6 commits (all time) y: 318 lines of code protocol/binprot/respond.go x: 5 commits (all time) y: 215 lines of code protocol/binprot/types.go x: 5 commits (all time) y: 123 lines of code client/cmd/sizes/main.go x: 3 commits (all time) y: 48 lines of code client/common/utils.go x: 17 commits (all time) y: 52 lines of code metrics/counters.go x: 28 commits (all time) y: 39 lines of code orcas/l1l2batch.go x: 30 commits (all time) y: 427 lines of code orcas/types.go x: 35 commits (all time) y: 204 lines of code client/cmd/blast/main.go x: 1 commits (all time) y: 260 lines of code client/cmd/fill/main.go x: 1 commits (all time) y: 70 lines of code client/cmd/setget/main.go x: 1 commits (all time) y: 126 lines of code client/cmd/setops/main.go x: 1 commits (all time) y: 229 lines of code common/datatypes.go x: 73 commits (all time) y: 177 lines of code handlers/memcached/chunked/localComm.go x: 25 commits (all time) y: 113 lines of code handlers/memcached/std/localComm.go x: 17 commits (all time) y: 66 lines of code orcas/l1only.go x: 22 commits (all time) y: 264 lines of code protocol/binprot/commands.go x: 2 commits (all time) y: 97 lines of code protocol/binprot/components.go x: 2 commits (all time) y: 26 lines of code protocol/textprot/parser.go x: 2 commits (all time) y: 143 lines of code protocol/textprot/respond.go x: 2 commits (all time) y: 111 lines of code server/default.go x: 25 commits (all time) y: 127 lines of code client/binprot/prot.go x: 46 commits (all time) y: 194 lines of code handlers/memcached/constructors.go x: 16 commits (all time) y: 39 lines of code metrics/gauges.go x: 16 commits (all time) y: 69 lines of code client/textprot/prot.go x: 33 commits (all time) y: 205 lines of code metrics/histograms.go x: 37 commits (all time) y: 314 lines of code timer/timer.go x: 2 commits (all time) y: 4 lines of code timer/timer_asm.go x: 2 commits (all time) y: 2 lines of code timer/timer_fallback.go x: 2 commits (all time) y: 7 lines of code timer/timer_linux_amd64.s x: 2 commits (all time) y: 29 lines of code metrics/bulkcallback.go x: 4 commits (all time) y: 26 lines of code metrics/callbackgauges.go x: 15 commits (all time) y: 58 lines of code metrics/endpoint.go x: 38 commits (all time) y: 157 lines of code metrics/types.go x: 8 commits (all time) y: 21 lines of code client/common/types.go x: 25 commits (all time) y: 80 lines of code client/stats/stats.go x: 10 commits (all time) y: 126 lines of code handlers/inmem/inmem.go x: 8 commits (all time) y: 226 lines of code handlers/memcached/chunked/types.go x: 10 commits (all time) y: 51 lines of code handlers/types.go x: 22 commits (all time) y: 17 lines of code handlers/memcached/chunked/keys.go x: 10 commits (all time) y: 19 lines of code client/f/flags.go x: 8 commits (all time) y: 36 lines of code client/sigs/signals.go x: 3 commits (all time) y: 11 lines of code handlers/memcached/chunked/tokens.go x: 3 commits (all time) y: 15 lines of code handlers/memcached/chunked/chunkedLimitedReader.go x: 3 commits (all time) y: 62 lines of code
572.0
lines of code
  min: 2.0
  average: 130.83
  25th percentile: 29.0
  median: 97.0
  75th percentile: 202.0
  max: 572.0
0 132.0
commits (all time)
min: 1.0 | average: 17.29 | 25th percentile: 2.0 | median: 10.0 | 75th percentile: 25.0 | max: 132.0

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

server/listen.go x: 2 contributors (all time) y: 131 lines of code server/types.go x: 1 contributors (all time) y: 53 lines of code memproxy.go x: 2 contributors (all time) y: 169 lines of code handlers/memcached/chunked/handler.go x: 3 contributors (all time) y: 572 lines of code orcas/l1l2.go x: 3 contributors (all time) y: 487 lines of code protocol/types.go x: 2 contributors (all time) y: 36 lines of code handlers/memcached/batched/conn.go x: 1 contributors (all time) y: 454 lines of code handlers/memcached/batched/handler.go x: 1 contributors (all time) y: 313 lines of code handlers/memcached/batched/relay.go x: 1 contributors (all time) y: 118 lines of code handlers/memcached/batched/types.go x: 1 contributors (all time) y: 26 lines of code client/binprot/headers.go x: 3 contributors (all time) y: 163 lines of code handlers/memcached/std/handler.go x: 2 contributors (all time) y: 202 lines of code orcas/locked.go x: 2 contributors (all time) y: 233 lines of code protocol/binprot/headers.go x: 1 contributors (all time) y: 162 lines of code protocol/binprot/parser.go x: 1 contributors (all time) y: 318 lines of code protocol/binprot/respond.go x: 1 contributors (all time) y: 215 lines of code protocol/binprot/types.go x: 1 contributors (all time) y: 123 lines of code client/cmd/sizes/main.go x: 1 contributors (all time) y: 48 lines of code metrics/counters.go x: 4 contributors (all time) y: 39 lines of code orcas/l1l2batch.go x: 2 contributors (all time) y: 427 lines of code orcas/types.go x: 2 contributors (all time) y: 204 lines of code client/cmd/blast/main.go x: 1 contributors (all time) y: 260 lines of code client/cmd/fill/main.go x: 1 contributors (all time) y: 70 lines of code client/cmd/setget/main.go x: 1 contributors (all time) y: 126 lines of code client/cmd/setops/main.go x: 1 contributors (all time) y: 229 lines of code common/datatypes.go x: 2 contributors (all time) y: 177 lines of code handlers/memcached/chunked/localComm.go x: 2 contributors (all time) y: 113 lines of code handlers/memcached/std/localComm.go x: 2 contributors (all time) y: 66 lines of code orcas/l1only.go x: 2 contributors (all time) y: 264 lines of code protocol/binprot/commands.go x: 1 contributors (all time) y: 97 lines of code protocol/textprot/parser.go x: 1 contributors (all time) y: 143 lines of code protocol/textprot/respond.go x: 1 contributors (all time) y: 111 lines of code server/default.go x: 1 contributors (all time) y: 127 lines of code client/binprot/prot.go x: 4 contributors (all time) y: 194 lines of code handlers/memcached/constructors.go x: 1 contributors (all time) y: 39 lines of code metrics/gauges.go x: 3 contributors (all time) y: 69 lines of code client/textprot/prot.go x: 2 contributors (all time) y: 205 lines of code metrics/histograms.go x: 3 contributors (all time) y: 314 lines of code timer/timer.go x: 1 contributors (all time) y: 4 lines of code timer/timer_asm.go x: 1 contributors (all time) y: 2 lines of code timer/timer_fallback.go x: 1 contributors (all time) y: 7 lines of code timer/timer_linux_amd64.s x: 1 contributors (all time) y: 29 lines of code metrics/callbackgauges.go x: 3 contributors (all time) y: 58 lines of code metrics/endpoint.go x: 3 contributors (all time) y: 157 lines of code metrics/types.go x: 1 contributors (all time) y: 21 lines of code client/common/types.go x: 1 contributors (all time) y: 80 lines of code handlers/inmem/inmem.go x: 1 contributors (all time) y: 226 lines of code handlers/memcached/chunked/types.go x: 1 contributors (all time) y: 51 lines of code handlers/types.go x: 1 contributors (all time) y: 17 lines of code handlers/memcached/chunked/keys.go x: 1 contributors (all time) y: 19 lines of code client/f/flags.go x: 1 contributors (all time) y: 36 lines of code client/sigs/signals.go x: 1 contributors (all time) y: 11 lines of code handlers/memcached/chunked/tokens.go x: 1 contributors (all time) y: 15 lines of code handlers/memcached/chunked/chunkedLimitedReader.go x: 1 contributors (all time) y: 62 lines of code
572.0
lines of code
  min: 2.0
  average: 130.83
  25th percentile: 29.0
  median: 97.0
  75th percentile: 202.0
  max: 572.0
0 4.0
contributors (all time)
min: 1.0 | average: 1.52 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 4.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...