blib/lib/Module/Husbandry.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 88 | 3.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
146 | 0 | 10 | 3 | @_ && ref $_[-1] |
205 | 0 | 0 | 0 | @_ && ref $_[-1] |
270 | 0 | 0 | 0 | (stat 'Makefile')[9] >= $time and not _d_c('untouch Makefile', $options) |
303 | 0 | 0 | 0 | @_ && ref $_[-1] |
306 | 0 | 0 | 0 | -e 'MANIFEST' and not _d_c('cp MANIFEST MANIFEST.old', $options) |
339 | 0 | 0 | 0 | $$options{'clean_up_MANIFEST'} and not _d_c('rm MANIFEST.old', $options) |
345 | 0 | 0 | 0 | @_ && ref $_[-1] |
370 | 0 | 0 | 0 | @_ && ref $_[-1] |
582 | 0 | 0 | 0 | @_ && ref $_[-1] |
634 | 0 | 0 | 0 | $test_script_from and $test_script_to |
0 | 0 | 0 | $test_script_from and $test_script_to and -f $$test_script_from{'Filename'} | |
919 | 0 | 0 | 0 | @_ && ref $_[-1] |
971 | 0 | 0 | 0 | $test_script_from and $test_script_to |
0 | 0 | 0 | $test_script_from and $test_script_to and -f $$test_script_from{'Filename'} | |
1018 | 0 | 0 | 0 | $test_script_from and $p eq $$test_script_from{'Filename'} |
1106 | 0 | 0 | 0 | $from_fn ne $to_fn and not _d_c("rm $from_fn\n", $options) |
1128 | 0 | 0 | 0 | @_ && ref $_[-1] |
1176 | 0 | 0 | 0 | $doomed_test_script and -f $$doomed_test_script{'Filename'} |
1496 | 0 | 2 | 0 | defined $_ && length $_ |
line | l | !l | condition |
---|---|---|---|
61 | 0 | 0 | $$options{'_prog_name_sep'} || ':' |
105 | 0 | 0 | chdir $dir or die "$!: $dir\n" |
314 | 0 | 0 | unlink 'MANIFEST.old' or die "$!: MANIFEST.old" |
904 | 0 | 0 | $1 || 0 |
1069 | 0 | 0 | File::Copy::copy($from_fn, $bak_fn) or die "$! copying $from_fn to $bak_fn\n" |
1106 | 0 | 0 | unlink $from_fn or die "$! unlinking $from_fn" |
1283 | 0 | 0 | File::Copy::copy($from_fn, $bak_fn) or die "$! copying $from_fn to $bak_fn\n" |
1314 | 0 | 0 | $desc ||= '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
87 | 0 | 0 | 0 | -d $dir or _d_c('mkdir -p ', _rel $dir, $options) |
339 | 0 | 0 | 0 | unlink 'MANIFEST.old' or warn "$! MANIFEST.old\n" |
998 | 0 | 0 | 0 | $p eq template_dir() || $p eq _workdir() || $p eq 'blib' || $p eq 'pm_to_blib' || $p =~ /^change/ || $is_d && substr($p, 0, 1) eq '.' |
1018 | 0 | 0 | 0 | $p eq $$from{'Filename'} or $test_script_from and $p eq $$test_script_from{'Filename'} |
1204 | 0 | 0 | 0 | $p eq template_dir() || $p eq _workdir() || $p eq 'blib' || $p eq 'pm_to_blib' || $p =~ /^change/ || $is_d && substr($p, 0, 1) eq '.' |