Branch Coverage

lib/Net/BitTorrent/Protocol/BEP53.pm
Criterion Covered Total %
branch 6 14 42.8


line true false branch
17 0 13 unless $uri =~ /^magnet:\?/u
22 0 19 unless defined $key and defined $val
28 12 3 if ($xt =~ /^urn:btih:([a-fA-F0-9]{40})$/u) { }
0 3 elsif ($xt =~ /^urn:btih:([a-zA-Z2-7]{32})$/u) { }
3 0 elsif ($xt =~ /^urn:btmh:1220([a-fA-F0-9]{64})$/u) { }
60 0 0 unless exists $map{$char}
63 0 0 if ($bits >= 8)