| blib/lib/xDT/Parser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 9 | 18 | 50.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 127 | 0 | 3 | unless defined $file or defined $string | 
| 130 | 0 | 3 | if (defined $file) { } | 
| 131 | 0 | 0 | unless -f $file | 
| 134 | 0 | 0 | unless $fh = "FileHandle"->new($file, "r") | 
| 137 | 0 | 3 | unless $fh = "FileHandle"->new(\$string, "r") | 
| 168 | 0 | 36 | if $record->is_object_end | 
| 171 | 2 | 3 | unless scalar @records | 
| 204 | 0 | 1 | unless length $file | 
| 219 | 5 | 36 | unless $line = $self->fh->getline |