Condition Coverage

blib/lib/Text/Extract/MaketextCallPhrases.pm
Criterion Covered Total %
condition 84 116 72.4


and 3 conditions

line !l l&&!r l&&r condition
39 57 0 1 $conf_hr->{'cpanel_mode'} and $conf_hr->{'cpanel_mode'} != 0
61 57 0 9 defined $regexp->[2] && ref $regexp->[2] eq 'HASH'
84 513 4 0 -1 != $no_extract_index and !$did_match || $no_extract_index < $-[0]
105 3 1 2 $pre =~ /\#/ and not $pre =~ /[\n\r]$/
118 499 3 4 $text_working_copy =~ /^\s*\{/ and not $matched =~ /\(\s*$/
176 115 217 137 defined $opener and $opener eq q[']
115 217 0 defined $type and $type eq 'q' || $type eq 'qw'
177 115 277 77 defined $opener and $opener eq '"'
115 253 24 defined $type and $type eq 'qq'
183 115 332 22 defined $type and $type eq '<<'
196 115 354 0 defined $inside and exists $result_hr->{'quotetype'}
42 282 30 defined $inside and exists $result_hr->{'quotetype'} and $inside eq ''
115 0 324 defined $inside and $inside
115 0 0 defined $opener and defined $inside
115 0 0 defined $opener and defined $inside and defined $closer
0 0 0 defined $opener and defined $inside and defined $closer and defined $phrase
0 0 0 defined $opener and defined $inside and defined $closer and defined $phrase and $phrase eq "$opener$inside$closer"
327 394 0 34 $var and defined $for
394 0 34 $var and defined $for and defined $aft
0 0 34 $var and defined $for and defined $aft and $for =~ /\A\s*\z/
0 0 34 $var and defined $for and defined $aft and $for =~ /\A\s*\z/ and $aft =~ /\A\s*\z/
358 278 98 18 exists $result_hr->{'type'} and $result_hr->{'type'} eq 'perlish'
389 6 6 0 $in_multi_line and $updated_result_count == $initial_result_count
6 0 6 $in_multi_line and $updated_result_count > $initial_result_count
6 6 0 $in_multi_line and $updated_result_count > $initial_result_count and $results[-1]{'type'}
2 0 6 not $in_multi_line and @results
2 4 2 not $in_multi_line and @results and defined $results[-1]{'type'}
4 0 2 not $in_multi_line and @results and defined $results[-1]{'type'} and $results[-1]{'type'} eq 'multiline'

or 2 conditions

line l !l condition
33 17 41 $conf_hr ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
84 0 4 0 !$did_match || $no_extract_index < $-[0]
176 25 27 165 $type eq 'q' || $type eq 'qw'
137 0 332 defined $opener and $opener eq q['] or defined $type and $type eq 'q' || $type eq 'qw'
177 77 0 392 defined $opener and $opener eq '"' or defined $type and $type eq 'qq'
204 6 6 291 $type eq 'qx' or $opener eq '`'
6 6 279 $type eq 'm' or $type eq 'qr'
12 6 273 $type eq 'm' or $type eq 'qr' or $type eq 's'
12 6 267 $type eq 'm' or $type eq 'qr' or $type eq 's' or $type eq 'tr'
12 6 261 $type eq 'm' or $type eq 'qr' or $type eq 's' or $type eq 'tr' or $opener eq '/'
264 12 0 32 $2 || $3