Branch Coverage

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


line true false branch
40 840 0 if $ENV{'HARNESS_ACTIVE'}
90 0 0 if (defined $options{'output'})
129 0 0 unless $_[1] =~ /^\w+$/u
159 0 10 unless is_int($f)
160 10 0 if $f > 0
263 0 120 unless &GetOptionsFromArray($args, all_args())
266 0 120 if ($options{'debug_mode'} > 1)
277 19 159 if ($pipeline[$i][0] eq 'substitute') { }
0 159 elsif ($pipeline[$i][0] eq 'insert-at-offset') { }
282 0 0 unless (ist_int($o))
296 104 16 unless @inputs
298 0 0 if ($options{'in_place'} and $options{'merge'})
302 0 0 if ($options{'in_place'} and $options{'output'})
303 0 0 if ($options{'append'}) { }
310 0 120 if (defined $options{'input_filter'} and not $options{'recursive'})