| blib/lib/Return/Value.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 28 | 28 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 153 | 6 | 89 | if @_ > 2 |
| 161 | 13 | 10 | if @_ % 2 |
| 164 | 10 | 13 | unless defined $args{'string'} |
| 167 | 8 | 10 | $args{'type'} eq 'success' ? : |
| 18 | 5 | unless defined $args{'errno'} | |
| 253 | 11 | 19 | _ah($_[0], 'type') eq 'success' ? : |
| 257 | 1 | 3 | unless @_ > 1 |
| 258 | 1 | 2 | unless $value eq 'success' or $value eq 'failure' |
| 268 | 38 | 2 | unless @_ > 1 |
| 275 | 3 | 2 | unless $name |
| 276 | 1 | 1 | unless @_ > 2 |
| 329 | 2 | 1 | $data ? : |
| 330 | 2 | 1 | ref _ah($_[0], 'data') eq 'HASH' ? : |
| 331 | 3 | 1 | ref _ah($_[0], 'data') eq 'ARRAY' ? : |