Condition Coverage

blib/lib/Locale/Babelfish/Phrase/Parser.pm
Criterion Covered Total %
condition 15 18 83.3


and 3 conditions

line !l l&&!r l&&r condition
94 776 0 28 $char eq "#" and $self->next_char eq "{"
104 758 1 17 $char eq "(" and $self->next_char eq "("
144 7 1 54 $char =~ /^[a-zA-Z0-9_\.]+$/ and $char ne '.' || $self->next_char =~ /^[a-zA-Z0-9_\.]+$/
157 337 0 17 $char eq ")" and $self->next_char eq ")"

or 3 conditions

line l !l&&r !l&&!r condition
50 76 1 11 length $self->piece or scalar @{$self->pieces;} == 0
144 54 0 1 $char ne '.' || $self->next_char =~ /^[a-zA-Z0-9_\.]+$/