Condition Coverage

lib/Perl/PrereqScanner/NotQuiteLite/App.pm
Criterion Covered Total %
condition 38 80 47.5


and 3 conditions

line !l l&&!r l&&r condition
42 31 0 12 $opts{'features'} and ref $opts{'features'} ne "HASH"
64 41 0 2 $opts{'ignore'} and ref $opts{'ignore'} eq "ARRAY"
74 42 0 1 $opts{'private'} and ref $opts{'private'} eq "ARRAY"
83 41 0 2 $opts{'optional'} and ref $opts{'optional'} eq "ARRAY"
121 43 0 0 $self->{'blib'} and -d "File::Spec"->catdir($self->{'base_dir'}, "blib")
266 148 8 3 $private_re and $module =~ /$private_re/
300 8 0 22 Module::CoreList::is_core($module, undef, $perl_version) and not Module::CoreList::deprecated_in($module, undef, $perl_version)
453 0 0 0 $self->{'develop'} and $relpath =~ /^(?:author)\b/
467 66 3 3 $self->{'optional_re'} && $file =~ /\b$self->{'optional_re'}\b/

or 2 conditions

line l !l condition
201 0 0 $hash->{$module} || 0
280 2 5 $self->{'perl_version'} || $self->_find_used_perl_version || '5.008001'
282 0 1 $2 || 0
427 0 0 $depth || 0

or 3 conditions

line l !l&&r !l&&!r condition
38 43 0 0 $opts{'base_dir'} ||= "File::Spec"->curdir
71 0 2 0 $opts{'ignore_re'} ||= $re->_regexp
80 0 1 0 $opts{'private_re'} ||= $re->_regexp
90 0 2 0 $opts{'optional_re'} ||= $re->_regexp
104 0 2 0 $opts{'libs'} ||= delete $opts{'scan_also'}
163 0 15 28 $self->{'print'} or $self->{'cpanfile'}
210 0 56 0 $prereqs ||= $self->{'prereqs'}
266 5 3 156 $self->{'possible_modules'}{$module} or $private_re and $module =~ /$private_re/
336 3 0 0 $self->{'recommends'} or $self->{'suggests'}
346 2 0 0 $self->{'recommends'} or $self->{'suggests'}
369 0 0 0 $self->{'uri_cache'}{$module} ||= $self->__get_uri($module)
453 42 0 0 $relpath =~ /\.(?:pl|PL|pm|cgi|psgi|t)$/ or dirname($relpath) =~ /\b(?:bin|scripts?)$/
42 0 0 $relpath =~ /\.(?:pl|PL|pm|cgi|psgi|t)$/ or dirname($relpath) =~ /\b(?:bin|scripts?)$/ or $self->{'develop'} and $relpath =~ /^(?:author)\b/
485 1 11 0 $feature->{'prereqs'} ||= "CPAN::Meta::Prereqs"->new
525 65 0 0 $self->{'suggests'} or $self->{'recommends'}