Condition Coverage

blib/lib/Catalyst/View/Base/JSON.pm
Criterion Covered Total %
condition 3 12 25.0


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])
71 1 0 0 @proto and (ref $proto[-1] || '') eq 'HASH' || &Scalar::Util::blessed($proto[-1])

or 3 conditions

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