Condition Coverage

blib/lib/Math/Notation/PostfixInfix.pm
Criterion Covered Total %
condition 11 44 25.0


and 3 conditions

line !l l&&!r l&&r condition
205 10 36 0 $a1 and $a2
251 11 2 3 $no and $Math::Notation::PostfixInfix{'operand'}{$Math::Notation::PostfixInfix{'square'}}[$no - 1] eq "&"

or 2 conditions

line l !l condition
35 0 0 ref $class || $class || 'Math::Notation::PostfixInfix'

or 3 conditions

line l !l&&r !l&&!r condition
69 0 0 0 $rule =~ /^(.*)\s+=\s+(.*)$/ or $rule =~ /^(.*)\s+==\s+(.*)$/
0 0 0 $rule =~ /^(.*)\s+=\s+(.*)$/ or $rule =~ /^(.*)\s+==\s+(.*)$/ or $rule =~ /^(.*)\s+eq\s+(.*)$/i
0 0 0 $rule =~ /^(.*)\s+!=\s+(.*)$/ or $rule =~ /^(.*)\s+<>\s+(.*)$/
0 0 0 $rule =~ /^(.*)\s+!=\s+(.*)$/ or $rule =~ /^(.*)\s+<>\s+(.*)$/ or $rule =~ /^(.*)\s+ne\s+(.*)$/i
0 0 0 $rule =~ /^(.*)\s+>\s+(.*)$/ or $rule =~ /^(.*)\s+gt\s+(.*)$/
0 0 0 $rule =~ /^(.*)\s+<\s+(.*)$/ or $rule =~ /^(.*)\s+lt\s+(.*)$/
0 0 0 $rule =~ /^(.*)\s+>=\s+(.*)$/ or $rule =~ /^(.*)\s+ge\s+(.*)$/
0 0 0 $rule =~ /^(.*)\s+<=\s+(.*)$/ or $rule =~ /^(.*)\s+le\s+(.*)$/
177 0 0 10 $txt =~ /^(and|or|\&\&|\|\|)/ or $txt =~ /^\s+(and|or|\&\&|\|\|)/
0 0 10 $txt =~ /^(and|or|\&\&|\|\|)/ or $txt =~ /^\s+(and|or|\&\&|\|\|)/ or $txt =~ /(and|or|\&\&|\|\|)$/
0 0 10 $txt =~ /^(and|or|\&\&|\|\|)/ or $txt =~ /^\s+(and|or|\&\&|\|\|)/ or $txt =~ /(and|or|\&\&|\|\|)$/ or $txt =~ /(and|or|\&\&|\|\|)\s+$/
268 32 10 4 $Math::Notation::PostfixInfix{'last'} or @{$Math::Notation::PostfixInfix{'polish'};} == 0