Condition Coverage

blib/lib/Locale/Maketext/Utils/Phrase/Norm/Consider.pm
Criterion Covered Total %
condition 36 45 80.0


and 3 conditions

line !l l&&!r l&&r condition
37 82 8 8 $idx == $last_idx and $before =~ /\:(?:\x20|\xc2\xa0)/
90 8 0 $idx == $last_idx and $before =~ /\:(?:\x20|\xc2\xa0)/ and !defined($after) || $after eq ''
54 8 8 $before =~ /,(?:\x20|\xc2\xa0)$/ and $after =~ /^,/
60 0 2 $before =~ /\([^\)]+(?:\x20|\xc2\xa0)$/ and $after =~ /^\)/
54 4 2 $before =~ /\($/ and $after =~ /(?:\x20|\xc2\xa0)[^\)]+\)/
24 32 2 $before =~ /(?:\x20|\xc2\xa0)$/ and $after =~ /\342\200\231s(?:\x20|\xc2\xa0|;.|,.|[\!\?\.\:])/
58 114 4 32 $piece->{'list'}[0] eq 'output' and $piece->{'list'}[1] eq 'url'

or 3 conditions

line l !l&&r !l&&!r condition
34 98 0 52 $piece->{'type'} eq 'var' or $piece->{'type'} eq 'basic_var'
37 0 8 0 !defined($after) || $after eq ''
10 16 20 $before =~ /(?:\x20|\xc2\xa0)$/ || $after =~ /^(?:\x20|\xc2\xa0)/ || ($before =~ /[a-zA-Z0-9]$/ || $after =~ /^[a-zA-Z0-9]/)
8 20 70 $idx == $last_idx and $before =~ /\:(?:\x20|\xc2\xa0)/ and !defined($after) || $after eq '' or not $before =~ /(?:\x20|\xc2\xa0)$/ || $after =~ /^(?:\x20|\xc2\xa0)/ || ($before =~ /[a-zA-Z0-9]$/ || $after =~ /^[a-zA-Z0-9]/)
28 0 70 $idx == $last_idx and $before =~ /\:(?:\x20|\xc2\xa0)/ and !defined($after) || $after eq '' or not $before =~ /(?:\x20|\xc2\xa0)$/ || $after =~ /^(?:\x20|\xc2\xa0)/ || ($before =~ /[a-zA-Z0-9]$/ || $after =~ /^[a-zA-Z0-9]/) or $before =~ /,(?:\x20|\xc2\xa0)$/ and $after =~ /^,/
8 0 62 $idx == $last_idx and $before =~ /\:(?:\x20|\xc2\xa0)/ and !defined($after) || $after eq '' or not $before =~ /(?:\x20|\xc2\xa0)$/ || $after =~ /^(?:\x20|\xc2\xa0)/ || ($before =~ /[a-zA-Z0-9]$/ || $after =~ /^[a-zA-Z0-9]/) or $before =~ /,(?:\x20|\xc2\xa0)$/ and $after =~ /^,/ or $before =~ /\([^\)]+(?:\x20|\xc2\xa0)$/ and $after =~ /^\)/
2 0 60 $idx == $last_idx and $before =~ /\:(?:\x20|\xc2\xa0)/ and !defined($after) || $after eq '' or not $before =~ /(?:\x20|\xc2\xa0)$/ || $after =~ /^(?:\x20|\xc2\xa0)/ || ($before =~ /[a-zA-Z0-9]$/ || $after =~ /^[a-zA-Z0-9]/) or $before =~ /,(?:\x20|\xc2\xa0)$/ and $after =~ /^,/ or $before =~ /\([^\)]+(?:\x20|\xc2\xa0)$/ and $after =~ /^\)/ or $before =~ /\($/ and $after =~ /(?:\x20|\xc2\xa0)[^\)]+\)/
2 0 58 $idx == $last_idx and $before =~ /\:(?:\x20|\xc2\xa0)/ and !defined($after) || $after eq '' or not $before =~ /(?:\x20|\xc2\xa0)$/ || $after =~ /^(?:\x20|\xc2\xa0)/ || ($before =~ /[a-zA-Z0-9]$/ || $after =~ /^[a-zA-Z0-9]/) or $before =~ /,(?:\x20|\xc2\xa0)$/ and $after =~ /^,/ or $before =~ /\([^\)]+(?:\x20|\xc2\xa0)$/ and $after =~ /^\)/ or $before =~ /\($/ and $after =~ /(?:\x20|\xc2\xa0)[^\)]+\)/ or $before =~ /(?:\x20|\xc2\xa0)$/ and $after =~ /\342\200\231s(?:\x20|\xc2\xa0|;.|,.|[\!\?\.\:])/