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
110 10 1 39 defined $value and $value eq 'yes'

or 2 conditions

line l !l condition
11 86 61 $params{'return_data'} ||= []
13 1 146 $params{'bound_params'} ||= []
14 0 147 $params{'bound_param_attrs'} ||= []
15 145 2 $params{'statement'} ||= ''
16 3 144 $params{'failure'} ||= undef
17 6 141 $params{'callback'} ||= undef
18 2 145 $params{'driver_attributes'} ||= {}
19 3 144 $params{'execute_attributes'} ||= {}
227 163 0 $self->{'fields'} ||= []

or 3 conditions

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