Condition Coverage

blib/lib/DBIx/DataModel/Schema/Generator.pm
Criterion Covered Total %
condition 14 47 29.7


and 3 conditions

line !l l&&!r l&&r condition
85 0 0 2 ref $arg1 && $arg1->isa('DBI::db')
141 0 4 1 defined $del_rule && $del_rule == 0
364 5 0 0 $a->[1]{'mult_max'} eq 1 and $a->[0]{'mult_max'} eq "*"

or 2 conditions

line l !l condition
31 2 0 $self->{'-schema'} ||= "My::Schema"
32 0 2 $self->{'tables'} ||= []
33 0 2 $self->{'assoc'} ||= []
86 0 0 shift() || ''
87 0 0 shift() || ''
88 0 0 shift() || {'RaiseError', 1}
97 0 2 shift() || 'TABLE'
106 5 2 join(' ', $dbh->primary_key(@table_id)) || 'unknown_pk'
224 0 0 $associations{$key}[1 - $index] ||= {}
368 10 0 $a->[$i]{'role'} ||= "---"

or 3 conditions

line l !l&&r !l&&!r condition
127 0 10 0 $$fk_row{"UK_$_"} ||= $$fk_row{"PK$_"}
128 0 10 0 $$fk_row{"FK_$_"} ||= $$fk_row{"FK$_"}
217 0 0 0 $moniker cmp $relmoniker || $fk cmp $pk
225 0 0 0 $other_assoc->{'table'} ||= $moniker
226 0 0 0 $other_assoc->{'col'} ||= $pk
370 10 0 0 {'0..*', '*', '1..1', '1'}->{$mult} || $mult