Condition Coverage

lib/Parse/LocalDistribution.pm
Criterion Covered Total %
condition 18 67 26.8


and 3 conditions

line !l l&&!r l&&r condition
16 10 0 24 ref $root eq ref {} and not $opts
68 26 4 4 $json and $yaml
30 4 0 $json and $yaml and length $json > length($yaml) + 1
109 0 0 0 $provides and 'HASH' eq ref $provides
113 0 0 34 not $indexing_method and @$pmfiles
199 0 0 0 $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/
0 0 0 $package =~ /:/ and not $package =~ /::/
213 0 0 0 $self->{'USERID'} and $self->{'PERMISSIONS'}
0 0 0 $self->{'USERID'} and $self->{'PERMISSIONS'} and not $self->_perm_check($package)
330 30 8 4 $skip and &$skip($rel)
384 0 4 0 defined $filename and $filename

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
72 8 0 26 $json or $yaml
78 8 0 0 $json or $yaml
143 27 0 0 not defined $result{$package} or $info->{$package}{'simile'}
166 0 0 0 not defined $v->{'file'} or $v->{'file'} eq ''
199 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 =~ /:::/
226 0 0 0 not defined $_ or /^\s*$/
0 0 0 not defined $_ or /^\s*$/ or /\s/
261 8 0 0 $self->{'META_CONTENT'}{'no_index'} || $self->{'META_CONTENT'}{'private'}