| blib/lib/Biblio/Document/Parser/Utils.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 26 | 42.3 |
| line | true | false | branch |
|---|---|---|---|
| 147 | 1 | 0 | if ($location =~ /\.(\w+?)$/) |
| 152 | 0 | 1 | if ($location =~ m[^http://]) { } |
| 154 | 0 | 0 | unless ($type) |
| 162 | 0 | 1 | unless ($type) |
| 172 | 0 | 1 | if ($location =~ m[^http://]) { } |
| 181 | 0 | 1 | unless open FIN, $location |
| 182 | 0 | 1 | unless open FOUT, ">$fromfile" |
| 184 | 0 | 1 | unless close FOUT |
| 185 | 0 | 1 | unless close FIN |
| 188 | 0 | 1 | if ($type ne 'txt') { } |
| 191 | 0 | 0 | if (not $Biblio::Document::Parser::Utils::CONVERTERS{$type}) { } |
| 211 | 0 | 1 | unless open INPUT, $tofile |
| 213 | 0 | 1 | unless close INPUT |