Condition Coverage

blib/lib/Class/ReluctantORM/SQL.pm
Criterion Covered Total %
condition 0 100 0.0


and 3 conditions

line !l l&&!r l&&r condition
254 0 0 0 blessed $col and $col->isa('Class::ReluctantORM::SQL::Column')
259 0 0 0 blessed $param and $param->isa('Class::ReluctantORM::SQL::Param')
291 0 0 0 blessed $oc and $oc->isa(Expression())
0 0 0 blessed $oc && $oc->isa(OutputColumn())
397 0 0 0 blessed $sq and $sq->isa(SubQuery())
624 0 0 0 blessed $t and $t->isa(Table())
848 0 0 0 $inflatable &&= $check_result
881 0 0 0 $ok &&= $check
895 0 0 0 $rel->join_depth > 1 and not grep({$_->is_the_same_table($table);} $sql->tables('exclude_subqueries', 1))
898 0 0 0 $ok &&= $check
948 0 0 0 $ok &&= $check
961 0 0 0 @non_join_tables == 1 and $non_join_tables[0]->is_the_same_table($sql->base_table)
976 0 0 0 $rel_table and $table->is_the_same_table($rel_table)
1109 0 0 0 $_->join_sql_table and $right_table->is_the_same_table($_->join_sql_table, 0)
0 0 0 $_->remote_sql_table and $right_table->is_the_same_table($_->remote_sql_table, 0)
1121 0 0 0 $_->join_sql_table and $left_table->is_the_same_table($_->join_sql_table, 0)
0 0 0 $_->remote_sql_table and $left_table->is_the_same_table($_->remote_sql_table, 0)
1136 0 0 0 $_->join_sql_table and $right_table->is_the_same_table($_->join_sql_table, 0)
0 0 0 $_->remote_sql_table and $right_table->is_the_same_table($_->local_sql_table, 0)
1148 0 0 0 $_->join_sql_table and $left_table->is_the_same_table($_->join_sql_table, 0)
0 0 0 $_->remote_sql_table and $left_table->is_the_same_table($_->local_sql_table, 0)
1498 0 0 0 $already_bound &&= $_->has_bind_value
1696 0 0 0 $table->alias and exists $cache{'by_alias'}{$table->alias}
1702 0 0 0 $table->schema and exists $cache{'by_schema'}{$table->schema . '.' . $table->table}
1969 0 0 0 $op eq 'INSERT' and $self->input_subquery
2108 0 0 0 $sql->from and $sql->from->root_relation
2109 0 0 0 $sql->where and $sql->where->root_criterion

or 2 conditions

line l !l condition
1301 0 0 $tables_by_name{$table->table} ||= []
1308 0 0 $tables_by_column{$col_name} ||= []
1689 0 0 $table->alias || 'no alias'
1951 0 0 $args{'prefix'} || ''
1997 0 0 $args{'prefix'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
508 0 0 0 $self->operation eq 'INSERT' or $self->operation eq 'UPDATE'
522 0 0 0 $self->operation eq 'INSERT' or $self->operation eq 'UPDATE'
1966 0 0 0 $op eq 'INSERT' or $op eq 'UPDATE'