| lib/Acme/ExtUtils/XSOne/Test/Calculator/Memory.xs | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 12 | 91.6 |
| line | true | false | branch |
|---|---|---|---|
| 9 | 8 | 2 | return (slot >= 0 && slot < MAX_MEMORY_SLOTS); |
| 6 | 2 | return (slot >= 0 && slot < MAX_MEMORY_SLOTS); | |
| 14 | 20 | 2 | for (int i = 0; i < MAX_MEMORY_SLOTS; i++) { |
| 15 | 4 | 16 | if (memory_slots[i] != 0.0) count++; |
| 22 | 20 | 2 | for (int i = 0; i < MAX_MEMORY_SLOTS; i++) { |
| 29 | 4 | 0 | if (mem_is_valid_slot(slot)) { |