Condition Coverage

blib/lib/Business/CompanyDesignator.pm
Criterion Covered Total %
condition 59 70 84.2


and 3 conditions

line !l l&&!r l&&r condition
156 1330 137 0 $alt_pattern_string1 and exists $self->pattern_string_map->{$alt_pattern_string1}
158 10 416 3 $current and $current ne $reference_string
166 0 0 7 $current and $current ne $reference_string
179 0 202 0 $current and $current ne $reference_string
222 1068 380 6028 $lang_re and not $entry->{'lang'} =~ /$lang_re/
224 902 62 484 $type eq 'begin' and not $entry->{'lead'}
226 588 60 316 $type eq 'end_cont' and not $LANG_CONTINUA{$entry->{'lang'}}
260 960 0 8 ref $lang and ref $lang eq 'ARRAY'
960 0 8 ref $lang and ref $lang eq 'ARRAY' and @$lang
304 607 0 845 defined $_ && !ref($_)
354 278 229 572 $end_re and $company_name_match =~ /^\s*(.*?)$punct_class\s*\(?($end_re)\)?\s*$/
361 286 107 114 $end_cont_re and $company_name_match_cont_stripped =~ /^\s*(.*?)\(?($end_cont_re)\)?\s*$/
367 246 56 91 $begin_re and $company_name_match =~ /^\s*\(?($begin_re)\)?$punct_class\s*(.*?)\s*$/
373 242 7 53 $end_re and $allow_embedded
249 11 42 $end_re and $allow_embedded and $company_name_match =~ /(.*?)$punct_class\s*\(?($end_re)\)?(?:\s+(.*?))?$/

or 2 conditions

line l !l condition
67 6 19 $map->{$abbr} ||= []
73 59 1306 $map->{$abbr} ||= []
254 2753 0 $type ||= 'end'
308 651 65 $before // ''
583 133 $des // ''
567 149 $des_std // ''
93 623 $after // ''
328 236 843 $allow_embedded //= 1

or 3 conditions

line l !l&&r !l&&!r condition
121 1248 648 0 $reference_string ||= $string
237 78 953 0 $entry->{'abbr_std'} || $abbr
295 232 567 20 $des_std ||= $self->pattern_string_map->{$matched_pattern}