Branch Coverage

blib/lib/WWW/Opentracker/Stats/Mode/Top10.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
68 1 6 if ($line =~ /^Top .* peers/)
73 1 5 if ($line =~ /^Top .* seeds/)
78 0 5 unless $current
80 0 5 unless my($count, $infohash) = $line =~ /\A \s+ (\d+) \s+ ([A-Fa-f0-9]{40}) /msx
91 2 3 if 'peers' eq $current
92 3 2 if 'seeds' eq $current