Condition Coverage

blib/lib/Catalyst/View/Base/JSON.pm
Criterion Covered Total %
condition 4 11 36.3


and 3 conditions

line !l l&&!r l&&r condition
64 0 0 1 ref \$proto[0] eq 'SCALAR' and &Scalar::Util::looks_like_number($proto[0])

or 2 conditions

line l !l condition
71 0 1 ref $proto[-1] || ''

or 3 conditions

line l !l&&r !l&&!r condition
71 0 0 1 (ref $proto[-1] || '') eq 'HASH' or &Scalar::Util::blessed($proto[-1])
109 1 0 0 eval { do { $self->$class_info->json->encode($to_json_encode) } } || do { $self->$class_info->HANDLE_ENCODE_ERROR($self, $to_json_encode, $@) }