Condition Coverage

blib/lib/DBIx/DataModel/Meta/Schema.pm
Criterion Covered Total %
condition 28 55 50.9


and 3 conditions

line !l l&&!r l&&r condition
161 0 0 51 $db_name and @primary_key
354 0 64 2 $role and $role =~ /^(0|""|''|-+|none)$/
372 0 0 57 $initial_table and @join_items
437 2 0 90 $source_join && $source_join->{'table'}{'path'}{$path_name}
444 35 0 15 $accu->{'seen_left_join'} && $self->{'sql_no_inner_after_left_join'}

or 2 conditions

line l !l condition
166 0 51 $args{'primary_key'} ||= \@primary_key
187 0 2 $args{'parents'} ||= [map({$self->table($_);} @parents)]

or 3 conditions

line l !l&&r !l&&!r condition
113 0 14 0 $self->{'resultAs_namespaces'} //= &mro::get_linear_isa($self->{'class'})
164 0 51 0 $args{'class'} ||= $class_name
165 0 51 0 $args{'db_name'} ||= $db_name
183 0 2 0 $args{'class'} ||= $class_name
184 0 2 0 $args{'db_name'} ||= $sql
185 0 2 0 $args{'where'} ||= $where
186 0 2 0 $args{'default_columns'} ||= $default_columns
326 2 37 39 $is_loaded ||= &try(sub { &load($class); 1; } , &catch(sub { die $_ if not $_ =~ /^Can't locate(?! object method)/; } ))
392 12 44 0 $first_join{'alias'} || $table->name
464 26 64 0 $alias or $path_name
477 25 65 0 $source_join->{'alias'} || $source_join->{'db_table'}
478 26 64 0 $alias || $path->{'to'}->db_from