| lib/Neo4j/Error.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 36 | 36 | 100.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 38 | 1 | 1 | 50 | $source and ref $source eq "" |
| 50 | 1 | 37 | 6 | $info and ref $info eq "" |
| 74 | 1 | 1 | 10 | $source and ref $source eq "" |
| 75 | 1 | 7 | 2 | ref $self eq "" and $self->can("source") |
| 8 | 1 | 1 | ref $self eq "" and $self->can("source") and $self->source ne $source | |
| 77 | 1 | 7 | 1 | $related and ref $related eq "" |
| 104 | 16 | 6 | 7 | $code and $message |
| 105 | 16 | 7 | 6 | $code and not $message |
| 106 | 13 | 15 | 1 | not $code and $message |
| line | l | !l | condition |
|---|---|---|---|
| 62 | 6 | 34 | $info->{'trace'} // {} |
| 112 | 7 | 11 | +(shift())->{'message'} // "" |
| 113 | 5 | 13 | +(shift())->{'code'} // "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 64 | 1 | 29 | 10 | $trace_config->{'message'} //= $self->as_string |