Condition Coverage

blib/lib/Template/Alloy/Operator.pm
Criterion Covered Total %
condition 26 32 81.2


and 3 conditions

line !l l&&!r l&&r condition
125 6 0 9 $self->play_expr($tree->[2]) && $self->play_expr($tree->[3])

or 2 conditions

line l !l condition
88 30 0 join('|', grep({length $_;} $chrs, $chr, $word)) || die('Missing operator regex')

or 3 conditions

line l !l&&r !l&&!r condition
115 81 34 1718 $op eq '||' or $op eq 'or'
115 0 1718 $op eq '||' or $op eq 'or' or $op eq 'OR'
15 0 1703 $op eq '&&' or $op eq 'and'
15 0 1703 $op eq '&&' or $op eq 'and' or $op eq 'AND'
228 3 1472 $op eq '//' or $op eq 'err'
231 3 1469 $op eq '//' or $op eq 'err' or $op eq 'ERR'
219 3 1184 $op eq '~' or $op eq '_'
121 67 33 15 $self->play_expr($tree->[2]) || $self->play_expr($tree->[3])
177 27 0 15 ref $ref eq 'SCALAR' or ref $ref eq 'REF'