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 259 0 8 $self->{'VERSION'} =~ /[_\s]/ and not $self->{'ALLOW_DEV_VERSION'}
259 3 5 $self->{'VERSION'} =~ /[_\s]/ and not $self->{'ALLOW_DEV_VERSION'} and not $ALLOW_DEV_VERSION
63 0 0 268 $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/
0 268 0 $package =~ /:/ and not $package =~ /::/
74 268 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 264 0 $pp->{'version'} and $pp->{'version'} =~ /^\{.*\}$/
157 265 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 155 0 defined $v and not length $v
278 155 0 112 $self->{'FORK'} || $FORK and -e $tmpfile
375 4879 0 9 $pline =~ /^__(?:END|DATA)__\b/ and not $pmfile =~ /\.PL$/
453 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
492 6 0 0 defined $ppp->{$pkg}{'version'} and length $ppp->{$pkg}{'version'}
702 0 157 0 $v =~ /^(\+?)(\d*)(\.(\d*))?/ and defined $2 && length $2 || defined $4 && length $4
738 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"};}
787 0 0 0 $] >= "5.006" and $l =~ /^v/
0 0 0 $] >= "5.006" and $l =~ /^v/ and $r =~ /^v/
856 0 0 157 defined $1 and length $1 > 0

or 2 conditions

line l !l condition
162 264 4 $pp->{'version'} || 0
639 265 6 $ret ||= 0
836 0 0 $rev ||= 0
839 0 0 $mantissa ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
63 0 0 268 not $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/ or $package =~ /:/ and not $package =~ /::/
0 0 268 not $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/ or $package =~ /:/ and not $package =~ /::/ or $package =~ /\w:\w/
0 0 268 not $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/ or $package =~ /:/ and not $package =~ /::/ or $package =~ /\w:\w/ or $package =~ /:::/
142 4 0 532 not defined $_ or /^\s*$/
4 0 532 not defined $_ or /^\s*$/ or /\s/
199 0 153 155 $self->{'FORK'} or $Parse::PMFile::FORK
216 0 0 196 $self->{'UNSAFE'} or $Parse::PMFile::UNSAFE
232 0 0 196 $self->{'UNSAFE'} or $Parse::PMFile::UNSAFE
248 0 0 21 $@ or not $v
265 0 41 155 $self->{'FORK'} or $Parse::PMFile::FORK
278 0 112 155 $self->{'FORK'} || $FORK
285 0 0 176 $self->{'UNSAFE'} or $UNSAFE
482 0 0 184 $version > $ppp->{$pkg}{'version'} or $version gt $ppp->{$pkg}{'version'}
518 0 0 559 $inpod or /^\s*#/
559 21 0 113 $@ or not defined $result
589 3 0 6 $self->{'META_CONTENT'}{'no_index'} || $self->{'META_CONTENT'}{'private'}
702 157 0 0 defined $2 && length $2 || defined $4 && length $4
752 0 0 1085 ref $self && $self->{'VERBOSE'} || $VERBOSE
773 0 0 0 tr/.// > 1 or /^v/
796 0 0 0 ($l ne 'undef') <=> ($r ne 'undef') || $lvstring cmp $rvstring || $l <=> $r || $l cmp $r