Condition Coverage

blib/lib/DBIx/Tree/MaterializedPath.pm
Criterion Covered Total %
condition 11 15 73.3


or 2 conditions

line l !l condition
201 2 45 $$options{'table_name'} || 'my_tree'
202 1 46 $$options{'id_column_name'} || 'id'
203 1 46 $$options{'path_column_name'} || 'path'

or 3 conditions

line l !l&&r !l&&!r condition
185 1 46 0 ref $class || $class
205 0 47 0 $$options{'path_mapper'} || 'DBIx::Tree::MaterializedPath::PathMapper'->new
349 590 276 0 $$self{'_sth_cache'}{$sql} ||= $self->_create_sth($sql)