blib/lib/Decision/Depends/Var.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 21 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
78 | 34 | 2 | 0 | exists $$self{'attr'}{'numcmp'} and exists $$self{'attr'}{'strcmp'} |
86 | 26 | 10 | 0 | ref($$self{'val'}) =~ /^(HASH|ARRAY)$/ and grep {exists $$self{'attr'}{$_};} 'case', 'numcmp', 'strcmp', 'no_case' |
164 | 12 | 0 | 1 | defined $num and $num |
9 | 0 | 3 | defined $str and $str | |
8 | 0 | 1 | $var1 =~ /$RE_Float/o and $var2 =~ /$RE_Float/o |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
50 | 0 | 36 | 0 | ref $class || $class |
107 | 2 | 7 | 14 | (exists $$self{'attr'}{'force'} ? $$self{'attr'}{'force'} : $state->Force) || cmpVar(exists $$self{'attr'}{'case'}, $$self{'attr'}{'numcmp'}, $$self{'attr'}{'strcmp'}, $prev_val, $$self{'val'}) |