Condition Coverage

blib/lib/DigiByte/DigiID.pm
Criterion Covered Total %
condition 5 20 25.0


and 3 conditions

line !l l&&!r l&&r condition
70 1 0 0 $decoded_address[0] ne "\036" and not $testnet
0 1 0 $decoded_address[0] ne 'o' and $testnet

or 2 conditions

line l !l condition
40 0 0 $options{'path'} // '/callback'

or 3 conditions

line l !l&&r !l&&!r condition
37 0 0 0 $options{'nonce'} // unpack('H*', pack('B*', Crypt::OpenSSL::Random::random_pseudo_bytes(16)))
70 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
86 0 0 1 $recovery_flags < 0 or $recovery_flags > 7