Condition Coverage

blib/lib/JSON/Eval.pm
Criterion Covered Total %
condition 20 30 66.6


and 3 conditions

line !l l&&!r l&&r condition
52 7 1 9 ref $o eq 'HASH' and keys %$o == 1
8 5 4 ref $o eq 'HASH' and keys %$o == 1 and exists $o->{'$eval'}
55 7 1 5 ref $o eq 'HASH' and keys %$o == 1
8 0 5 ref $o eq 'HASH' and keys %$o == 1 and exists $o->{'$scalar'}
97 4 1 0 &blessed($o) and $o->isa('Type::Tiny')
98 0 0 0 $o->has_library and not $o->is_anon
0 0 0 $o->has_library and not $o->is_anon and $o->library->has_type($o->name)
107 4 0 1 &blessed($o) and $self->convert_blessed
4 0 1 &blessed($o) and $self->convert_blessed and $o->can('TO_JSON')

or 3 conditions

line l !l&&r !l&&!r condition
89 4 1 7 ref $o eq 'SCALAR' or ref $o eq 'REF'