Condition Coverage

blib/lib/Parse/PMFile.pm
Criterion Covered Total %
condition 52 143 36.3


and 3 conditions

line !l l&&!r l&&r condition
42 89 0 8 $self->{'VERSION'} =~ /[_\s]/ and not $self->{'ALLOW_DEV_VERSION'}
89 3 5 $self->{'VERSION'} =~ /[_\s]/ and not $self->{'ALLOW_DEV_VERSION'} and not $ALLOW_DEV_VERSION
63 0 0 92 $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/
0 92 0 $package =~ /:/ and not $package =~ /::/
74 92 0 0 $self->{'USERID'} and $self->{'PERMISSIONS'}
0 0 0 $self->{'USERID'} and $self->{'PERMISSIONS'} and not $self->_perm_check($package)
86 0 6 0 lc $module eq lc $package and $module ne $package
97 4 88 0 $pp->{'version'} and $pp->{'version'} =~ /^\{.*\}$/
157 95 0 3 wantarray && %errors
171 0 0 0 defined $module->m and $module->m eq $userid
172 0 0 0 defined $module->f and $module->f eq $userid
173 0 0 0 defined $module->c and grep {$_ eq $userid;} @{$module->c;}
246 21 0 0 $sigil eq '*' and ref $v
272 0 61 0 defined $v and not length $v
278 61 0 36 $self->{'FORK'} || $FORK and -e $tmpfile
371 4151 0 9 $pline =~ /^__(?:END|DATA)__\b/ and not $pmfile =~ /\.PL$/
423 0 0 6 $v =~ /[_\s]/ and not $self->{'ALLOW_DEV_VERSION'}
0 2 4 $v =~ /[_\s]/ and not $self->{'ALLOW_DEV_VERSION'} and not $ALLOW_DEV_VERSION
462 0 0 0 defined $ppp->{$pkg}{'version'} and length $ppp->{$pkg}{'version'}
655 0 59 0 $v =~ /^(\+?)(\d*)(\.(\d*))?/ and defined $2 && length $2 || defined $4 && length $4
691 0 0 0 $mb_v >= 0.19 and $mb_v < 0.26
0 0 0 $mb_v >= 0.19 and $mb_v < 0.26 and not keys %{$$c{'provides'};}
740 0 0 0 $] >= 5.006 and $l =~ /^v/
0 0 0 $] >= 5.006 and $l =~ /^v/ and $r =~ /^v/
809 0 0 59 defined $1 and length $1 > 0

or 2 conditions

line l !l condition
162 88 4 $pp->{'version'} || 0
592 95 0 $ret ||= 0
789 0 0 $rev ||= 0
792 0 0 $mantissa ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
63 0 0 92 not $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/ or $package =~ /:/ and not $package =~ /::/
0 0 92 not $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/ or $package =~ /:/ and not $package =~ /::/ or $package =~ /\w:\w/
0 0 92 not $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/ or $package =~ /:/ and not $package =~ /::/ or $package =~ /\w:\w/ or $package =~ /:::/
142 4 0 180 not defined $_ or /^\s*$/
4 0 180 not defined $_ or /^\s*$/ or /\s/
199 0 61 61 $self->{'FORK'} or $Parse::PMFile::FORK
216 0 0 86 $self->{'UNSAFE'} or $Parse::PMFile::UNSAFE
232 0 0 86 $self->{'UNSAFE'} or $Parse::PMFile::UNSAFE
248 0 0 21 $@ or not $v
265 0 25 61 $self->{'FORK'} or $Parse::PMFile::FORK
278 0 36 61 $self->{'FORK'} || $FORK
285 0 0 82 $self->{'UNSAFE'} or $UNSAFE
452 0 0 86 $version > $ppp->{$pkg}{'version'} or $version gt $ppp->{$pkg}{'version'}
486 0 0 257 $inpod or /^\s*#/
512 21 0 59 $@ or not defined $result
542 3 0 6 $self->{'META_CONTENT'}{'no_index'} || $self->{'META_CONTENT'}{'private'}
655 59 0 0 defined $2 && length $2 || defined $4 && length $4
705 0 0 399 ref $self && $self->{'VERBOSE'} || $VERBOSE
726 0 0 0 tr/.// > 1 or /^v/
749 0 0 0 ($l ne 'undef') <=> ($r ne 'undef') || $lvstring cmp $rvstring || $l <=> $r || $l cmp $r