Branch Coverage

blib/lib/Data/Sheet.pm
Criterion Covered Total %
branch 18 60 30.0


line true false branch
35 1 0 defined $w ? :
1 0 defined $h ? :
1 0 defined $init ? :
56 0 0 $$self{'flag'} == 1 ? :
60 0 0 if ($$self{'flag'} == 1) { }
72 0 0 if ($now_x >= $$self{'width'} or $now_y >= $$self{'height'})
76 0 0 if ($$self{'flag'} == 1) { }
86 0 0 if ($$self{'flag'} == 1) { }
0 0 elsif ($$self{'flag'} == 0) { }
100 0 1 if ($$self{'width'} * $$self{'height'} < $x * $y) { }
105 0 1 $$self{'flag'} == 1 ? :
116 0 1 if ($$self{'width'} * $$self{'height'} < $x * $y) { }
120 0 1 $$self{'flag'} == 1 ? :
130 0 0 $$self{'flag'} == 1 ? :
145 0 1 $$self{'flag'} == 1 ? :
149 0 12 if ($$self{'flag'} == 1) { }
165 0 12 if ($$self{'flag'} == 1) { }
177 0 1 if ($$self{'flag'} == 1) { }
190 1 0 $$self{'flag'} == 1 ? :
194 12 0 if ($$self{'flag'} == 1) { }
210 12 0 if ($$self{'flag'} == 1) { }
222 1 0 if ($$self{'flag'} == 1) { }
233 0 0 if ($row > $$self{'height'} - 1 or $row < 0)
241 0 0 $$self{'flag'} == 1 ? :
249 0 2 if ($col > $$self{'width'} - 1 or $col < 0)
257 3 4 $$self{'flag'} == 1 ? :
264 0 0 if ($row > $$self{'height'} - 1 or $row < 0)
269 0 0 if ($$self{'flag'} == 1) { }
281 0 0 if ($col > $$self{'width'} - 1 or $col < 0)
286 0 0 if ($$self{'flag'} == 1) { }