Condition Coverage

lib/Parse/LocalDistribution.pm
Criterion Covered Total %
condition 18 70 25.7


and 3 conditions

line !l l&&!r l&&r condition
16 0 0 20 ref $root eq ref {} and not $opts
62 12 4 4 $json and $yaml
16 4 0 $json and $yaml and length $json > length($yaml) + 1
103 0 0 0 $provides and 'HASH' eq ref $provides
107 0 0 20 not $indexing_method and @$pmfiles
193 0 0 0 $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/
0 0 0 $package =~ /:/ and not $package =~ /::/
207 0 0 0 $self->{'USERID'} and $self->{'PERMISSIONS'}
0 0 0 $self->{'USERID'} and $self->{'PERMISSIONS'} and not $self->_perm_check($package)
324 16 8 4 $skip and &$skip($rel)
378 0 4 0 defined $filename and $filename

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
26 20 0 0 $root ||= Cwd::cwd()
66 8 0 12 $json or $yaml
72 8 0 0 $json or $yaml
137 15 0 0 not defined $result{$package} or $info->{$package}{'simile'}
160 0 0 0 not defined $v->{'file'} or $v->{'file'} eq ''
193 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 =~ /:::/
220 0 0 0 not defined $_ or /^\s*$/
0 0 0 not defined $_ or /^\s*$/ or /\s/
255 8 0 0 $self->{'META_CONTENT'}{'no_index'} || $self->{'META_CONTENT'}{'private'}