Condition Coverage

lib/Class/DBI/Lite.pm
Criterion Covered Total %
condition 16 20 80.0


and 3 conditions

line !l l&&!r l&&r condition
257 125 0 252 exists $pre_obj->{$_} and defined $pre_obj->{$_}
314 0 1 2 $s->{'__Changed'} and keys %{$$s{'__Changed'};}
751 252 11 0 $s->{'__Changed'} and keys %{$$s{'__Changed'};}

or 2 conditions

line l !l condition
53 2 8 ${"${class}::meta";} ||= {'table', undef, 'columns', {'All', [], 'Primary', [], 'Essential', []}, 'triggers', {'before_create', [], 'after_create', [], 'before_update', [], 'after_update', [], 'before_delete', [], 'after_delete', []}, 'has_a_rels', {}, 'has_many_rels', {}}
71 8 2 ${'Class::DBI::Lite::meta';} ||= {'dsn', [], 'schema', undef}
643 519 17 $s->_meta->{'triggers'}{$event} ||= []
726 3 1 $s->{'__Changed'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
138 3353 0 1586 ref $_[0] || $_[0]