| blib/lib/App/yajg/Hooks.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 24 | 70.8 |
| line | true | false | branch |
|---|---|---|---|
| 14 | 15 | 21 | if &blessed($_[0]) |
| 22 | 0 | 2 | unless &_is_bool($_[0]) |
| 23 | 1 | 1 | $_[0] ? : |
| 29 | 0 | 2 | unless &_is_bool($_[0]) |
| 34 | 0 | 2 | unless &_is_bool($_[0]) |
| 35 | 1 | 1 | $_[0] ? : |
| 44 | 31 | 0 | unless utf8::is_utf8($_) |
| 50 | 0 | 6 | unless defined $_[0] and not ref $_[0] |
| 55 | 2 | 4 | unless defined $uri{'host'} |
| 63 | 6 | 6 | /=/u ? : |
| 72 | 0 | 1 | unless utf8::is_utf8($code) |
| 76 | 0 | 1 | if $@ |