Condition Coverage

blib/lib/Net/RNDC/Packet.pm
Criterion Covered Total %
condition 17 23 73.9


and 3 conditions

line !l l&&!r l&&r condition
47 11 4 1 $args{'data'} and (ref $args{'data'} || '') ne 'HASH'
51 14 0 1 exists $args{'version'} and not +($args{'version'} || '') =~ /^\d+\z/
55 10 3 1 exists $args{'nonce'} and not +($args{'nonce'} || '') =~ /^\d+\z/

or 2 conditions

line l !l condition
47 4 1 ref $args{'data'} || ''
51 1 0 $args{'version'} || ''
55 4 0 $args{'nonce'} || ''
59 0 13 $args{'version'} || 1
353 18 30 ref $data || 'binary'
375 11 0 length $_[1] || 0
392 296 0 length $_[0] || 0