Branch Coverage

blib/lib/xDT/Parser.pm
Criterion Covered Total %
branch 0 18 0.0


line true false branch
127 0 0 unless defined $file or defined $string
130 0 0 if (defined $file) { }
131 0 0 unless -f $file
134 0 0 unless $fh = 'FileHandle'->new($file, 'r')
137 0 0 unless $fh = 'FileHandle'->new(\$string, 'r')
167 0 0 if $record->is_object_end
171 0 0 unless scalar @records
204 0 0 unless length $file
219 0 0 unless $line = $self->fh->getline