Condition Coverage

blib/lib/ORM/Tjoin.pm
Criterion Covered Total %
condition 29 42 69.0


and 3 conditions

line !l l&&!r l&&r condition
79 39 0 0 $$self{'cond'} and $$self{'cond'}->_tjoin->class ne $$self{'class'}
288 37 38 0 defined $$self{'tables'} and @{$$self{'tables'};}
290 5 0 32 defined $$self{'used_table'} and %{$$self{'used_table'};}
422 1 1 10 $$self{'alias_num'} == 1 and $alias == 1
2 2 8 $$self{'alias_num'} == 1 and $alias == 1 and $self->tables_count == 1

or 2 conditions

line l !l condition
68 6 33 $arg{'left_prop'} || 'id'
0 39 $arg{'alias'} || undef
6 33 $arg{'left_prop'} || 'id'
0 39 $arg{'alias'} || ''
0 39 $arg{'cond'} || ''
185 1 3 $nested || ''
198 0 1 $nested || ''
205 0 1 $nested || ''
411 1 11 shift() || 1

or 3 conditions

line l !l&&r !l&&!r condition
58 0 0 39 not UNIVERSAL::isa($arg{'class'}, 'ORM') or $arg{'class'}->_is_initial
328 2 2 0 $self->table_alias($table) || $table
353 8 0 34 shift() || ($prop eq 'id' ? $self->tables->[0] : $self->class->_prop2table($prop))