Subroutine Coverage

blib/lib/Net/BitTorrent.pm
Criterion Covered Total %
subroutine 61 67 91.0
pod 8 8 100.0


line count pod subroutine
4 11 n/a BEGIN
5 11 n/a BEGIN
6 11 n/a BEGIN
7 11 n/a BEGIN
8 11 n/a BEGIN
10 11 n/a BEGIN
11 11 n/a BEGIN
12 11 n/a BEGIN
13 11 n/a BEGIN
14 0 n/a _EWOULDBLOCK
15 0 n/a _EINPROGRESS
16 11 n/a BEGIN
17 11 n/a BEGIN
18 11 n/a BEGIN
19 11 n/a BEGIN
20 11 n/a BEGIN
21 11 n/a BEGIN
22 11 n/a BEGIN
38 6 n/a _MSE_DISABLED
39 53 n/a _MSE_ENABLED
40 0 n/a _MSE_FORCED
43 47 Yes new
97 8 n/a _tcp
98 280 n/a _udp
99 929 n/a _connections
100 2 n/a _max_ul_rate
101 2 n/a _max_dl_rate
102 290 n/a _peers_per_torrent
103 134 n/a _half_open
106 173 n/a _connections_per_host
108 235 n/a _dht
111 1512 n/a _use_dht
116 44 n/a _tcp_port
124 3 n/a _tcp_host
132 25 n/a _udp_port
140 3 n/a _udp_host
148 134 n/a _encryption_mode
154 6 n/a _set_encryption_mode
168 1 n/a _set_max_ul_rate
178 1 n/a _set_max_dl_rate
188 0 n/a _set_peers_per_torrent
198 0 n/a _set_half_open
208 6 n/a _set_connections_per_host
218 15 n/a _set_use_dht
228 240 Yes peerid
229 67 Yes torrents
233 1383 Yes do_one_loop
257 851 n/a _reset_bandwidth
271 2403 n/a _add_connection
295 98 n/a _remove_connection
311 55 n/a _socket_open_tcp
375 50 n/a _socket_open_udp
440 812 n/a _process_connections
557 76 n/a _locate_torrent
568 31 Yes add_torrent
582 2 Yes remove_torrent
599 32 Yes on_event
607 2118 n/a _event
619 2150 n/a ___check_event
637 2968 n/a _schedule
667 1 n/a _cancel
682 1383 n/a _process_schedule
696 2966 n/a _generate_token_id
714 157 n/a _build_reserved
722 8 Yes as_string
751 0 n/a CLONE
765 6 n/a DESTROY