Condition Coverage

blib/lib/SQL/Abstract/Test.pm
Criterion Covered Total %
condition 28 56 50.0


and 3 conditions

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

or 2 conditions

line l !l condition
123 0 0 shift() || ''
124 0 0 shift() || ''
203 886 0 $sql_differ ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
55 0 534 0 $tb || 'SQL::Abstract::Test'->builder
77 0 35 0 $tb || 'SQL::Abstract::Test'->builder
96 0 1 0 $tb || 'SQL::Abstract::Test'->builder
118 0 0 0 $tb || 'SQL::Abstract::Test'->builder
126 0 0 0 $tb || 'SQL::Abstract::Test'->builder
138 0 0 0 $tb || 'SQL::Abstract::Test'->builder
184 1 8 38448 @$left == 0 or @$right == 0
200 23048 12 10025 $i <= $#$left or $i <= $#$right
246 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
168 38475 9 12 1044 defined $left xor defined $right
184 14373 0 0 24075 ref $left->[0] xor ref $right->[0]