| blib/lib/Object/PadX/Role/AutoJSON.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 20 | 85.0 |
| line | true | false | branch |
|---|---|---|---|
| 46 | 2 | 3 | if (grep {$_ eq "-toplevel";} @imports) |
| 48 | 0 | 2 | if $@ |
| 94 | 1 | 10 | if $has_exclude |
| 96 | 0 | 10 | if $sigil ne "\$" |
| 101 | 0 | 10 | unless defined $value or $has_null |
| 104 | 1 | 9 | if $metafield->has_attribute("JSONKey") |
| 106 | 2 | 8 | if ($metafield->has_attribute('JSONBool')) { } |
| 1 | 7 | elsif ($metafield->has_attribute('JSONNum')) { } | |
| 1 | 6 | elsif ($metafield->has_attribute('JSONStr')) { } | |
| 1 | 5 | elsif ($metafield->has_attribute('JSONList')) { } |