Branch Coverage

blib/lib/Spp/OptAst.pm
Criterion Covered Total %
branch 23 58 39.6


line true false branch
15 3 0 if is_atom($ast)
79 1 2 if len($opt_atoms) == 1
100 0 0 if len($str) == 1
143 0 0 if len($str) == 1
153 0 0 if ($name eq 'Flip') { }
159 0 0 if ($flip == 0)
187 1 0 if len($atoms) == 1
197 7 0 if ($flag == 0) { }
198 0 7 if (is_tillnot($atom)) { }
206 0 0 if (not is_tillnot($atom)) { }
216 0 3 if ($flag > 0)
227 3 4 if ($flag == 0) { }
4 0 elsif ($flag == 1) { }
228 0 3 if (is_look($atom)) { }
235 0 4 if (is_look($atom)) { }
243 0 0 if (not is_look($atom)) { }
252 0 3 if ($flag > 1)
253 3 0 if $flag == 1
263 3 4 if ($flag == 0) { }
264 0 3 if (is_rept($atom)) { }
273 1 3 if (is_rept($atom)) { }
284 2 1 if ($flag == 1)
291 0 2 if $char eq '_'
292 0 2 if is_upper($char)
300 0 0 if (is_sym($action))
309 0 0 if $name eq 'false'
310 0 0 if $name eq 'true'
316 0 0 if is_str($atoms)
331 0 0 if len($int) == 1