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
103 0 0 0 $lazy and -f $details
156 28 0 0 defined $registered_version and $registered_version > $this_version
185 0 3 0 -f $fn and $fn =~ /$tar_gz/xi || $fn =~ /$zip/
190 3 0 0 defined $index_age and -M $fn > $index_age
225 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)
241 0 0 0 $member->isTextFile and &package_on_usual_location($fn)
265 18 3257 115 @lines and /package|use|VERSION/
3275 113 2 @lines and /package|use|VERSION/ and not /[;{]/
289 855 2526 7 not $VERSION and /^ (?:use\s+version\s*;\s*)? (?:our)? \s* \$ ((?: \w+\:\:)*) VERSION \s* \= (.*)/x
318 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
390 0 0 0 $version eq 'undef' and not $undefs

or 2 conditions

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

or 3 conditions

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