Condition Coverage

blib/lib/SQL/Abstract/Test.pm
Criterion Covered Total %
condition 25 38 65.7


and 3 conditions

line !l l&&!r l&&r condition
31 1073 0 3 ref $chunk eq 'REF' and ref $$chunk eq 'ARRAY'
55 0 0 534 $same_sql && $same_bind
141 1 1 2 eq_sql($sql1, $sql2) && eq_bind($bind_ref1, $bind_ref2)
162 38456 1 18 @$left == 0 and @$right == 0
196 0 886 3462 $sql_differ and $sql_differ =~ /left\:\s .+ right:\s/sx

or 2 conditions

line l !l condition
119 0 0 shift() || ''
120 0 0 shift() || ''
197 886 0 $sql_differ ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
178 1 8 38448 @$left == 0 or @$right == 0
194 23048 12 10025 $i <= $#$left or $i <= $#$right
240 3075 0 0 $sql_differ ||= sprintf("left: %s\nright: %s\n", map({$sqlat->unparse($_);} $left, $right))

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
162 38475 9 12 1044 defined $left xor defined $right
178 14373 0 0 24075 ref $left->[0] xor ref $right->[0]