File Size Overall
  • There are 128 files with 26,302 lines of code.
    • 6 very long files (9,263 lines of code)
    • 8 long files (5,619 lines of code)
    • 19 medium size files (5,903 lines of code)
    • 23 small files (3,338 lines of code)
    • 72 very small files (2,179 lines of code)
35% | 21% | 22% | 12% | 8%
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
c41% | 20% | 22% | 11% | 4%
h0% | 29% | 26% | 18% | 25%
py0% | 0% | 0% | 64% | 35%
yaml0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src36% | 21% | 23% | 11% | 7%
contrib0% | 0% | 0% | 68% | 31%
scripts0% | 0% | 0% | 55% | 44%
conf0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
dyn_redis.c
in src/proto
2891 31
1596 29
1409 60
dyn_memcache.c
in src/proto
1193 23
1156 31
1018 41
943 35
791 29
778 15
dyn_redis_repair.c
in src/proto
731 14
709 33
567 29
559 -
541 4
459 28
438 13
394 29
dyn_proto_repair.h
in src/proto
386 -
385 -
370 15
339 12
dyn_entropy_util.c
in src/entropy
336 9
dyn_evport.c
in src/event
323 9
dyn_kqueue.c
in src/event
318 10
dyn_epoll.c
in src/event
278 9
275 14
246 10
245 6
238 -
dyn_jenkins.c
in src/hashkit
233 1
225 21
dyn_md5.c
in src/hashkit
210 5
dyn_entropy_snd.c
in src/entropy
205 4
200 -
murmur3.c
in contrib/murmur3
193 7
189 4
184 8
dyn_florida.c
in src/seedsprovider
172 5
171 8
dyn_token.c
in src/hashkit
168 11
dyn_log.c
in src
166 10
161 7
159 8
144 2
137 4
dyn_entropy_rcv.c
in src/entropy
134 2
131 2
123 8
119 -
119 -
Files With Most Units (Top 50)
File# lines# units
1409 60
1018 41
943 35
709 33
dyn_redis.c
in src/proto
2891 31
1156 31
1596 29
791 29
567 29
394 29
459 28
dyn_memcache.c
in src/proto
1193 23
225 21
370 15
778 15
dyn_redis_repair.c
in src/proto
731 14
275 14
438 13
339 12
dyn_token.c
in src/hashkit
168 11
246 10
dyn_log.c
in src
166 10
dyn_kqueue.c
in src/event
318 10
dyn_entropy_util.c
in src/entropy
336 9
dyn_epoll.c
in src/event
278 9
dyn_evport.c
in src/event
323 9
123 8
171 8
184 8
159 8
murmur3.c
in contrib/murmur3
193 7
161 7
48 7
dyn_redis_purge.py
in scripts/dynomite
110 6
245 6
dyn_florida.c
in src/seedsprovider
172 5
71 5
117 5
dyn_md5.c
in src/hashkit
210 5
104 5
fmemopen.c
in contrib
70 4
541 4
dyn_entropy_snd.c
in src/entropy
205 4
137 4
dyn_fnv.c
in src/hashkit
58 4
189 4
100 4
44 4
dyn_hash_tool.c
in src/tools
117 3
dyn_dns.c
in src/seedsprovider
110 3
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
567 29 1
Correlations

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

