Condition Coverage

blib/lib/Catalyst/View/JSON/_PerRequest.pm
Criterion Covered Total %
condition 6 9 66.6


and 3 conditions

line !l l&&!r l&&r condition
45 0 1 3 scalar @proto and ref $proto[$#proto] eq 'HASH'
55 3 0 1 scalar @proto and &Scalar::Util::blessed($proto[$#proto])

or 3 conditions

line l !l&&r !l&&!r condition
19 17 2 0 $self->{'data'} ||= do { my $default_view_model = $self->{'parent'}->default_view_model; $default_view_model = $self->{'ctx'}->model($default_view_model) unless ref $default_view_model; $default_view_model }