Branch Coverage

blib/lib/DBIx/MyParsePP/Rule.pm
Criterion Covered Total %
branch 37 46 80.4


line true false branch
44 50 0 if ($#{$rule;} > -1) { }
56 8 141 unless defined $flags
58 23 126 if ($#{$parent;} == 0 and $flags & 2) { }
90 36 elsif ($#{$parent;} == 1 and $flags & 4) { }
24 12 elsif ($flags & 8) { }
61 80 10 if ($flags & 8) { }
71 0 67 if ($flags & 1 and ref $child eq 'DBIx::MyParsePP::Rule' and $child->name eq $parent->name) { }
76 0 0 if defined $child->children
78 44 23 if defined $child
92 122 400 if $#{$rule;} == 0
97 234 365 unless defined $extract
98 78 287 if (ref $extract eq 'ARRAY') { }
105 59 341 if ($#matches == -1) { }
258 83 elsif ($#matches == 0) { }
133 0 1 if ref $idents ne 'ARRAY'
141 1 5 if ($#children == -1) { }
0 5 elsif ($#children == 0) { }
3 2 elsif ($#children == 2) { }
2 0 elsif ($#children == 4) { }
146 2 1 if ($shrinked_ident->name eq 'simple_ident_q' or $shrinked_ident->name eq 'table_wild') { }
1 0 elsif ($shrinked_ident->name eq 'table_ident') { }
164 6 0 unless (exists $tables_hash{$table->toString})
177 29 1164 if $rule->name eq $match