| lib/DBD/Mock/Session/GenerateFixtures.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 23 | 42 | 54.7 |
| line | l | !l | condition |
|---|---|---|---|
| 226 | 9 | 48 | $self->{'bind_named_params'} and scalar keys %{$$self{"bind_named_params"};} |
| 262 | 11 | 42 | $self->{'bind_named_params'} and scalar keys %{$$self{"bind_named_params"};} |
| 903 | 0 | 147 | $override_flag and scalar @{$result;} |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 214 | 43 | 0 | 14 | $sql =~ /^INSERT|^UPDATE|^DELETE/i and $retval |
| 224 | 0 | 57 | 0 | ref $self->{'bind_params'} and scalar @{$self->{'bind_params'};} > 0 |
| 391 | 6 | 9 | 2 | ref $retval and not defined $self->{'result'}[-1]{'results'} |
| 512 | 33 | 6 | 6 | ref $rows and scalar keys %{$rows;} == scalar @{$col_names;} |
| 545 | 1 | 0 | 2 | $attr and ref $attr eq "HASH" |
| 840 | 2 | 100 | 4 | defined $_ && $_ eq '<CURSOR>' |
| line | l | !l | condition |
|---|---|---|---|
| 191 | 0 | 0 | ($sth->{'Statement'} // $sth->{'Database'}{'Statement'}) // "" |
| 264 | 0 | 0 | ($sth->{'Statement'} // $sth->{'Database'}{'Statement'}) // "" |
| 684 | 0 | 0 | ($sth->{'Statement'} // $sth->{'Database'}{'Statement'}) // "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 191 | 57 | 0 | 0 | $sth->{'Statement'} // $sth->{'Database'}{'Statement'} |
| 264 | 5 | 0 | 0 | $sth->{'Statement'} // $sth->{'Database'}{'Statement'} |
| 336 | 6 | 0 | 0 | $bind or $val |
| 684 | 59 | 0 | 0 | $sth->{'Statement'} // $sth->{'Database'}{'Statement'} |