Condition Coverage

blib/lib/DBD/Mock/Session.pm
Criterion Covered Total %
condition 25 27 92.5


and 3 conditions

line !l l&&!r l&&r condition
32 2 1 49 exists $state->{'statement'} and exists $state->{'results'}
37 35 5 9 ref $stmt ne '' and $ref ne 'CODE'
40 8 1 ref $stmt ne '' and $ref ne 'CODE' and $ref ne 'Regexp'
90 38 7 1 $ref eq 'Regexp' and not $got =~ /$expected/
98 40 4 1 $ref eq 'CODE' and not &$expected($got, $state)
103 11 32 1 not $ref and $got ne $expected
148 34 1 7 $ref eq 'Regexp' and $statement =~ /$stmt/
149 31 0 4 $ref eq 'CODE' and &$stmt($statement, $_)
150 1 0 30 not $ref and $stmt eq $statement