Condition Coverage

blib/lib/DBD/Mock/StatementTrack.pm
Criterion Covered Total %
condition 22 24 91.6


and 3 conditions

line !l l&&!r l&&r condition
112 10 1 39 defined $value and $value eq 'yes'

or 2 conditions

line l !l condition
13 87 61 $params{'return_data'} ||= []
15 1 147 $params{'bound_params'} ||= []
16 0 148 $params{'bound_param_attrs'} ||= []
17 146 2 $params{'statement'} ||= ''
18 3 145 $params{'failure'} ||= undef
19 7 141 $params{'callback'} ||= undef
20 2 146 $params{'driver_attributes'} ||= {}
21 3 145 $params{'execute_attributes'} ||= {}
230 163 0 $self->{'fields'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
14 82 62 4 $params{'fields'} ||= $DBD::Mock::DefaultFieldsToUndef ? undef : []