Branch Coverage

blib/lib/Algorithm/Scale2x.pm
Criterion Covered Total %
branch 16 28 57.1


line true false branch
60 1 1 if ($pixels[1] != $pixels[7] and $pixels[3] != $pixels[5]) { }
61 0 1 $pixels[3] == $pixels[1] ? :
62 1 0 $pixels[1] == $pixels[5] ? :
63 1 0 $pixels[3] == $pixels[7] ? :
64 0 1 $pixels[7] == $pixels[5] ? :
92 1 1 if ($pixels[1] != $pixels[7] and $pixels[3] != $pixels[5]) { }
93 0 1 $pixels[3] == $pixels[1] ? :
94 0 1 $pixels[3] == $pixels[1] && $pixels[4] != $pixels[2] || $pixels[1] == $pixels[5] && $pixels[4] != $pixels[0] ? :
99 1 0 $pixels[1] == $pixels[5] ? :
100 0 1 $pixels[3] == $pixels[1] && $pixels[4] != $pixels[6] || $pixels[3] == $pixels[7] && $pixels[4] != $pixels[0] ? :
106 0 1 $pixels[1] == $pixels[5] && $pixels[4] != $pixels[8] || $pixels[7] == $pixels[5] && $pixels[4] != $pixels[2] ? :
111 1 0 $pixels[3] == $pixels[7] ? :
112 0 1 $pixels[3] == $pixels[7] && $pixels[4] != $pixels[8] || $pixels[7] == $pixels[5] && $pixels[4] != $pixels[6] ? :
117 0 1 $pixels[7] == $pixels[5] ? :