Branch Coverage

blib/lib/Games/Sudoku/Component/Controller/Loader.pm
Criterion Covered Total %
branch 2 16 12.5


line true false branch
16 2 0 if (@_ == 1 and not ref $_[0]) { }
0 0 elsif (@_ == 1 and ref $_[0] eq 'SCALAR') { }
23 0 0 ref $_[0] ? :
25 0 0 if (my $file = $options{'filename'} || $options{'file'}) { }
0 0 elsif ($options{'scalar'}) { }
0 0 elsif ($options{'scalarref'}) { }
46 0 45 unless $value =~ /^[0-9]+$/
61 0 0 unless open my $fh, '<', $file