Condition Coverage

blib/lib/Lingua/PT/PLNbase.pm
Criterion Covered Total %
condition 18 46 39.1


and 3 conditions

line !l l&&!r l&&r condition
118 6 0 1 $conf{'abbrev'} and -f $conf{'abbrev'}
568 2 0 2 $opts->{'o_format'} eq "XML" and $opts->{'t_tag'}
591 2 0 2 $opts->{'o_format'} eq "XML" and $opts->{'t_tag'}
601 6 0 6 $opts->{'o_format'} eq "XML" and $opts->{'p_tag'}
622 6 0 6 $opts->{'o_format'} eq "XML" and $opts->{'p_tag'}
633 28 0 28 $opts->{'o_format'} eq "XML" and $opts->{'s_tag'}
657 28 0 28 $opts->{'o_format'} eq "XML" and $opts->{'s_tag'}
1214 0 0 0 $#sentences > 0 and not $fragmento
1224 0 0 0 $fragmento and $num_frase_no_paragrafo == $#sentences

or 2 conditions

line l !l condition
293 0 0 shift() || '-'
567 4 0 shift() || ''
590 0 4 shift() || ''
621 0 12 shift() || ''
656 0 56 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
801 0 0 0 $exp_com_barras =~ m[[a-z]+a/o$]u or $exp_com_barras =~ m[[a-z]+o/a$]u
0 0 0 $exp_com_barras =~ m[[a-z]+a/o$]u or $exp_com_barras =~ m[[a-z]+o/a$]u or $exp_com_barras =~ m[[a-z]+r/a$]u
1224 0 0 0 $frase =~ /[.?!:;][\\273"'\264]*\s*$/u or $frase =~ /[.?!] *\)[\\273"'\264]*$/u