Condition Coverage

blib/lib/Parse/PMFile.pm
Criterion Covered Total %
condition 54 143 37.7


and 3 conditions

line !l l&&!r l&&r condition
42 187 0 8 $self->{'VERSION'} =~ /[_\s]/ and not $self->{'ALLOW_DEV_VERSION'}
187 3 5 $self->{'VERSION'} =~ /[_\s]/ and not $self->{'ALLOW_DEV_VERSION'} and not $ALLOW_DEV_VERSION
63 0 0 196 $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/
0 196 0 $package =~ /:/ and not $package =~ /::/
74 196 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 192 0 $pp->{'version'} and $pp->{'version'} =~ /^\{.*\}$/
157 193 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 117 0 defined $v and not length $v
278 117 0 78 $self->{'FORK'} || $FORK and -e $tmpfile
371 4495 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 6 0 0 defined $ppp->{$pkg}{'version'} and length $ppp->{$pkg}{'version'}
655 0 141 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 141 defined $1 and length $1 > 0

or 2 conditions

line l !l condition
162 192 4 $pp->{'version'} || 0
592 193 6 $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 196 not $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/ or $package =~ /:/ and not $package =~ /::/
0 0 196 not $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/ or $package =~ /:/ and not $package =~ /::/ or $package =~ /\w:\w/
0 0 196 not $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/ or $package =~ /:/ and not $package =~ /::/ or $package =~ /\w:\w/ or $package =~ /:::/
142 4 0 388 not defined $_ or /^\s*$/
4 0 388 not defined $_ or /^\s*$/ or /\s/
199 0 115 117 $self->{'FORK'} or $Parse::PMFile::FORK
216 0 0 154 $self->{'UNSAFE'} or $Parse::PMFile::UNSAFE
232 0 0 154 $self->{'UNSAFE'} or $Parse::PMFile::UNSAFE
248 0 0 21 $@ or not $v
265 0 37 117 $self->{'FORK'} or $Parse::PMFile::FORK
278 0 78 117 $self->{'FORK'} || $FORK
285 0 0 138 $self->{'UNSAFE'} or $UNSAFE
452 0 0 168 $version > $ppp->{$pkg}{'version'} or $version gt $ppp->{$pkg}{'version'}
486 0 0 437 $inpod or /^\s*#/
512 21 0 113 $@ or not defined $result
542 3 0 6 $self->{'META_CONTENT'}{'no_index'} || $self->{'META_CONTENT'}{'private'}
655 141 0 0 defined $2 && length $2 || defined $4 && length $4
705 0 0 797 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