Branch Coverage

blib/lib/OrePAN2/Index.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
14 0 19 @_ == 1 ? :
25 3 3 if ($fname =~ /\.gz\z/) { }
26 0 3 unless "IO::Uncompress::Gunzip"->new($fname)
37 6 42 unless /\S/
41 22 0 if (/^(\S+)\s+(\S+)\s+(.*)$/)
42 16 6 $2 eq 'undef' ? :
51 8 1 if (my $entry = $self->{'index'}{$package})
75 9 63 if ($self->{'index'}{$package})
78 0 9 if ("version"->parse($orig_ver) > "version"->parse($version))
96 4 9 $simple ? :