| blib/lib/Util/Underscore/Scalars.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 24 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 43 | 5 | 2 | if defined $_[0] |
| 48 | 25 | 2 | if defined $_[0] |
| 54 | 5 | 5 | unless not defined &ref_type($_[0]) |
| 59 | 9 | 2 | if defined $_[0] |
| 64 | 26 | 2 | if defined $_[0] |
| 72 | 4 | 4 | if (@_ > 1) |
| 73 | 4 | 0 | if (&is_string($_[1])) { } |
| 83 | 4 | 4 | if (&is_string($_[0])) { } |
| 4 | 0 | elsif (&is_array_ref($_[0])) { } | |
| 93 | 0 | 8 | unless &is_string($_) |
| 105 | 0 | 7 | if (@_ >= 3 and $_[2] < 0) |
| 109 | 5 | 2 | $result >= 0 ? : |