blib/lib/SQL/Abstract/Test.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 38 | 65.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
31 | 1071 | 0 | 3 | ref $chunk eq 'REF' and ref $$chunk eq 'ARRAY' |
55 | 0 | 0 | 533 | $same_sql && $same_bind |
141 | 1 | 1 | 2 | eq_sql($sql1, $sql2) && eq_bind($bind_ref1, $bind_ref2) |
162 | 38452 | 1 | 18 | @$left == 0 and @$right == 0 |
196 | 0 | 886 | 3462 | $sql_differ and $sql_differ =~ /left\:\s .+ right:\s/sx |
line | l | !l | condition |
---|---|---|---|
119 | 0 | 0 | shift() || '' |
120 | 0 | 0 | shift() || '' |
197 | 886 | 0 | $sql_differ ||= '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
178 | 1 | 8 | 38444 | @$left == 0 or @$right == 0 |
194 | 23046 | 12 | 10023 | $i <= $#$left or $i <= $#$right |
240 | 3075 | 0 | 0 | $sql_differ ||= sprintf("left: %s\nright: %s\n", map({$sqlat->unparse($_);} $left, $right)) |
line | l&&r | l&&!r | !l&&r | !l&&!r | condition |
---|---|---|---|---|---|
162 | 38471 | 9 | 12 | 1044 | defined $left xor defined $right |
178 | 14371 | 0 | 0 | 24073 | ref $left->[0] xor ref $right->[0] |