Condition Coverage

blib/lib/DBIx/LazyMethod.pm
Criterion Covered Total %
condition 1 28 3.5


and 2 conditions

line l !l condition
219 0 0 not $rv and 0

and 3 conditions

line !l l&&!r l&&r condition
95 0 0 0 ${%$methods_ref;}{$meth}{'ret'} != 5 and defined ${%$methods_ref;}{$meth}{'noprepare'}
100 0 0 0 defined ${%$methods_ref;}{$meth}{'noquote'} and not defined ${%$methods_ref;}{$meth}{'noprepare'}
139 0 0 0 exists $$self{'_dbh'} and ref $$self{'_dbh'} eq 'DBI::db'

or 2 conditions

line l !l condition
113 0 0 $args{'data_source'} || die('Argument data_source missing')
114 0 0 $args{'user'} || ''
115 0 0 $args{'pass'} || undef
116 0 0 $args{'attr'} || undef

or 3 conditions

line l !l&&r !l&&!r condition
40 0 1 0 ref $class || $class
231 0 0 0 not defined $ret or ref $ret eq 'ARRAY'
238 0 0 0 not defined $ret or ref $ret eq 'HASH'