Condition Coverage

blib/lib/WWW/OpenResty/Simple.pm
Criterion Covered Total %
condition 2 20 10.0


and 3 conditions

line !l l&&!r l&&r condition
19 5 0 0 $data and ref $data
31 0 0 0 _HASH $data and defined $$data{'success'}
0 0 0 _HASH $data and defined $$data{'success'} and $$data{'success'} == 0
32 0 0 0 $ignore_dup_error and $$data{'error'} =~ /duplicate key (?:value )?violates unique constraint/
68 0 0 0 _HASH $res && $$res{'name'} eq $model
83 0 0 0 _HASH $res && $$res{'name'} eq $view

or 2 conditions

line l !l condition
22 0 5 $$self{'retries'} || 0