| lib/Class/DBI/Lite.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 23 | 54 | 42.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 101 | 0 | 135 | 2475 | $Class::DBI::Lite::Weaken_Is_Available and not $is_void_context |
| 205 | 19 | 10276 | 0 | $s->db_Main->{'AutoCommit'} and $s->root_meta->has_slaves |
| 750 | 6 | 0 | 0 | $where and keys %$where |
| 851 | 0 | 11 | 6 | keys %$where == 1 and (keys %$where)[0] eq '1' |
| 11 | 0 | 6 | keys %$where == 1 and (keys %$where)[0] eq '1' and (values %$where)[0] eq '1' | |
| 1160 | 207 | 3654 | 1 | $s->{'__Changed'} and keys %{$$s{'__Changed'};} |
| line | l | !l | condition |
|---|---|---|---|
| 555 | 2 | 0 | $args{'args'} ||= [] |
| 556 | 1 | 1 | $args{'isa'} ||= 'Class::DBI::Lite' |
| 798 | 1 | 2 | $args->{'sql_args'} ||= [] |
| 942 | 1 | 21 | $attrs ||= {} |
| 995 | 51 | 14 | $s->_meta->{'triggers'}{$event} ||= [] |
| 1008 | 123242 | 50 | $s->_meta->{'triggers'}{$event} ||= [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 414 | 0 | 0 | 0 | ref $s || $s |
| 496 | 0 | 0 | 0 | ref $s || $s |
| 530 | 0 | 0 | 0 | ref $s || $s |
| 586 | 0 | 0 | 0 | ref $s || $s |
| 670 | 0 | 0 | 0 | ref $s || $s |
| 712 | 0 | 0 | 0 | ref $s || $s |
| 864 | 0 | 0 | 0 | ref $s || $s |
| 1143 | 0 | 0 | 0 | ref $s || $s |