| lib/Pheno/Ranker/IO.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 32 | 43.7 |
| line | true | false | branch |
|---|---|---|---|
| 62 | 0 | 7 | $mode eq 'write' ? : |
| 69 | 0 | 7 | unless &any(sub { |
| 81 | 7 | 0 | $mode eq 'read' ? : |
| 90 | 0 | 7 | $file =~ /hp\.json/ ? : |
| 143 | 0 | 0 | if ($match) { } |
| 145 | 0 | 0 | if $verbose |
| 159 | 0 | 1 | if (ref $data eq ref []) |
| 161 | 0 | 0 | if ($n == 1) { } |
| 175 | 4 | 4 | $file && -f $file ? : |
| 178 | 4 | 4 | unless defined $data |
| 205 | 2 | 2 | if @errors |
| 215 | 2 | 0 | if (@{$errors;}) |
| 245 | 0 | 6 | ref $ref_data->[0] eq ref {} ? : |
| 6 | 0 | if @$ref_data == 1 | |
| 255 | 0 | 0 | $$append_prefixes[$count - 1] ? : |
| 261 | 0 | 0 | if (ref $item eq ref []) { } |