src/dyn_client.c x: 189 commits (all time) y: 943 lines of code src/dyn_message.h x: 237 commits (all time) y: 541 lines of code src/proto/dyn_redis.c x: 151 commits (all time) y: 2891 lines of code src/dyn_log.c x: 36 commits (all time) y: 166 lines of code src/dyn_crypto.c x: 72 commits (all time) y: 339 lines of code src/dyn_mbuf.c x: 75 commits (all time) y: 225 lines of code src/dyn_mbuf.h x: 53 commits (all time) y: 63 lines of code src/dyn_client.h x: 17 commits (all time) y: 9 lines of code src/dyn_conf.c x: 162 commits (all time) y: 1596 lines of code src/dyn_conf.h x: 128 commits (all time) y: 110 lines of code src/dyn_connection.c x: 129 commits (all time) y: 275 lines of code src/dyn_connection.h x: 89 commits (all time) y: 144 lines of code src/dyn_core.c x: 219 commits (all time) y: 459 lines of code src/dyn_core.h x: 170 commits (all time) y: 200 lines of code src/dyn_dnode_client.c x: 106 commits (all time) y: 370 lines of code src/dyn_dnode_msg.c x: 171 commits (all time) y: 778 lines of code src/dyn_dnode_msg.h x: 37 commits (all time) y: 75 lines of code src/dyn_dnode_peer.c x: 303 commits (all time) y: 1018 lines of code src/dyn_gossip.c x: 155 commits (all time) y: 791 lines of code src/dyn_message.c x: 287 commits (all time) y: 1156 lines of code src/dyn_response_mgr.c x: 56 commits (all time) y: 246 lines of code src/dyn_response_mgr.h x: 24 commits (all time) y: 32 lines of code src/dyn_server.c x: 192 commits (all time) y: 709 lines of code src/dyn_stats.c x: 179 commits (all time) y: 1409 lines of code src/dyn_stats.h x: 143 commits (all time) y: 385 lines of code src/dyn_task.c x: 16 commits (all time) y: 71 lines of code src/dyn_util.c x: 36 commits (all time) y: 394 lines of code src/dyn_util.h x: 43 commits (all time) y: 238 lines of code src/dyn_vnode.c x: 13 commits (all time) y: 100 lines of code src/dyn_vnode.h x: 7 commits (all time) y: 5 lines of code src/dynomite.c x: 90 commits (all time) y: 438 lines of code src/entropy/dyn_entropy_util.c x: 29 commits (all time) y: 336 lines of code src/proto/dyn_memcache.c x: 61 commits (all time) y: 1193 lines of code src/proto/dyn_proto.h x: 35 commits (all time) y: 49 lines of code src/proto/dyn_proto_repair.h x: 15 commits (all time) y: 386 lines of code src/proto/dyn_redis_repair.c x: 20 commits (all time) y: 731 lines of code src/dyn_dnode_request.c x: 155 commits (all time) y: 189 lines of code src/dyn_types.h x: 42 commits (all time) y: 119 lines of code src/dyn_node_snitch.c x: 20 commits (all time) y: 99 lines of code src/dyn_queue.h x: 13 commits (all time) y: 559 lines of code src/dyn_array.c x: 17 commits (all time) y: 123 lines of code src/dyn_array.h x: 14 commits (all time) y: 44 lines of code src/dyn_cbuf.h x: 7 commits (all time) y: 24 lines of code src/dyn_connection_internal.c x: 26 commits (all time) y: 161 lines of code src/dyn_connection_pool.c x: 24 commits (all time) y: 184 lines of code src/dyn_connection_pool.h x: 13 commits (all time) y: 15 lines of code src/dyn_crypto.h x: 39 commits (all time) y: 37 lines of code src/dyn_dict.c x: 26 commits (all time) y: 567 lines of code src/dyn_dict.h x: 11 commits (all time) y: 119 lines of code src/dyn_dict_msg_id.c x: 11 commits (all time) y: 20 lines of code src/dyn_dnode_client.h x: 14 commits (all time) y: 5 lines of code src/dyn_dnode_peer.h x: 72 commits (all time) y: 31 lines of code src/dyn_dnode_proxy.c x: 44 commits (all time) y: 171 lines of code src/dyn_dnode_proxy.h x: 10 commits (all time) y: 9 lines of code src/dyn_gossip.h x: 60 commits (all time) y: 57 lines of code src/dyn_histogram.c x: 18 commits (all time) y: 117 lines of code src/dyn_histogram.h x: 10 commits (all time) y: 21 lines of code src/dyn_log.h x: 19 commits (all time) y: 86 lines of code src/dyn_proxy.c x: 49 commits (all time) y: 159 lines of code src/dyn_proxy.h x: 15 commits (all time) y: 9 lines of code src/dyn_rbtree.c x: 11 commits (all time) y: 245 lines of code src/dyn_rbtree.h x: 9 commits (all time) y: 27 lines of code src/dyn_request.c x: 196 commits (all time) y: 137 lines of code src/dyn_response.c x: 128 commits (all time) y: 131 lines of code src/dyn_ring_queue.c x: 38 commits (all time) y: 104 lines of code src/dyn_ring_queue.h x: 27 commits (all time) y: 36 lines of code src/dyn_server.h x: 54 commits (all time) y: 28 lines of code src/dyn_setting.c x: 9 commits (all time) y: 7 lines of code src/dyn_signal.c x: 13 commits (all time) y: 83 lines of code src/dyn_signal.h x: 16 commits (all time) y: 13 lines of code src/dyn_string.c x: 21 commits (all time) y: 48 lines of code src/dyn_string.h x: 19 commits (all time) y: 71 lines of code src/dyn_task.h x: 12 commits (all time) y: 13 lines of code src/dyn_types.c x: 12 commits (all time) y: 31 lines of code src/entropy/dyn_entropy.h x: 25 commits (all time) y: 37 lines of code src/entropy/dyn_entropy_rcv.c x: 11 commits (all time) y: 134 lines of code src/entropy/dyn_entropy_snd.c x: 13 commits (all time) y: 205 lines of code src/event/dyn_epoll.c x: 25 commits (all time) y: 278 lines of code src/event/dyn_event.h x: 16 commits (all time) y: 54 lines of code src/event/dyn_evport.c x: 12 commits (all time) y: 323 lines of code src/event/dyn_kqueue.c x: 15 commits (all time) y: 318 lines of code src/hashkit/dyn_crc16.c x: 7 commits (all time) y: 44 lines of code src/hashkit/dyn_crc32.c x: 14 commits (all time) y: 85 lines of code src/hashkit/dyn_fnv.c x: 7 commits (all time) y: 58 lines of code src/hashkit/dyn_hashkit.h x: 26 commits (all time) y: 30 lines of code src/hashkit/dyn_hsieh.c x: 7 commits (all time) y: 56 lines of code src/hashkit/dyn_jenkins.c x: 10 commits (all time) y: 233 lines of code src/hashkit/dyn_ketama.c x: 8 commits (all time) y: 32 lines of code src/hashkit/dyn_md5.c x: 10 commits (all time) y: 210 lines of code src/hashkit/dyn_modula.c x: 5 commits (all time) y: 18 lines of code src/hashkit/dyn_one_at_a_time.c x: 7 commits (all time) y: 19 lines of code src/hashkit/dyn_token.h x: 28 commits (all time) y: 21 lines of code src/seedsprovider/dyn_dns.c x: 14 commits (all time) y: 110 lines of code src/seedsprovider/dyn_florida.c x: 63 commits (all time) y: 172 lines of code src/seedsprovider/dyn_seeds_provider.h x: 20 commits (all time) y: 8 lines of code src/tools/dyn_hash_tool.c x: 13 commits (all time) y: 117 lines of code src/dyn_node_snitch.h x: 8 commits (all time) y: 9 lines of code scripts/dynomite/dyn_redis_purge.py x: 9 commits (all time) y: 110 lines of code scripts/dynomite/generate_yamls.py x: 17 commits (all time) y: 46 lines of code scripts/redis/redis-check.py x: 8 commits (all time) y: 15 lines of code conf/redis_rack1_node.yml x: 15 commits (all time) y: 17 lines of code conf/redis_rack2_node.yml x: 21 commits (all time) y: 17 lines of code conf/node1.yml x: 2 commits (all time) y: 14 lines of code conf/redis_single.yml x: 12 commits (all time) y: 9 lines of code conf/dynomite.yml x: 53 commits (all time) y: 9 lines of code conf/mc_single.yml x: 6 commits (all time) y: 8 lines of code conf/redis_node1.yml x: 9 commits (all time) y: 14 lines of code src/dyn_dict_msg_id.h x: 4 commits (all time) y: 2 lines of code contrib/fmemopen.c x: 6 commits (all time) y: 70 lines of code scripts/Florida/florida.js x: 11 commits (all time) y: 28 lines of code contrib/murmur3/murmur3.c x: 3 commits (all time) y: 193 lines of code contrib/murmur3/murmur3.h x: 3 commits (all time) y: 7 lines of code
2891.0
lines of code
  min: 2.0
  average: 205.48
  25th percentile: 17.0
  median: 70.5
  75th percentile: 208.75
  max: 2891.0
