| blib/lib/Search/Tools/ArgNormalizer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 6 | 10 | 60.0 |
| line | true | false | branch |
|---|---|---|---|
| 14 | 0 | 53 | unless (defined $q) |
| 17 | 25 | 28 | if (not ref $q) { } |
| 0 | 28 | elsif (ref $q eq 'ARRAY') { } | |
| 28 | 0 | elsif (&blessed($q) and $q->isa('Search::Tools::Query')) { } | |
| 48 | 0 | 91 | unless my $attr = shift() |