| blib/lib/Return/Value.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 28 | 28 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 25 | 6 | 89 | if @_ > 2 |
| 33 | 13 | 10 | if @_ % 2 |
| 36 | 10 | 13 | unless defined $args{'string'} |
| 38 | 8 | 10 | $args{'type'} eq 'success' ? : |
| 18 | 5 | unless defined $args{'errno'} | |
| 57 | 11 | 19 | _ah($_[0], 'type') eq 'success' ? : |
| 61 | 1 | 3 | unless @_ > 1 |
| 62 | 1 | 2 | unless $value eq 'success' or $value eq 'failure' |
| 72 | 38 | 2 | unless @_ > 1 |
| 79 | 3 | 2 | unless $name |
| 80 | 1 | 1 | unless @_ > 2 |
| 98 | 2 | 1 | $data ? : |
| 99 | 2 | 1 | ref _ah($_[0], 'data') eq 'HASH' ? : |
| 100 | 3 | 1 | ref _ah($_[0], 'data') eq 'ARRAY' ? : |