Branch Coverage

blib/lib/CPANPLUS/Dist/Gentoo/Maps.pm
Criterion Covered Total %
branch 11 24 45.8


line true false branch
74 1 5 unless $licenses{lc $_}
285 0 21 unless defined $v
288 10 11 if defined $n
289 11 10 unless defined $handler
303 0 7 unless defined $v and $v =~ /^[0-9\.]+$/
306 2 5 if (my($version, $subversion) = $v =~ /^([0-9]+)\.(0[^\.]+)$/) { }
308 2 0 if (my $pad = $len % 3)
331 0 0 unless eval { do { require POSIX::strptime } }
335 0 0 unless -e $file
338 0 0 unless open my $fh, '<', $file
345 0 0 if ($timestamp =~ s/\s+([+-])([0-9]{2})([0-9]{2})$//)
347 0 0 if $1 eq '-'