Condition Coverage

blib/lib/Text/UnicodeBox/Utility.pm
Criterion Covered Total %
condition 10 21 47.6


and 3 conditions

line !l l&&!r l&&r condition
101 0 0 0 $directions[0] =~ /^(down|up|vertical)$/ and $directions[1] =~ /^(left|right)$/
0 0 0 $directions[0] =~ /^(horizontal)$/ and $directions[1] =~ /^(up|down)$/
155 3 6 1 $directions{'down'} and $directions{'up'}
9 0 1 $directions{'down'} and $directions{'up'} and $directions{'down'} eq $directions{'up'}
159 4 5 1 $directions{'left'} and $directions{'right'}
9 0 1 $directions{'left'} and $directions{'right'} and $directions{'left'} eq $directions{'right'}

or 3 conditions

line l !l&&r !l&&!r condition
101 0 0 0 $directions[0] =~ /^(down|up|vertical)$/ and $directions[1] =~ /^(left|right)$/ or $directions[0] =~ /^(horizontal)$/ and $directions[1] =~ /^(up|down)$/