blib/lib/Footprintless/Plugin/Database/PreparedStatementTemplate.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 30 | 90.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
107 | 45 | 717 | 11 | not $in_quote and $char eq '/' |
762 | 0 | 11 | not $in_quote and $char eq '/' and substr($sql, $ix + 1, 1) eq '*' | |
45 | 707 | 10 | not $in_quote and $char eq '-' | |
752 | 0 | 10 | not $in_quote and $char eq '-' and substr($sql, $ix + 1, 1) eq '-' | |
129 | 3 | 2 | 15 | $ref eq 'HASH' and defined $binding->{'value'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
129 | 4 | 2 | 23 | !$ref && $binding || $ref eq 'HASH' && $binding->{'key'} |
2 | 1 | 20 | $ref eq 'SCALAR' && $binding || $ref eq 'HASH' && $binding->{'reference'} | |
3 | 2 | 0 | $ref eq 'CODE' && $binding || $ref eq 'HASH' && $binding->{'code'} | |
163 | 12 | 6 | 23 | defined $binding->{'key'} or defined $binding->{'reference'} |
18 | 10 | 13 | defined $binding->{'key'} or defined $binding->{'reference'} or defined $binding->{'code'} |