Condition Coverage

blib/lib/Valiemon/Primitives.pm
Criterion Covered Total %
condition 47 53 88.6


and 3 conditions

line !l l&&!r l&&r condition
19 2 12 53 defined $obj && ref $obj eq 'HASH'
24 1 5 18 defined $obj && ref $obj eq 'ARRAY'
29 11 58 132 defined $obj && ref $obj eq ''
34 9 73 23 defined $obj && &looks_like_number($obj)
39 2 17 62 defined $obj && $obj =~ qr/^-?\d+$/
51 96 44 0 defined $obj && &looks_like_number($obj) && ($obj == 1 || $obj == 0)
56 1 14 7 defined $obj and &Types::Serialiser::is_bool($obj)
57 11 0 4 ref $obj eq 'SCALAR' and &looks_like_number($$obj)
11 4 0 ref $obj eq 'SCALAR' and &looks_like_number($$obj) and $$obj == 1 || $$obj == 0
70 82 10 8 $self->is_boolean($a) and $self->is_boolean($b)
92 2 6 $self->is_boolean($a) and $self->is_boolean($b) and $a == $b
71 51 9 34 $self->is_string($a) and $self->is_string($b)
60 24 10 $self->is_string($a) and $self->is_string($b) and "$a" eq "$b"
72 70 8 6 $self->is_number($a) and $self->is_number($b)
78 6 0 $self->is_number($a) and $self->is_number($b) and $a == $b

or 2 conditions

line l !l condition
12 44 9 $options || {}

or 3 conditions

line l !l&&r !l&&!r condition
57 2 2 0 $$obj == 1 || $$obj == 0
69 94 0 7 defined $a or defined $b