Condition Coverage

lib/Parse/LocalDistribution.pm
Criterion Covered Total %
condition 17 67 25.3


and 3 conditions

line !l l&&!r l&&r condition
16 0 0 20 ref $root eq ref {} and not $opts
70 12 4 4 $json and $yaml
16 4 0 $json and $yaml and length $json > length($yaml) + 1
111 0 0 0 $provides and "HASH" eq ref $provides
115 0 0 20 not $indexing_method and @$pmfiles
201 0 0 0 $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/
0 0 0 $package =~ /:/ and not $package =~ /::/
215 0 0 0 $self->{'USERID'} and $self->{'PERMISSIONS'}
0 0 0 $self->{'USERID'} and $self->{'PERMISSIONS'} and not $self->_perm_check($package)
333 16 8 4 $skip and &$skip($rel)
387 0 0 4 defined $filename and $filename

or 2 conditions

line l !l condition
19 20 0 $opts ||= {}
239 0 0 $pp->{'version'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
74 8 0 12 $json or $yaml
80 8 0 0 $json or $yaml
145 15 0 0 not defined $result{$package} or $info->{$package}{'simile'}
168 0 0 0 not defined $v->{'file'} or $v->{'file'} eq ""
201 0 0 0 not $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/ or $package =~ /:/ and not $package =~ /::/
0 0 0 not $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/ or $package =~ /:/ and not $package =~ /::/ or $package =~ /\w:\w/
0 0 0 not $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/ or $package =~ /:/ and not $package =~ /::/ or $package =~ /\w:\w/ or $package =~ /:::/
228 0 0 0 not defined $_ or /^\s*$/
0 0 0 not defined $_ or /^\s*$/ or /\s/
264 8 0 0 $self->{'META_CONTENT'}{'no_index'} || $self->{'META_CONTENT'}{'private'}