0 303.0
commits (all time)
min: 2.0 | average: 44.84 | 25th percentile: 10.0 | median: 16.0 | 75th percentile: 47.75 | max: 303.0

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

src/dyn_client.c x: 13 contributors (all time) y: 943 lines of code src/dyn_message.h x: 15 contributors (all time) y: 541 lines of code src/proto/dyn_redis.c x: 16 contributors (all time) y: 2891 lines of code src/dyn_log.c x: 8 contributors (all time) y: 166 lines of code src/dyn_crypto.c x: 11 contributors (all time) y: 339 lines of code src/dyn_mbuf.c x: 8 contributors (all time) y: 225 lines of code src/dyn_mbuf.h x: 6 contributors (all time) y: 63 lines of code src/dyn_client.h x: 6 contributors (all time) y: 9 lines of code src/dyn_conf.c x: 11 contributors (all time) y: 1596 lines of code src/dyn_conf.h x: 10 contributors (all time) y: 110 lines of code src/dyn_connection.c x: 9 contributors (all time) y: 275 lines of code src/dyn_connection.h x: 7 contributors (all time) y: 144 lines of code src/dyn_core.c x: 8 contributors (all time) y: 459 lines of code src/dyn_core.h x: 8 contributors (all time) y: 200 lines of code src/dyn_dnode_client.c x: 9 contributors (all time) y: 370 lines of code src/dyn_dnode_msg.c x: 11 contributors (all time) y: 778 lines of code src/dyn_dnode_msg.h x: 6 contributors (all time) y: 75 lines of code src/dyn_dnode_peer.c x: 14 contributors (all time) y: 1018 lines of code src/dyn_gossip.c x: 11 contributors (all time) y: 791 lines of code src/dyn_message.c x: 14 contributors (all time) y: 1156 lines of code src/dyn_response_mgr.c x: 10 contributors (all time) y: 246 lines of code src/dyn_response_mgr.h x: 5 contributors (all time) y: 32 lines of code src/dyn_server.c x: 9 contributors (all time) y: 709 lines of code src/dyn_stats.c x: 13 contributors (all time) y: 1409 lines of code src/dyn_stats.h x: 7 contributors (all time) y: 385 lines of code src/dyn_task.c x: 5 contributors (all time) y: 71 lines of code src/dyn_util.c x: 7 contributors (all time) y: 394 lines of code src/dyn_util.h x: 7 contributors (all time) y: 238 lines of code src/dyn_vnode.c x: 5 contributors (all time) y: 100 lines of code src/dyn_vnode.h x: 4 contributors (all time) y: 5 lines of code src/dynomite.c x: 11 contributors (all time) y: 438 lines of code src/entropy/dyn_entropy_util.c x: 6 contributors (all time) y: 336 lines of code src/proto/dyn_memcache.c x: 9 contributors (all time) y: 1193 lines of code src/proto/dyn_proto.h x: 7 contributors (all time) y: 49 lines of code src/proto/dyn_proto_repair.h x: 3 contributors (all time) y: 386 lines of code src/proto/dyn_redis_repair.c x: 3 contributors (all time) y: 731 lines of code src/dyn_dnode_request.c x: 9 contributors (all time) y: 189 lines of code src/dyn_types.h x: 7 contributors (all time) y: 119 lines of code src/dyn_node_snitch.c x: 8 contributors (all time) y: 99 lines of code src/dyn_queue.h x: 5 contributors (all time) y: 559 lines of code src/dyn_array.c x: 6 contributors (all time) y: 123 lines of code src/dyn_array.h x: 6 contributors (all time) y: 44 lines of code src/dyn_asciilogo.h x: 5 contributors (all time) y: 9 lines of code src/dyn_connection_internal.c x: 7 contributors (all time) y: 161 lines of code src/dyn_connection_pool.c x: 6 contributors (all time) y: 184 lines of code src/dyn_connection_pool.h x: 5 contributors (all time) y: 15 lines of code src/dyn_crypto.h x: 7 contributors (all time) y: 37 lines of code src/dyn_dict.c x: 7 contributors (all time) y: 567 lines of code src/dyn_dict_msg_id.c x: 6 contributors (all time) y: 20 lines of code src/dyn_dnode_peer.h x: 7 contributors (all time) y: 31 lines of code src/dyn_dnode_proxy.c x: 7 contributors (all time) y: 171 lines of code src/dyn_gossip.h x: 8 contributors (all time) y: 57 lines of code src/dyn_histogram.h x: 4 contributors (all time) y: 21 lines of code src/dyn_log.h x: 7 contributors (all time) y: 86 lines of code src/dyn_proxy.c x: 8 contributors (all time) y: 159 lines of code src/dyn_rbtree.c x: 6 contributors (all time) y: 245 lines of code src/dyn_rbtree.h x: 6 contributors (all time) y: 27 lines of code src/dyn_request.c x: 9 contributors (all time) y: 137 lines of code src/dyn_response.c x: 9 contributors (all time) y: 131 lines of code src/dyn_ring_queue.c x: 7 contributors (all time) y: 104 lines of code src/dyn_server.h x: 9 contributors (all time) y: 28 lines of code src/dyn_setting.c x: 3 contributors (all time) y: 7 lines of code src/dyn_signal.c x: 6 contributors (all time) y: 83 lines of code src/dyn_string.c x: 9 contributors (all time) y: 48 lines of code src/dyn_string.h x: 8 contributors (all time) y: 71 lines of code src/entropy/dyn_entropy_rcv.c x: 4 contributors (all time) y: 134 lines of code src/entropy/dyn_entropy_snd.c x: 4 contributors (all time) y: 205 lines of code src/event/dyn_epoll.c x: 7 contributors (all time) y: 278 lines of code src/event/dyn_event.h x: 6 contributors (all time) y: 54 lines of code src/event/dyn_evport.c x: 5 contributors (all time) y: 323 lines of code src/event/dyn_kqueue.c x: 7 contributors (all time) y: 318 lines of code src/hashkit/dyn_crc16.c x: 5 contributors (all time) y: 44 lines of code src/hashkit/dyn_fnv.c x: 5 contributors (all time) y: 58 lines of code src/hashkit/dyn_hsieh.c x: 5 contributors (all time) y: 56 lines of code src/hashkit/dyn_md5.c x: 6 contributors (all time) y: 210 lines of code src/hashkit/dyn_modula.c x: 3 contributors (all time) y: 18 lines of code src/hashkit/dyn_token.h x: 7 contributors (all time) y: 21 lines of code src/seedsprovider/dyn_florida.c x: 9 contributors (all time) y: 172 lines of code scripts/dynomite/dyn_redis_purge.py x: 6 contributors (all time) y: 110 lines of code scripts/dynomite/generate_yamls.py x: 8 contributors (all time) y: 46 lines of code conf/node1.yml x: 2 contributors (all time) y: 14 lines of code contrib/fmemopen.c x: 3 contributors (all time) y: 70 lines of code contrib/murmur3/murmur3.c x: 2 contributors (all time) y: 193 lines of code contrib/murmur3/murmur3.h x: 2 contributors (all time) y: 7 lines of code
2891.0
lines of code
  min: 2.0
  average: 205.48
  25th percentile: 17.0
  median: 70.5
  75th percentile: 208.75
  max: 2891.0
0 16.0
contributors (all time)
min: 2.0 | average: 6.46 | 25th percentile: 5.0 | median: 6.0 | 75th percentile: 8.0 | max: 16.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...