Branch Coverage

blib/lib/Spp/MatchRule.pm
Criterion Covered Total %
branch 43 88 48.8


line true false branch
31 0 0 if (is_false($match))
70 0 0 if ($char eq "\000")
79 6 0 if (get_char($c) eq "\000")
83 0 0 if (pre_char($c) eq "\n")
84 0 0 if ($c->{'off'} == 0)
88 0 0 if (get_char($c) eq "\n")
89 0 0 if (get_char($c) eq "\000")
101 110 28 if (is_false($match))
112 34 197 unless (is_false($match))
124 117 14 if (is_bool($match))
125 10 4 if (is_str($match))
138 0 10 if (is_str($match))
151 38 6 if (is_false($match))
159 0 0 if (is_false($match))
173 0 0 unless (is_false($match))
193 77 48 if (is_false($match))
194 50 27 if ($time < $min)
214 0 0 if (is_false($match))
215 0 0 if ($time > $min)
218 0 0 if (is_false($match))
223 0 0 if ($time >= $min)
226 0 0 unless (is_false($match))
238 42 2 if ($char ne get_char($c))
246 91 7 if ($char ne get_char($c))
255 21 67 if (match_spp_catom($atom, $char))
266 0 0 if ($char eq "\000")
268 0 0 if (match_spp_catom($atom, $char))
289 6 34 if ($char eq "\000")
290 9 25 if (is_match_spp_cclass($cclass, $char))
337 0 0 if (exists $ns->{$name})
346 0 0 if (is_blank($value))
372 0 0 if (is_sym($sym))
384 0 0 if (is_sym($sym))
411 0 0 if (is_blank($array))
427 0 14 if (is_true($match))
429 1 13 if (is_atom($match))
437 13 63 if (is_true($match))
438 36 27 if (is_true($gather))
439 20 7 if (is_str($match))
440 14 6 if (is_str($gather))
443 0 7 if (is_str($gather))
444 6 1 if (is_atom($gather))
445 3 3 if (is_atom($match))
448 1 0 if (is_atom($match))