Condition Coverage

blib/lib/Erlang/Port.pm
Criterion Covered Total %
condition 0 39 0.0


and 3 conditions

line !l l&&!r l&&r condition
273 0 0 0 $hash and @$list
289 0 0 0 defined $obj and not ref $obj
0 0 0 $obj and ref $obj eq 'ARRAY'
0 0 0 $obj and ref $obj eq 'ARRAY' and @$obj == 0
0 0 0 ref $obj and UNIVERSAL::isa($obj, 'Erlang::Atom')
0 0 0 ref $obj and UNIVERSAL::isa($obj, 'Erlang::Binary')
425 0 0 0 $obj =~ /^-?\d+$/ and $obj eq unpack('N', pack('N', $obj))
430 0 0 0 $obj >= 0 and $obj <= 255

or 2 conditions

line l !l condition
223 0 0 unpack('n', substr($data, 0, 2, '')) || 0
224 0 0 substr($data, 0, $atom_len, '') || 0
225 0 0 unpack('N', substr($data, 0, 4, '')) || 0
226 0 0 unpack('N', substr($data, 0, 4, '')) || 0
227 0 0 unpack('C', substr($data, 0, 1, '')) || 0
336 0 0 shift() || []

or 3 conditions

line l !l&&r !l&&!r condition
260 0 0 0 not UNIVERSAL::isa($item, 'Erlang::Tuple') or @$item != 2