| tests/util-1 | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 16 | 68.7 |
| line | true | false | branch |
|---|---|---|---|
| 14 | 0 | 1 | unless $dir and -d $dir |
| 20 | 27 | 6 | unless ref $_ |
| 25 | 6 | 11 | if (defined wantarray and not wantarray) { } |
| 0 | 11 | elsif (wantarray) { } | |
| 33 | 0 | 17 | if ($@) { } |
| 38 | 11 | 6 | unless defined wantarray |
| 39 | 0 | 6 | wantarray ? : |
| 57 | 0 | 3 | unless open IN, "<$file" |