Condition Coverage

blib/lib/Net/LDAP/Control.pm
Criterion Covered Total %
condition 6 29 20.6


and 3 conditions

line !l l&&!r l&&r condition
77 0 0 0 require Carp and Carp::croak("$oid is already registered to $Type2Pkg{$oid}")
0 0 0 exists $Type2Pkg{$oid} and $Type2Pkg{$oid} ne $class
80 0 0 0 require Carp and Carp::croak("$class is already registered to $Pkg2Type{$class}")
0 0 0 exists $Pkg2Type{$class} and $Pkg2Type{$class} ne $oid
99 3 0 4 $pkg eq 'Net::LDAP::Control' and exists $Type2Pkg{$args{'type'}}
115 0 0 0 $class eq 'Net::LDAP::Control' and exists $Type2Pkg{$asn->{'type'}}

or 2 conditions

line l !l condition
92 3 0 $oid || $Pkg2Type{$pkg} || ''

or 3 conditions

line l !l&&r !l&&!r condition
88 0 7 0 ref $self || $self
92 4 3 0 $args{'type'} ||= $oid || $Pkg2Type{$pkg} || ''
113 0 0 0 ref $self || $self