| blib/lib/RapidApp/View/JSON.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 2 | 21 | 9.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 106 | 0 | 0 | 0 | defined $str and length $str |
| 115 | 0 | 0 | 0 | defined $str and length $str |
| line | l | !l | condition |
|---|---|---|---|
| 51 | 0 | 0 | $self->getUserMessageTitle($err) || 'Error' |
| 104 | 0 | 0 | $err->can('userMessage') || (return undef) |
| 113 | 0 | 0 | $err->can('userMessageTitle') || (return undef) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 50 | 0 | 0 | 0 | $self->getUserMessage($err) || "An internal error occured: \n\n" . $err |
| 64 | 0 | 11 | 0 | $c->stash->{'json'} || $c->stash->{'jsonData'} || $c->stash->{'controllerResult'} |
| 75 | 0 | 11 | 0 | $c->stash->{'encoding'} || $self->encoding |