Branch Coverage

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


line true false branch
33 113 22 if (ref $f) { }
0 22 elsif (not -e $f) { }
1 21 elsif (-d _) { }
35 0 113 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 2 118 if ($options->{'merge'}) { }
79 2 0 if $options->{'debug_mode'}
112 120 0 if ($options->{'debug_mode'})
119 120 0 if $options->{'debug_mode'}
121 0 120 if $options->{'abort'}