twitter / twemproxy
File Size

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

Intro
Learn more...
File Size Overall
32% | 21% | 28% | 10% | 7%
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
c38% | 21% | 29% | 6% | 3%
h0% | 26% | 15% | 30% | 28%
php0% | 0% | 100% | 0% | 0%
spec0% | 0% | 0% | 100% | 0%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src33% | 21% | 27% | 9% | 7%
scripts0% | 0% | 61% | 30% | 8%
Longest Files (Top 50)
File# lines# units
nc_redis.c
in src/proto
2369 -
nc_conf.c
in src
1375 -
nc_memcache.c
in src/proto
1172 -
904 -
687 -
603 1
527 -
506 -
nc.c
in src
459 -
nc_util.c
in src
448 -
307 -
305 -
301 10
295 -
nc_evport.c
in src/event
292 -
nc_kqueue.c
in src/event
283 -
nc_core.c
in src
275 -
nc_epoll.c
in src/event
260 -
256 -
nc_log.c
in src
245 -
241 -
nc_md5.c
in src/hashkit
222 -
214 -
nc_ketama.c
in src/hashkit
174 -
nc_mbuf.c
in src
161 -
154 -
nc_jenkins.c
in src/hashkit
153 -
spec
nutcracker.spec
in scripts
149 -
133 -
127 -
nc_util.h
in src
127 -
nc_core.h
in src
117 -
nc_proto.h
in src/proto
110 -
nc_conf.h
in src
109 -
nc_modula.c
in src/hashkit
103 -
nc_random.c
in src/hashkit
95 -
92 -
nc_crc32.c
in src/hashkit
88 -
nc_log.h
in src
85 -
81 -
77 -
74 -
nc_hashkit.h
in src/hashkit
54 -
nc_hsieh.c
in src/hashkit
53 -
nc_fnv.c
in src/hashkit
52 -
nc_event.h
in src/event
49 -
46 -
nc_crc16.c
in src/hashkit
45 -
nc_mbuf.h
in src
41 -
nc_murmur.c
in src/hashkit
35 -
Files With Most Units (Top 3)
File# lines# units
301 10
27 3
603 1
Files With Long Lines (Top 5)

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

File# lines# units# long lines
301 10 5
spec
nutcracker.spec
in scripts
149 - 5
nc_ketama.c
in src/hashkit
174 - 2
27 3 1
154 - 1
Correlations

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

src/nc_conf.c x: 43 commits (all time) y: 1375 lines of code src/nc_conf.h x: 26 commits (all time) y: 109 lines of code src/nc_proxy.c x: 19 commits (all time) y: 307 lines of code src/nc_server.h x: 25 commits (all time) y: 77 lines of code src/nc_stats.c x: 30 commits (all time) y: 904 lines of code src/nc_util.c x: 24 commits (all time) y: 448 lines of code src/nc_util.h x: 19 commits (all time) y: 127 lines of code src/proto/nc_redis.c x: 128 commits (all time) y: 2369 lines of code scripts/nutcracker.spec x: 24 commits (all time) y: 149 lines of code src/hashkit/nc_crc32.c x: 3 commits (all time) y: 88 lines of code src/proto/nc_memcache.c x: 56 commits (all time) y: 1172 lines of code src/nc_message.c x: 60 commits (all time) y: 603 lines of code src/nc_message.h x: 64 commits (all time) y: 305 lines of code src/nc.c x: 22 commits (all time) y: 459 lines of code src/nc_server.c x: 35 commits (all time) y: 687 lines of code src/hashkit/nc_fnv.c x: 2 commits (all time) y: 52 lines of code src/hashkit/nc_hashkit.h x: 7 commits (all time) y: 54 lines of code src/hashkit/nc_ketama.c x: 9 commits (all time) y: 174 lines of code src/hashkit/nc_md5.c x: 4 commits (all time) y: 222 lines of code src/hashkit/nc_modula.c x: 4 commits (all time) y: 103 lines of code src/hashkit/nc_random.c x: 2 commits (all time) y: 95 lines of code src/nc_array.c x: 3 commits (all time) y: 133 lines of code src/nc_array.h x: 2 commits (all time) y: 46 lines of code src/nc_client.c x: 2 commits (all time) y: 127 lines of code src/nc_client.h x: 2 commits (all time) y: 8 lines of code src/nc_connection.c x: 25 commits (all time) y: 295 lines of code src/nc_connection.h x: 20 commits (all time) y: 74 lines of code src/nc_core.c x: 25 commits (all time) y: 275 lines of code src/nc_core.h x: 28 commits (all time) y: 117 lines of code src/nc_log.c x: 13 commits (all time) y: 245 lines of code src/nc_log.h x: 12 commits (all time) y: 85 lines of code src/nc_mbuf.c x: 8 commits (all time) y: 161 lines of code src/nc_mbuf.h x: 8 commits (all time) y: 41 lines of code src/nc_rbtree.c x: 4 commits (all time) y: 256 lines of code src/nc_rbtree.h x: 2 commits (all time) y: 25 lines of code src/nc_request.c x: 54 commits (all time) y: 506 lines of code src/nc_signal.c x: 6 commits (all time) y: 92 lines of code src/nc_stats.h x: 21 commits (all time) y: 154 lines of code src/nc_string.c x: 7 commits (all time) y: 214 lines of code src/proto/nc_proto.h x: 30 commits (all time) y: 110 lines of code scripts/extract_redis_commands_argcounts.php x: 2 commits (all time) y: 301 lines of code src/nc_queue.h x: 3 commits (all time) y: 527 lines of code src/nc_response.c x: 25 commits (all time) y: 241 lines of code src/nc_string.h x: 9 commits (all time) y: 81 lines of code src/hashkit/nc_jenkins.c x: 2 commits (all time) y: 153 lines of code src/event/nc_event.h x: 10 commits (all time) y: 49 lines of code src/event/nc_kqueue.c x: 12 commits (all time) y: 283 lines of code src/event/nc_evport.c x: 4 commits (all time) y: 292 lines of code src/event/nc_epoll.c x: 11 commits (all time) y: 260 lines of code scripts/redis-check.py x: 1 commits (all time) y: 15 lines of code
2369.0
lines of code
  min: 8.0
  average: 290.71
  25th percentile: 82.0
  median: 153.5
  75th percentile: 299.5
  max: 2369.0
