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
86 0 0 2 ref $arg1 && $arg1->isa('DBI::db')
142 0 4 1 defined $del_rule && $del_rule == 0
365 5 0 0 $a->[1]{'mult_max'} eq 1 and $a->[0]{'mult_max'} eq "*"

or 2 conditions

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

or 3 conditions

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