blib/lib/DBD/Mock/StatementTrack.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 20 | 90.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
108 | 10 | 1 | 39 | defined $value and $value eq 'yes' |
line | l | !l | condition |
---|---|---|---|
11 | 82 | 61 | $params{'return_data'} ||= [] |
13 | 1 | 142 | $params{'bound_params'} ||= [] |
14 | 0 | 143 | $params{'bound_param_attrs'} ||= [] |
15 | 141 | 2 | $params{'statement'} ||= '' |
16 | 3 | 140 | $params{'failure'} ||= undef |
17 | 5 | 138 | $params{'callback'} ||= undef |
219 | 159 | 0 | $self->{'fields'} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
12 | 78 | 62 | 3 | $params{'fields'} ||= $DBD::Mock::DefaultFieldsToUndef ? undef : [] |