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 187 0 99 builtin::blessed($thing) and $thing->isa("SQL::Wizard::Expr")
161 165 0 3 builtin::blessed($thing) and $thing->isa("SQL::Wizard::Expr")
325 147 1 12 builtin::blessed($item) and $item->isa("SQL::Wizard::Expr::Join")
346 0 2 77 defined $wsql and $wsql ne ""
367 0 2 1 defined $hsql and $hsql ne ""
391 2 4 0 not ref $o and $o =~ /^-(.+)/
542 0 4 0 not ref $o and $o =~ /^-(.+)/
598 0 1 0 not ref $o and $o =~ /^-(.+)/
654 4 0 1 ref $query eq "HASH" and $query->{'-initial'}
769 1 0 1 builtin::blessed($item) and $item->isa("SQL::Wizard::Expr::Join")
811 0 0 5 defined $ws and $ws ne ""
852 0 0 5 defined $ws and $ws ne ""
873 116 0 1 builtin::blessed($where) and $where->isa("SQL::Wizard::Expr")
885 105 0 0 builtin::blessed($key) and $key->isa("SQL::Wizard::Expr")
896 95 0 8 builtin::blessed($val) and $val->isa("SQL::Wizard::Expr")
919 5 0 0 builtin::blessed($v) and $v->isa("SQL::Wizard::Expr")
973 26 0 3 builtin::blessed($rhs) and $rhs->isa("SQL::Wizard::Expr")
975 6 0 4 builtin::blessed($rhs) and $rhs->isa("SQL::Wizard::Expr")
986 9 0 0 builtin::blessed($v) and $v->isa("SQL::Wizard::Expr")
1032 17 0 6 not ref $item and $item =~ /^-(and|or)$/i
1036 0 2 4 $i <= $#items and ref $items[$i] eq "ARRAY"
1045 0 0 5 builtin::blessed($item) and $item->isa("SQL::Wizard::Expr")

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
214 1 1 9 $node->{'_between'} or $node->{'_not_between'}
215 1 1 0 $node->{'_between'} || $node->{'_not_between'}
973 5 5 32 $sql_op eq "-IN" or $sql_op eq "-NOT_IN"
999 1 1 1 $sql_op eq "!=" or $sql_op eq "<>"