| blib/lib/DBIx/Printf/Named.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 23 | 26 | 88.4 |
| line | true | false | branch |
|---|---|---|---|
| 17 | 8 | 28 | defined $like_escape ? : |
| 34 | 8 | 28 | if ($$in{'type'} eq '%') { } |
| 7 | 21 | elsif ($$in{'type'} eq 'like') { } | |
| 37 | 7 | 0 | if $$in{'like_fmt'} |
| 43 | 1 | 20 | unless exists $$in{'params'}{$$in{'key'}} |
| 55 | 7 | 13 | if ($type eq 'd') { } |
| 4 | 9 | elsif ($type eq 'f') { } | |
| 8 | 1 | elsif ($type eq 's') { } | |
| 1 | 0 | elsif ($type eq 't') { } | |
| 60 | 6 | 2 | if ($in_like) |
| 61 | 4 | 2 | defined $like_escape_char ? : |
| 65 | 6 | 2 | if ($in_like) |
| 66 | 0 | 6 | unless $param =~ s/^'(.*)'$/$1/s |