| lib/LIVR/Contract.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 22 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 21 | 0 | 2 | unless $subname |
| 34 | 0 | 2 | unless $args{'subname'} |
| 35 | 0 | 2 | unless $args{'package'} |
| 66 | 0 | 1 | $is_wantarray ? : |
| 68 | 0 | 1 | $is_wantarray ? : |
| 71 | 0 | 0 | $is_wantarray ? : |
| 78 | 0 | 3 | unless $$self{'requires'} |
| 82 | 2 | 1 | if (not $validator->validate($input)) |
| 89 | 0 | 1 | unless $$self{'ensures'} |
| 93 | 1 | 0 | if (not $validator->validate($output)) |
| 109 | 0 | 4 | if (ref $_[$i]) { } |