Branch Coverage

blib/lib/Locale/TextDomain/OO/Extract/Base/RegexBasedExtractor.pm
Criterion Covered Total %
branch 47 70 67.1


line true false branch
46 0 28 unless defined ${$content_ref;}
57 28 0 unless $self->debug_code
82 0 445 if $self->debug_code
87 2358 29806 unless ($rule)
88 0 2358 if $self->debug_code
90 1913 445 if (@parent_rules)
93 0 1913 if $self->debug_code
96 14 1899 unless ($has_matched)
99 1 13 if (exists $level_and_of{$parent_level})
111 7737 22069 if (ref $rule eq 'ARRAY')
115 0 7737 if $self->debug_code
121 6231 15838 if (lc $rule eq 'or')
122 781 5450 if ($has_matched)
126 0 781 if $self->debug_code
132 0 5450 if $self->debug_code
137 2085 13753 if (lc $rule eq 'and')
138 403 1682 unless (exists $level_and_of{$level})
141 2085 0 if ($level_matched[$level])
142 0 2085 if $self->debug_code
148 0 0 if $self->debug_code
153 5327 8426 if (lc $rule eq 'begin')
155 0 5327 if $self->debug_code
160 444 7982 if (lc $rule eq 'end')
165 444 0 if ($is_and)
167 0 444 if $self->debug_code
174 0 7982 if $self->debug_code
180 94 7888 ref $rule eq 'CODE' ? :
182 1241 6741 if (exists $level_and_of{$level})
185 2530 5452 if ($has_matched)
189 0 2530 if ($self->debug_code)
190 0 0 ref $rule eq 'CODE' ? :
201 0 5452 if ($self->debug_code)
202 0 0 ref $rule eq 'CODE' ? :
223 444 1 exists $_->{'match'} ? :
235 28 0 unless $self->debug_code