Condition Coverage

blib/lib/CPAN/Site/Index.pm
Criterion Covered Total %
condition 22 56 39.2


and 3 conditions

line !l l&&!r l&&r condition
106 0 0 0 $lazy and -f $details
159 28 0 0 defined $registered_version and $registered_version > $this_version
188 0 3 0 -f $fn and $fn =~ /$tar_gz/xi || $fn =~ /$zip/
192 3 0 0 defined $index_age and -M $fn > $index_age
227 16 22 22 $file->is_file and $fn =~ /\.pm$/i
38 2 20 $file->is_file and $fn =~ /\.pm$/i and &package_on_usual_location($fn)
243 0 0 0 $member->isTextFile and &package_on_usual_location($fn)
267 18 3257 115 @lines and /package|use|VERSION/
3275 113 2 @lines and /package|use|VERSION/ and not /[;{]/
291 855 2526 7 not $VERSION and /^ (?:use\s+version\s*;\s*)? (?:our)? \s* \$ ((?: \w+\:\:)*) VERSION \s* \= (.*)/x
320 0 0 0 -f $globdetails and -f $globdetails
0 0 0 -f $globdetails and -f $globdetails and -f $modlist
0 0 0 -f $globdetails and -f $globdetails and -f $modlist and -M $globdetails < $cpan_update
392 0 0 0 $version eq 'undef' and not $undefs

or 2 conditions

line l !l condition
81 0 0 $VERSION ||= 'undef'

or 3 conditions

line l !l&&r !l&&!r condition
188 3 0 0 $fn =~ /$tar_gz/xi || $fn =~ /$zip/
265 1078 157 3388 $in_pod or /^\s*#/
388 0 0 0 not defined $version or $version eq ''
491 0 0 0 $ua ||= 'LWP::UserAgent'->new