| lib/DBD/Mock/Session/GenerateFixtures.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 18 | 30 | 60.0 |
| line | l | !l | condition |
|---|---|---|---|
| 784 | 0 | 156 | $override_flag and scalar @{$result;} |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 204 | 46 | 0 | 14 | $sql =~ /^INSERT|^UPDATE|^DELETE/i and $retval |
| 214 | 0 | 54 | 6 | ref $self->{'bind_params'} and scalar @{$self->{'bind_params'};} > 0 |
| 268 | 7 | 11 | 2 | ref $retval and not defined $self->{'result'}[-1]{'results'} |
| 389 | 33 | 6 | 6 | ref $rows and scalar keys %{$rows;} == scalar @{$col_names;} |
| 422 | 1 | 0 | 2 | $attr and ref $attr eq "HASH" |
| 564 | 6 | 27 | 8 | $sql =~ /WHERE/i and not $sql =~ /ORDER BY/i |
| line | l | !l | condition |
|---|---|---|---|
| 181 | 0 | 0 | ($sth->{'Statement'} // $sth->{'Database'}{'Statement'}) // "" |
| 561 | 0 | 0 | ($sth->{'Statement'} // $sth->{'Database'}{'Statement'}) // "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 181 | 60 | 0 | 0 | $sth->{'Statement'} // $sth->{'Database'}{'Statement'} |
| 561 | 62 | 0 | 0 | $sth->{'Statement'} // $sth->{'Database'}{'Statement'} |