Branch Coverage

blib/lib/App/PTP.pm
Criterion Covered Total %
branch 20 30 66.6


line true false branch
33 125 25 if (ref $f) { }
0 25 elsif (not -e $f) { }
1 24 elsif (-d _) { }
35 0 125 if ($options->{'in_place'})
42 0 1 unless ($options->{'recursive'})
47 1 0 if (defined $options->{'input_filter'})
49 0 1 if $@
55 9 2 if (-f _)
57 9 0 if (defined $filter)
59 7 2 if warn_or_die_if_needed('Perl code failed while filtering input') or not $r
78 4 130 if ($options->{'merge'}) { }
79 4 0 if $options->{'debug_mode'}
112 134 0 if ($options->{'debug_mode'})
119 134 0 if $options->{'debug_mode'}
121 0 134 if $options->{'abort'}