Branch Coverage

blib/lib/Gherkin/TokenScanner.pm
Criterion Covered Total %
branch 8 10 80.0


line true false branch
20 3 2 if (ref $path_or_str eq 'SCALAR') { }
24 0 2 unless open $fh, "<", $path_or_str
35 0 42 unless defined $self->fh
40 4 38 unless (defined $line)
54 38 4 if (defined $line)