Condition Coverage

blib/lib/CPAN/Site/Index.pm
Criterion Covered Total %
condition 31 56 55.3


and 3 conditions

line !l l&&!r l&&r condition
106 1 0 0 $lazy and -f $details
159 31 0 0 defined $registered_version and $registered_version > $this_version
188 4 4 0 -f $fn and $fn =~ /$tar_gz/xi || $fn =~ /$zip/
192 4 0 0 defined $index_age and -M $fn > $index_age
227 19 22 23 $file->is_file and $fn =~ /\.pm$/i
41 2 21 $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 19 3271 123 @lines and /package|use|VERSION/
3290 119 4 @lines and /package|use|VERSION/ and not /[;{]/
291 866 2533 10 not $VERSION and /^ (?:use\s+version\s*;\s*)? (?:our)? \s* \$ ((?: \w+\:\:)*) VERSION \s* \= (.*)/x
320 1 0 0 -f $globdetails and -f $globdetails
1 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 11 21 0 $version eq "undef" and not $undefs

or 2 conditions

line l !l condition
81 1 0 $VERSION ||= "undef"

or 3 conditions

line l !l&&r !l&&!r condition
188 4 0 0 $fn =~ /$tar_gz/xi || $fn =~ /$zip/
265 1078 163 3409 $in_pod or /^\s*#/
388 21 0 11 not defined $version or $version eq ""
492 0 0 0 $ua ||= "LWP::UserAgent"->new