| blib/lib/DBIx/Printf.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 25 | 30 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 15 | 8 | 28 | defined $like_escape ? : |
| 32 | 8 | 28 | if ($$in{'type'} eq '%') { } |
| 7 | 21 | elsif ($$in{'type'} eq 'like') { } | |
| 58 | 1 | 20 | unless @$params |
| 61 | 8 | 12 | if ($type eq 'd') { } |
| 4 | 8 | elsif ($type eq 'f') { } | |
| 0 | 8 | elsif ($type eq 'l') { } | |
| 7 | 1 | elsif ($type eq 's') { } | |
| 1 | 0 | elsif ($type eq 't') { } | |
| 68 | 0 | 0 | unless $param =~ s/^'(.*)'$/$1/s |
| 71 | 6 | 1 | if ($in_like) |
| 72 | 4 | 2 | defined $like_escape_char ? : |
| 76 | 6 | 1 | if ($in_like) |
| 77 | 0 | 6 | unless $param =~ s/^'(.*)'$/$1/s |
| 95 | 1 | 21 | if @params |