Branch Coverage

blib/lib/goto/file.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
16 2 4 unless $in
20 1 3 if (ref $in eq 'ARRAY') { }
38 0 3 unless open $fh, '<', $in
63 23 42 if (@$lines) { }
41 1 elsif ($fh) { }
70 63 2 if (defined $line)