Branch Coverage

blib/lib/Parse/Sums.pm
Criterion Covered Total %
branch 25 36 69.4


line true false branch
18 0 10 if ($len == 8) { }
7 3 elsif ($len == 32) { }
2 1 elsif ($len == 40) { }
0 1 elsif ($len == 56) { }
0 1 elsif ($len == 64) { }
0 1 elsif ($len == 96) { }
0 1 elsif ($len == 128) { }
63 0 6 unless (defined $content)
64 0 0 unless open my $fh, '<', $filename
71 4 2 if (defined $filename)
72 4 0 if ($filename =~ /(crc32|md5|sha[_-]?(?:512224|512256|224|256|384|512|1))/i)
82 10 10 unless $line =~ /\S/
84 8 2 if ($line =~ /\A([0-9A-Fa-f]+)\s+\*?(.+)$/) { }
2 0 elsif ($line =~ /\A(\w+) \((.+)\) = ([0-9A-Fa-f]+)$/) { }
97 2 5 if ($algo and not $multiple and $algo ne $line_algo)
101 5 3 if $algo
102 1 7 unless ($line_algo)
108 0 6 $num_invalid_lines > 1 ? :