| blib/lib/App/Math/Tutor/Role/UnitExercise.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 22 | 45.4 |
| line | true | false | branch |
|---|---|---|---|
| 57 | 0 | 3 | unless $single_inst |
| 58 | 0 | 3 | unless defined $val |
| 59 | 0 | 3 | unless ref $val eq 'ARRAY' |
| 60 | 0 | 3 | if my $neg = $$val[0] eq '!' |
| 61 | 0 | 3 | unless @$val |
| 63 | 0 | 3 | unless $single_inst |
| 68 | 0 | 18 | unless defined $neg |
| 69 | 0 | 18 | unless exists $single_inst->unit_definitions->{$ru} |
| 72 | 0 | 3 | if @brkn |
| 74 | 3 | 0 | unless $neg |
| 78 | 0 | 0 | if $_ ne '!' |