Condition Coverage

blib/lib/WebService/GrowthBook/Eval.pm
Criterion Covered Total %
condition 22 36 61.1


and 3 conditions

line !l l&&!r l&&r condition
47 2 5 168 ref $current eq "HASH" and exists $current->{$segment}
84 53 4 152 ref $condition_value eq "HASH" and is_operator_object($condition_value)
126 3 2 41 defined $condition_value && defined $attribute_value
148 18 34 0 &looks_like_number($va) and not defined $vb
151 18 34 0 &looks_like_number($vb) and not defined $va
154 18 0 34 &looks_like_number($va) and &looks_like_number($vb)
345 0 0 0 ref $attribute_value eq "SCALAR" and $$attribute_value eq '0' || $$attribute_value eq '1'

or 3 conditions

line l !l&&r !l&&!r condition
126 43 3 2 defined $condition_value || defined $attribute_value
270 0 0 212 not defined $input or ref $input
0 0 212 not defined $input or ref $input or $input eq ""
331 6 0 2 $attribute_value =~ /^[+-]?\d+$/ or $attribute_value =~ /^[+-]?\d*\.\d+$/
345 0 0 0 $$attribute_value eq '0' || $$attribute_value eq '1'