| blib/lib/Gwybodaeth/Read.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 14 | 64.2 |
| line | true | false | branch |
|---|---|---|---|
| 60 | 0 | 2 | unless ref(my $self = shift()) |
| 65 | 0 | 2 | if (fileno $file) { } |
| 69 | 1 | 1 | unless (-e $file) |
| 71 | 0 | 1 | unless open $fh, '<', $file |
| 92 | 0 | 2 | unless ref $self |
| 98 | 1 | 1 | if ($res->is_success) |
| 117 | 0 | 1 | unless ref(my $self = shift()) |