Branch Coverage

blib/lib/App/NDTools/NDProc/Module/Insert.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
23 3 7 if ($_[1] eq '1' or $_[1] =~ /^(T|t)rue$/) { }
3 4 elsif ($_[1] eq '0' or $_[1] =~ /^(F|f)alse$/) { }
36 5 1 if (&looks_like_number($_[1])) { }
51 1 23 unless (exists $rule->{'value'})
56 1 23 unless @{$rule->{'path'};}
66 3 71 if defined $self->{'OPTS'}{'file'}
74 1 23 if $@