| lib/Petal/Hash.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 22 | 86.3 |
| line | true | false | branch |
|---|---|---|---|
| 93 | 232 | 133 | ref $thing ? : |
| 107 | 0 | 765 | if $fresh |
| 108 | 111 | 654 | if exists $self->{'__petal_hash_cache__'}{$key} |
| 111 | 3 | 651 | if ($Petal::HTML_ERRORS) { } |
| 114 | 1 | 2 | if $@ |
| 131 | 14 | 593 | unless defined $res |
| 134 | 590 | 3 | unless ($no_encode and $no_encode) |
| 151 | 0 | 0 | if /$regex/ |
| 161 | 3 | 651 | if (defined $no_encode and $no_encode) { } |
| 187 | 81 | 713 | if defined $module and ref $module and ref $module eq 'CODE' |
| 197 | 651 | 143 | unless defined $mod |