Branch Coverage

lib/Games/Nonogram/Shell.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
21 0 0 unless defined $input
26 0 0 unless defined $cmd
28 0 0 if exists $alias{$cmd}
30 0 0 if $cmd eq 'quit' or $cmd eq 'exit'
31 0 0 if $cmd eq 'bootstrap'
33 0 0 if $self->can($cmd)
41 0 0 unless $file and -f $file
53 0 0 unless my $grid = $$self{'grid'}
61 0 0 unless my $grid = $$self{'grid'}
63 0 0 if ($grid->has_answers) { }
0 0 elsif ($grid->is_done) { }
74 0 0 if $grid->is_done
81 0 0 unless my $grid = $$self{'grid'}
85 0 0 if $grid->debug
88 0 0 if ($grid->is_done or $grid->has_answers) { }
100 0 0 unless $row and $row =~ /^\d+$/
102 0 0 unless my $grid = $$self{'grid'}
110 0 0 unless $col and $col =~ /^\d+$/
112 0 0 unless my $grid = $$self{'grid'}
126 0 0 unless $row and $row =~ /^\d+$/
127 0 0 unless $col and $col =~ /^\d+$/
129 0 0 unless my $grid = $$self{'grid'}
136 0 0 if ($@)
144 0 0 unless my $grid = $$self{'grid'}
146 0 0 unless defined $value