Branch Coverage

blib/lib/Lab/Moose/DataFile/Read.pm
Criterion Covered Total %
branch 16 26 61.5


line true false branch
34 2 13 if ($line =~ /^#/u)
37 2 11 if ($line =~ /^\s*$/u)
41 2 0 if (@rows > 0)
53 0 11 if (@nums != $num_columns)
58 2 0 if (@rows > 0)
67 2 2 if ($rows < $max_rows)
85 0 2 unless ($fh or $file)
89 1 1 unless ($fh)
90 0 1 unless open $fh, "<", $file
95 0 2 unless seek $fh, 0, 0
105 0 2 if ($type eq 'bare') { }
2 0 elsif ($type eq 'columns') { }
0 0 elsif ($type eq 'maps') { }