Condition Coverage

blib/lib/open/layers.pm
Criterion Covered Total %
condition 11 17 64.7


and 3 conditions

line !l l&&!r l&&r condition
20 27 1 0 defined $ref and $ref eq 'GLOB' || $ref eq 'IO'
0 26 1 not defined $ref and &Scalar::Util::reftype(\$arg) eq 'GLOB'

or 2 conditions

line l !l condition
42 1 9 ${^OPEN} || "\000"

or 3 conditions

line l !l&&r !l&&!r condition
20 1 0 0 $ref eq 'GLOB' || $ref eq 'IO'
1 1 26 defined $ref and $ref eq 'GLOB' || $ref eq 'IO' or not defined $ref and &Scalar::Util::reftype(\$arg) eq 'GLOB'
35 22 0 0 binmode $_, $layer or Carp::croak("open::layers: binmode $_ failed: $!")