Condition Coverage

blib/lib/DBIx/DataModel/Meta/Schema.pm
Criterion Covered Total %
condition 27 52 51.9


and 3 conditions

line !l l&&!r l&&r condition
147 0 0 48 $db_name and @primary_key
309 0 62 2 $role and $role =~ /^(0|""|''|-+|none)$/
333 0 0 48 $initial_table and @join_names
375 2 0 76 $source_join && $source_join->{'table'}{'path'}{$path_name}

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
150 0 48 0 $args{'class'} ||= $class_name
151 0 48 0 $args{'db_name'} ||= $db_name
169 0 2 0 $args{'class'} ||= $class_name
170 0 2 0 $args{'db_name'} ||= $sql
171 0 2 0 $args{'where'} ||= $where
172 0 2 0 $args{'default_columns'} ||= $default_columns
351 12 35 0 $first_join{'alias'} || $table->name
382 20 15 29 $path->{'multiplicity'}[0] == 0 || $seen_left_join && $self->{'sql_no_inner_after_left_join'}
12 64 0 $join_kind ||= $path->{'multiplicity'}[0] == 0 || $seen_left_join && $self->{'sql_no_inner_after_left_join'} ? "=>" : "<=>"
390 25 51 0 $source_join->{'alias'} || $source_join->{'db_table'}
391 24 52 0 $alias || $path->{'to'}->db_from
421 24 52 0 $alias or $path_name