Branch Coverage

blib/lib/Venus/Boolean.pm
Criterion Covered Total %
branch 35 66 53.0


line true false branch
24 21 18 $_[0]->get ? :
25 1 0 !!$_[0] < !!$_[1] ? :
26 1 0 !!$_[0] <= !!$_[1] ? :
27 0 1 !!$_[0] > !!$_[1] ? :
28 1 0 !!$_[0] >= !!$_[1] ? :
29 1 0 !!$_[0] != !!$_[1] ? :
30 1 0 !!$_[0] == !!$_[1] ? :
31 21 0 !!$_[0] ? :
32 1 0 "$_[0]" eq "$_[1]" ? :
33 1 0 "$_[0]" ne "$_[1]" ? :
34 0 1 "$_[0]" ? :
52 8 131 defined $data->{'value'} && !!$data->{'value'} ? :
99 0 1 $self->get ? :
105 0 1 $self->get ? :
111 0 1 $self->get ? :
123 0 1 $self->get ? :
127 8 131 $_[0] ? :
131 0 0 $_[0] ? :
142 1 2 (&Scalar::Util::reftype($value) // '') eq 'SCALAR' ? :
144 1 2 if ($object and $scalar and defined $$value and not ref $$value and $$value == 1) { }
0 2 elsif ($object and $scalar and defined $$value and not ref $$value and $$value == 0) { }
0 2 elsif ($object and $value->isa('Venus::True')) { }
0 2 elsif ($object and $value->isa('Venus::False')) { }
0 2 elsif ($object and $value->isa('Venus::Boolean')) { }
169 9 133 if ($isdual and ("$value" and "$value" == 1 and $value + 0 == 1)) { }
131 2 elsif ($isdual and "$value" eq '' || "$value" == '0' && $value + 0 == 0) { }
185 0 0 if ($isdual and ("$value" and "$value" == '1' and $value + 0 == 1)) { }
0 0 elsif ($isdual and "$value" eq '' || "$value" == '0' && $value + 0 == 0) { }
203 4 16 if ($isdual and ("$value" and "$value" == '1' and $value + 0 == 1)) { }
0 16 elsif ($isdual and "$value" eq '' || "$value" == '0' && $value + 0 == 0) { }
219 0 0 if ($isdual and ("$value" and "$value" == '1' and $value + 0 == 1)) { }
0 0 elsif ($isdual and "$value" eq '' || "$value" == '0' && $value + 0 == 0) { }
235 0 0 $self->get ? :