Condition Coverage

blib/lib/Scope/Container/DBI.pm
Criterion Covered Total %
condition 17 40 42.5


and 3 conditions

line !l l&&!r l&&r condition
21 0 104 0 @_ and ref $_[0] || !1
65 62 0 0 $INC{'Apache/DBI.pm'} and $ENV{'MOD_PERL'}
77 14 0 0 $sleep and $retry != $_
110 10 0 0 defined $$dbi{'tid'} and $$dbi{'tid'} != 'threads'->tid
117 0 0 9 $dbh->FETCH('Active') and $dbh->ping
151 1 0 61 exists $$pack{'VERSION'} and defined *{$$pack{'VERSION'};}{'SCALAR'}
1 0 61 exists $$pack{'VERSION'} and defined *{$$pack{'VERSION'};}{'SCALAR'} and defined ${$$pack{'VERSION'};}
153 0 0 1 exists $$pack{'ISA'} and defined *{$$pack{'ISA'};}{'ARRAY'}
0 0 1 exists $$pack{'ISA'} and defined *{$$pack{'ISA'};}{'ARRAY'} and @{$$pack{'ISA'};} != 0

or 2 conditions

line l !l condition
21 36 68 ref $_[0] || !1
51 21 41 $attr ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
131 0 0 62 ref $class or not defined $class
0 0 62 ref $class or not defined $class or not length $class
158 0 0 0 ref $entry ne 'GLOB' or defined *{$entry;}{'CODE'}