0 128.0
commits (all time)
min: 1.0 | average: 18.48 | 25th percentile: 3.0 | median: 10.5 | 75th percentile: 25.0 | max: 128.0

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

src/nc_conf.c x: 10 contributors (all time) y: 1375 lines of code src/nc_conf.h x: 10 contributors (all time) y: 109 lines of code src/nc_proxy.c x: 9 contributors (all time) y: 307 lines of code src/nc_server.h x: 9 contributors (all time) y: 77 lines of code src/nc_stats.c x: 8 contributors (all time) y: 904 lines of code src/nc_util.c x: 8 contributors (all time) y: 448 lines of code src/nc_util.h x: 8 contributors (all time) y: 127 lines of code src/proto/nc_redis.c x: 22 contributors (all time) y: 2369 lines of code scripts/nutcracker.spec x: 10 contributors (all time) y: 149 lines of code src/hashkit/nc_crc32.c x: 2 contributors (all time) y: 88 lines of code src/proto/nc_memcache.c x: 9 contributors (all time) y: 1172 lines of code src/nc_message.c x: 7 contributors (all time) y: 603 lines of code src/nc_message.h x: 13 contributors (all time) y: 305 lines of code src/nc.c x: 8 contributors (all time) y: 459 lines of code src/nc_server.c x: 8 contributors (all time) y: 687 lines of code src/hashkit/nc_fnv.c x: 1 contributors (all time) y: 52 lines of code src/hashkit/nc_hashkit.h x: 4 contributors (all time) y: 54 lines of code src/hashkit/nc_ketama.c x: 5 contributors (all time) y: 174 lines of code src/hashkit/nc_md5.c x: 3 contributors (all time) y: 222 lines of code src/hashkit/nc_modula.c x: 3 contributors (all time) y: 103 lines of code src/hashkit/nc_random.c x: 1 contributors (all time) y: 95 lines of code src/nc_array.c x: 2 contributors (all time) y: 133 lines of code src/nc_array.h x: 1 contributors (all time) y: 46 lines of code src/nc_client.c x: 1 contributors (all time) y: 127 lines of code src/nc_client.h x: 1 contributors (all time) y: 8 lines of code src/nc_connection.c x: 7 contributors (all time) y: 295 lines of code src/nc_connection.h x: 7 contributors (all time) y: 74 lines of code src/nc_core.c x: 8 contributors (all time) y: 275 lines of code src/nc_core.h x: 8 contributors (all time) y: 117 lines of code src/nc_log.c x: 4 contributors (all time) y: 245 lines of code src/nc_log.h x: 4 contributors (all time) y: 85 lines of code src/nc_mbuf.c x: 2 contributors (all time) y: 161 lines of code src/nc_mbuf.h x: 4 contributors (all time) y: 41 lines of code src/nc_rbtree.c x: 3 contributors (all time) y: 256 lines of code src/nc_rbtree.h x: 1 contributors (all time) y: 25 lines of code src/nc_request.c x: 9 contributors (all time) y: 506 lines of code src/nc_signal.c x: 3 contributors (all time) y: 92 lines of code src/nc_stats.h x: 7 contributors (all time) y: 154 lines of code src/nc_string.c x: 4 contributors (all time) y: 214 lines of code src/proto/nc_proto.h x: 6 contributors (all time) y: 110 lines of code scripts/extract_redis_commands_argcounts.php x: 1 contributors (all time) y: 301 lines of code src/nc_queue.h x: 2 contributors (all time) y: 527 lines of code src/nc_response.c x: 6 contributors (all time) y: 241 lines of code src/nc_string.h x: 4 contributors (all time) y: 81 lines of code src/hashkit/nc_jenkins.c x: 2 contributors (all time) y: 153 lines of code src/event/nc_kqueue.c x: 1 contributors (all time) y: 283 lines of code src/event/nc_evport.c x: 1 contributors (all time) y: 292 lines of code src/event/nc_epoll.c x: 1 contributors (all time) y: 260 lines of code src/hashkit/nc_crc16.c x: 2 contributors (all time) y: 45 lines of code scripts/redis-check.py x: 1 contributors (all time) y: 15 lines of code
2369.0
lines of code
  min: 8.0
  average: 290.71
  25th percentile: 82.0
  median: 153.5
  75th percentile: 299.5
  max: 2369.0
0 22.0
contributors (all time)
min: 1.0 | average: 5.06 | 25th percentile: 1.25 | median: 4.0 | 75th percentile: 8.0 | max: 22.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".