Condition Coverage

blib/lib/Module/CPANTS/Kwalitee/Files.pm
Criterion Covered Total %
condition 19 54 35.1


and 3 conditions

line !l l&&!r l&&r condition
51 43 0 0 $maniskip and &$maniskip($path)
82 19 0 0 $no_index_re and $path =~ qr/$no_index_re/
99 19 0 0 $path =~ m[/Makefile\.PL$] and not $path =~ m[(^|/)x?t/]
190 8 0 3 $meta and ref $meta eq ref {}
193 3 0 0 $no_index and ref $no_index eq ref {}
219 11 0 0 -f $maniskip_file and -r _
234 0 0 0 -f $maniskip_bak_file and not $has_maniskip_bak
276 1 7 0 $d->{'is_local_distribution'} and $d->{'file_mymeta_yml'}
291 1 10 0 $d->{'is_local_distribution'} and $d->{'file_mymeta_json'}
367 0 11 0 not $d->{'file_test_pl'} and $d->{'dir_t'}

or 2 conditions

line l !l condition
59 0 24 $dirs{$path} ||= {}
68 19 0 $stat->size || 0
173 0 22 $me->d->{"file_$type"} || ''

or 3 conditions

line l !l&&r !l&&!r condition
192 0 0 3 $meta->{'no_index'} || $meta->{'private'}
230 0 0 0 $@ or $maniskip_warning
231 0 0 0 $@ || $maniskip_warning
306 0 0 11 $d->{'file_makefile_pl'} or $d->{'file_build_pl'}
351 0 0 11 $d->{'file_test_pl'} or $d->{'dir_t'}
383 0 0 11 $d->{'stdin_in_makefile_pl'} or $d->{'stdin_in_build_pl'}