Branch Coverage

blib/lib/App/PTP/Args.pm
Criterion Covered Total %
branch 11 30 36.6


line true false branch
40 903 0 if $ENV{'HARNESS_ACTIVE'}
90 0 0 if (defined $options{'output'})
130 0 0 unless $_[1] =~ /^\w+$/u
160 0 10 unless is_int($f)
161 10 0 if $f > 0
270 0 129 unless &GetOptionsFromArray($args, all_args())
273 0 129 if ($options{'debug_mode'} > 1)
284 19 170 if ($pipeline[$i][0] eq 'substitute') { }
0 170 elsif ($pipeline[$i][0] eq 'insert-at-offset') { }
289 0 0 unless (ist_int($o))
303 112 17 unless @inputs
305 0 0 if ($options{'in_place'} and $options{'merge'})
309 0 0 if ($options{'in_place'} and $options{'output'})
310 0 0 if ($options{'append'}) { }
317 0 129 if (defined $options{'input_filter'} and not $options{'recursive'})