Subroutine Coverage
blib/lib/AnyEvent/BitTorrent.pm |
|
Criterion |
Covered |
Total |
% |
subroutine |
45 |
99 |
45.4
|
pod |
10 |
13 |
76.9
|
line |
count |
pod |
subroutine |
2
|
4 |
n/a |
BEGIN |
3
|
4 |
n/a |
BEGIN |
4
|
4 |
n/a |
BEGIN |
5
|
4 |
n/a |
BEGIN |
6
|
4 |
n/a |
BEGIN |
7
|
4 |
n/a |
BEGIN |
8
|
4 |
n/a |
BEGIN |
9
|
4 |
n/a |
BEGIN |
10
|
4 |
n/a |
BEGIN |
11
|
4 |
n/a |
BEGIN |
12
|
4 |
n/a |
BEGIN |
13
|
4 |
n/a |
BEGIN |
14
|
4 |
n/a |
BEGIN |
62
|
4 |
n/a |
_build_socket |
64
|
0 |
n/a |
__ANON__ |
88
|
4 |
n/a |
__ANON__ |
103
|
4 |
n/a |
_build_reserved |
126
|
4 |
n/a |
_build_peerid |
140
|
4 |
n/a |
_build_bitfield |
143
|
4 |
Yes |
wanted |
156
|
0 |
Yes |
complete |
161
|
0 |
Yes |
seed |
166
|
4 |
n/a |
_left |
181
|
3 |
n/a |
_build_infohash |
191
|
4 |
n/a |
_build_metadata |
198
|
0 |
n/a |
__ANON__ |
203
|
5 |
Yes |
name |
204
|
6312 |
Yes |
pieces |
205
|
25271 |
Yes |
piece_length |
208
|
12635 |
No |
piece_count |
233
|
4 |
n/a |
_build_files |
268
|
4 |
n/a |
_build_size |
276
|
3 |
n/a |
_open |
295
|
0 |
n/a |
__ANON__ |
314
|
0 |
n/a |
__ANON__ |
323
|
0 |
n/a |
_cache_path |
333
|
0 |
n/a |
_write_cache |
356
|
6312 |
n/a |
_read_cache |
375
|
6312 |
n/a |
_read |
423
|
0 |
n/a |
__ANON__ |
438
|
0 |
n/a |
_write |
487
|
0 |
n/a |
__ANON__ |
497
|
3 |
Yes |
hashcheck |
500
|
0 |
n/a |
__ANON__ |
520
|
0 |
n/a |
__ANON__ |
536
|
4 |
n/a |
_build_peers |
539
|
0 |
n/a |
_add_peer |
550
|
0 |
n/a |
__ANON__ |
554
|
0 |
n/a |
__ANON__ |
570
|
0 |
n/a |
_del_peer |
588
|
4 |
n/a |
_build_trackers |
590
|
8 |
n/a |
__ANON__ |
610
|
0 |
n/a |
__ANON__ |
623
|
0 |
n/a |
__ANON__ |
629
|
0 |
n/a |
__ANON__ |
636
|
3 |
No |
announce |
644
|
4 |
n/a |
_announce_tier |
652
|
4 |
n/a |
__ANON__ |
666
|
0 |
n/a |
__ANON__ |
796
|
4 |
n/a |
_build_peer_timer |
800
|
0 |
n/a |
__ANON__ |
823
|
0 |
n/a |
_new_peer |
828
|
0 |
n/a |
__ANON__ |
830
|
0 |
n/a |
__ANON__ |
839
|
0 |
n/a |
__ANON__ |
850
|
0 |
n/a |
__ANON__ |
858
|
0 |
n/a |
__ANON__ |
863
|
0 |
n/a |
__ANON__ |
870
|
0 |
n/a |
_on_read_incoming |
877
|
0 |
n/a |
__ANON__ |
893
|
0 |
n/a |
__ANON__ |
895
|
0 |
n/a |
__ANON__ |
903
|
0 |
n/a |
_on_read |
907
|
0 |
n/a |
__ANON__ |
926
|
0 |
n/a |
__ANON__ |
952
|
0 |
n/a |
__ANON__ |
959
|
0 |
n/a |
__ANON__ |
967
|
0 |
n/a |
__ANON__ |
976
|
0 |
n/a |
__ANON__ |
1013
|
0 |
n/a |
__ANON__ |
1061
|
0 |
n/a |
__ANON__ |
1066
|
0 |
n/a |
__ANON__ |
1085
|
0 |
n/a |
__ANON__ |
1100
|
0 |
n/a |
_send_bitfield |
1115
|
0 |
n/a |
_broadcast |
1116
|
0 |
n/a |
__ANON__ |
1122
|
0 |
n/a |
_consider_peer |
1151
|
4 |
n/a |
_file_to_range |
1163
|
0 |
n/a |
_request_pieces |
1224
|
0 |
n/a |
__ANON__ |
1258
|
9 |
n/a |
_trigger_hash_pass |
1267
|
6303 |
n/a |
_trigger_hash_fail |
1276
|
7 |
Yes |
stop |
1292
|
4 |
Yes |
start |
1303
|
0 |
Yes |
pause |
1313
|
4 |
No |
BUILD |
1323
|
0 |
n/a |
_send_encrypted |
1326
|
0 |
n/a |
__ANON__ |
1333
|
0 |
n/a |
_send_handshake |