Branch Coverage

blib/lib/Decision/Depends/Var.pm
Criterion Covered Total %
branch 30 40 75.0


line true false branch
60 17 19 if ('1' ne $$self{'attr'}{'var'}) { }
62 0 17 if @notok
69 0 19 if @notok > 1
72 0 19 unless @notok == 1
78 0 36 if exists $$self{'attr'}{'numcmp'} and exists $$self{'attr'}{'strcmp'}
86 0 36 if ref($$self{'val'}) =~ /^(HASH|ARRAY)$/ and grep {exists $$self{'attr'}{$_};} 'case', 'numcmp', 'strcmp', 'no_case'
88 10 26 if ref $$self{'val'}
105 23 5 if (defined $prev_val) { }
115 9 14 if ($is_not_equal) { }
117 2 7 ref $$self{'val'} ? :
120 2 7 ref $prev_val ? :
123 0 9 if $state->Verbose
131 0 14 if $state->Verbose
137 0 5 if $state->Verbose
149 0 11 $case ? :
164 0 21 if (ref $var1 ne ref $var2) { }
8 13 elsif (ref $var1) { }
1 12 elsif (defined $num and $num) { }
3 9 elsif (defined $str and $str) { }
1 8 elsif ($var1 =~ /$RE_Float/o and $var2 =~ /$RE_Float/o) { }