Condition Coverage

blib/lib/SQL/Wizard/Renderer.pm
Criterion Covered Total %
condition 51 82 62.2


and 3 conditions

line !l l&&!r l&&r condition
150 182 0 93 builtin::blessed($thing) and $thing->isa("SQL::Wizard::Expr")
161 157 0 3 builtin::blessed($thing) and $thing->isa("SQL::Wizard::Expr")
312 139 1 12 builtin::blessed($item) and $item->isa("SQL::Wizard::Expr::Join")
333 0 2 69 defined $wsql and $wsql ne ""
354 0 2 1 defined $hsql and $hsql ne ""
378 2 4 0 not ref $o and $o =~ /^-(.+)/
529 0 4 0 not ref $o and $o =~ /^-(.+)/
585 0 1 0 not ref $o and $o =~ /^-(.+)/
641 4 0 1 ref $query eq "HASH" and $query->{'-initial'}
756 1 0 1 builtin::blessed($item) and $item->isa("SQL::Wizard::Expr::Join")
798 0 0 5 defined $ws and $ws ne ""
839 0 0 5 defined $ws and $ws ne ""
860 108 0 1 builtin::blessed($where) and $where->isa("SQL::Wizard::Expr")
872 101 0 0 builtin::blessed($key) and $key->isa("SQL::Wizard::Expr")
883 93 0 6 builtin::blessed($val) and $val->isa("SQL::Wizard::Expr")
900 3 0 0 builtin::blessed($v) and $v->isa("SQL::Wizard::Expr")
943 25 0 3 builtin::blessed($rhs) and $rhs->isa("SQL::Wizard::Expr")
945 6 0 4 builtin::blessed($rhs) and $rhs->isa("SQL::Wizard::Expr")
956 9 0 0 builtin::blessed($v) and $v->isa("SQL::Wizard::Expr")
1002 13 0 6 not ref $item and $item =~ /^-(and|or)$/i
1006 0 2 4 $i <= $#items and ref $items[$i] eq "ARRAY"
1015 0 0 1 builtin::blessed($item) and $item->isa("SQL::Wizard::Expr")

or 2 conditions

line l !l condition
78 3 0 $self->{'dialect'} || 'ansi'
996 4 9 $default_logic || 'AND'

or 3 conditions

line l !l&&r !l&&!r condition
201 1 1 9 $node->{'_between'} or $node->{'_not_between'}
202 1 1 0 $node->{'_between'} || $node->{'_not_between'}
943 5 5 31 $sql_op eq "-IN" or $sql_op eq "-NOT_IN"
969 1 1 1 $sql_op eq "!=" or $sql_op eq "<>"