blib/lib/App/Math/Tutor/Role/Unit.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 28 | 57.1 |
line | l | !l | condition |
---|---|---|---|
193 | 0 | 7 | ++$_lb and shift @rc |
194 | 0 | 4 | $_ub-- and pop @rc |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
178 | 109 | 59 | 0 | $lb == $ub and $lb == scalar @{$$unit_type{'spectrum'};} |
179 | 109 | 32 | 27 | $lb == $ub and $ub == 0 |
141 | 0 | 27 | $lb == $ub and $ub == 0 and scalar @{$$unit_type{'spectrum'};} > 0 | |
180 | 136 | 29 | 3 | $lb == $ub and $ub < $$unit_type{'base'} |
193 | 0 | 168 | 7 | @rc and not $rc[0] |
194 | 0 | 168 | 4 | @rc and not $rc[-1] |
233 | 0 | 0 | 0 | defined $lo and abs $lb - $lo > $deviation |
234 | 0 | 0 | 0 | defined $uo and abs $lb - $uo > $deviation |