Branch Coverage

blib/lib/Spp/OptAst.pm
Criterion Covered Total %
branch 22 56 39.2


line true false branch
16 3 0 if (is_atom($ast))
58 1 2 if (elen($opt_atoms) == 1)
65 0 0 if (elen($opt_atoms) == 1)
72 0 0 if (elen($opt_atoms) == 1)
88 0 0 if (len($str) == 1)
120 0 0 if ($name eq 'Flip') { }
126 0 0 if ($flip == 0)
155 1 0 if (len($atoms) == 1)
165 7 0 if ($flag == 0) { }
166 0 7 if (is_tillnot($atom)) { }
170 0 0 unless (is_tillnot($atom))
178 0 3 if ($flag > 0)
189 3 4 if ($flag == 0) { }
4 0 elsif ($flag == 1) { }
190 3 0 unless (is_look($atom))
193 0 4 if (is_look($atom)) { }
200 0 0 unless (is_look($atom))
208 3 0 if ($flag == 1)
218 3 4 if ($flag == 0) { }
219 3 0 unless (is_rept($atom))
222 1 3 if (is_rept($atom)) { }
231 2 1 if ($flag == 1)
238 0 2 if (is_upper($char))
239 2 0 if (is_lower($char))
257 0 0 if (len($str) == 1)
264 0 0 if (is_sub($action))
266 0 0 if ($call ~~ ['push', 'my']) { }
279 0 0 if (is_str($atoms))