| blib/lib/WWW/OpenResty/Simple.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 3 | 20 | 15.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 19 | 0 | 5 | if ($data and ref $data) | 
| 27 | 0 | 5 | if ($res->is_success) { } | 
| 31 | 0 | 0 | if (_HASH $data and defined $$data{'success'} and $$data{'success'} == 0) { } | 
| 32 | 0 | 0 | if ($ignore_dup_error and $$data{'error'} =~ /duplicate key (?:value )?violates unique constraint/) | 
| 37 | 0 | 0 | if ($i >= $retries) { } | 
| 47 | 5 | 0 | if ($i >= $retries) { } | 
| 62 | 0 | 0 | if ($@) | 
| 63 | 0 | 0 | if ($@ =~ /Model .*? not found/i) | 
| 77 | 0 | 0 | if ($@) | 
| 78 | 0 | 0 | if ($@ =~ /View .*? not found/i) |