Subroutine Coverage

blib/lib/Net/BitTorrent/Protocol/BEP03.pm
Criterion Covered Total %
subroutine 27 27 100.0
pod 24 24 100.0


line count pod subroutine
3 2 n/a BEGIN
4 2 n/a BEGIN
5 2 n/a BEGIN
44 9 Yes build_handshake
65 10 Yes build_keepalive
66 2 Yes build_choke
67 3 Yes build_unchoke
68 3 Yes build_interested
69 2 Yes build_not_interested
72 7 Yes build_have
83 2 Yes build_bitfield
96 13 Yes build_request
118 11 Yes build_piece
139 12 Yes build_cancel
161 6 Yes build_port
171 5 Yes parse_handshake
185 9 Yes parse_keepalive
186 1 Yes parse_choke
187 2 Yes parse_unchoke
188 2 Yes parse_interested
189 1 Yes parse_not_interested
192 9 Yes parse_have
200 6 Yes parse_bitfield
208 7 Yes parse_request
221 8 Yes parse_piece
234 6 Yes parse_cancel
247 2 Yes parse_port