Condition Coverage

blib/lib/Venus/Boolean.pm
Criterion Covered Total %
condition 31 98 31.6


and 3 conditions

line !l l&&!r l&&r condition
52 126 5 8 defined $data->{'value'} && !!$data->{'value'}
144 2 0 1 $object and $scalar
2 0 1 $object and $scalar and defined $$value
0 0 1 $object and $scalar and defined $$value and not ref $$value
0 0 1 $object and $scalar and defined $$value and not ref $$value and $$value == 1
2 0 0 $object and $scalar
2 0 0 $object and $scalar and defined $$value
0 0 0 $object and $scalar and defined $$value and not ref $$value
0 0 0 $object and $scalar and defined $$value and not ref $$value and $$value == 0
2 0 0 $object and $value->isa("Venus::True")
2 0 0 $object and $value->isa("Venus::False")
2 0 0 $object and $value->isa("Venus::Boolean")
169 131 0 9 "$value" and "$value" == 1
131 0 9 "$value" and "$value" == 1 and $value + 0 == 1
2 131 9 $isdual and ("$value" and "$value" == 1 and $value + 0 == 1)
2 131 0 $isdual and "$value" eq '' || "$value" == '0' && $value + 0 == 0
185 0 0 0 "$value" and "$value" == 1
0 0 0 "$value" and "$value" == 1 and $value + 0 == 1
0 0 0 $isdual and ("$value" and "$value" == 1 and $value + 0 == 1)
0 0 0 $isdual and "$value" eq '' || "$value" == '0' && $value + 0 == 0
203 0 0 4 "$value" and "$value" == 1
0 0 4 "$value" and "$value" == 1 and $value + 0 == 1
16 0 4 $isdual and ("$value" and "$value" == 1 and $value + 0 == 1)
16 0 0 $isdual and "$value" eq '' || "$value" == '0' && $value + 0 == 0
219 0 0 0 "$value" and "$value" == 1
0 0 0 "$value" and "$value" == 1 and $value + 0 == 1
0 0 0 $isdual and ("$value" and "$value" == 1 and $value + 0 == 1)
0 0 0 $isdual and "$value" eq '' || "$value" == '0' && $value + 0 == 0

or 2 conditions

line l !l condition
142 1 2 &Scalar::Util::reftype($value) // ""

or 3 conditions

line l !l&&r !l&&!r condition
169 0 0 131 "$value" eq '' || "$value" == '0' && $value + 0 == 0
185 0 0 0 "$value" eq '' || "$value" == '0' && $value + 0 == 0
203 0 0 0 "$value" eq '' || "$value" == '0' && $value + 0 == 0
219 0 0 0 "$value" eq '' || "$value" == '0' && $value + 0 == 0