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 185 0 99 builtin::blessed($thing) and $thing->isa("SQL::Wizard::Expr")
161 163 0 3 builtin::blessed($thing) and $thing->isa("SQL::Wizard::Expr")
325 145 1 12 builtin::blessed($item) and $item->isa("SQL::Wizard::Expr::Join")
346 0 2 75 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 114 0 1 builtin::blessed($where) and $where->isa("SQL::Wizard::Expr")
885 103 0 0 builtin::blessed($key) and $key->isa("SQL::Wizard::Expr")
896 93 0 8 builtin::blessed($val) and $val->isa("SQL::Wizard::Expr")
913 3 0 0 builtin::blessed($v) and $v->isa("SQL::Wizard::Expr")
956 25 0 3 builtin::blessed($rhs) and $rhs->isa("SQL::Wizard::Expr")
958 6 0 4 builtin::blessed($rhs) and $rhs->isa("SQL::Wizard::Expr")
969 9 0 0 builtin::blessed($v) and $v->isa("SQL::Wizard::Expr")
1015 17 0 6 not ref $item and $item =~ /^-(and|or)$/i
1019 0 2 4 $i <= $#items and ref $items[$i] eq "ARRAY"
1028 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'
1009 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'}
956 5 5 31 $sql_op eq "-IN" or $sql_op eq "-NOT_IN"
982 1 1 1 $sql_op eq "!=" or $sql_op eq "<>"