Condition Coverage

lib/CatalystX/Eta/Controller/REST.pm
Criterion Covered Total %
condition 5 21 23.8


and 3 conditions

line !l l&&!r l&&r condition
29 0 0 0 ref $an_error eq 'DBIx::Class::Exception' and $an_error->{'msg'} =~ /duplicate key value violates unique constraint/
0 0 0 ref $an_error eq 'DBIx::Class::Exception' and $an_error->{'msg'} =~ /is not present/
0 0 0 ref $an_error eq 'HASH' and $an_error->{'error_code'}
0 0 0 ref $an_error eq 'REF' and ref $$an_error eq 'ARRAY'
0 0 0 ref $an_error eq 'REF' and ref $$an_error eq 'ARRAY' and @$$an_error == 2
78 1 4 9 ref $c->stash->{'rest'} eq 'HASH' and not exists $c->stash->{'rest'}{'error'}
5 9 0 ref $c->stash->{'rest'} eq 'HASH' and not exists $c->stash->{'rest'}{'error'} and exists $c->stash->{'rest'}{'form_error'}