| blib/lib/DigiByte/DigiID.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 5 | 20 | 25.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 69 | 1 | 0 | 0 | $decoded_address[0] ne "\036" and not $testnet |
| 0 | 1 | 0 | $decoded_address[0] ne 'o' and $testnet |
| line | l | !l | condition |
|---|---|---|---|
| 39 | 0 | 0 | $options{'path'} // '/callback' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 37 | 0 | 0 | 0 | $options{'nonce'} // 'Data::UUID'->new->create_hex |
| 69 | 0 | 0 | 1 | length $decoded_address != 21 or $decoded_address[0] ne "\036" and not $testnet |
| 0 | 0 | 1 | length $decoded_address != 21 or $decoded_address[0] ne "\036" and not $testnet or $decoded_address[0] ne 'o' and $testnet | |
| 85 | 0 | 0 | 1 | $recovery_flags < 0 or $recovery_flags > 7 |