Branch Coverage

blib/lib/Net/LDAP/Control.pm
Criterion Covered Total %
branch 6 26 23.0


line true false branch
79 0 0 if exists $Type2Pkg{$oid} and $Type2Pkg{$oid} ne $class
82 0 0 if exists $Pkg2Type{$class} and $Pkg2Type{$class} ne $oid
91 0 4 @_ & 1 ? :
96 0 4 unless ($args{'type'} =~ /^\d+(?:\.\d+)+$/)
101 4 0 if ($pkg eq 'Net::LDAP::Control' and exists $Type2Pkg{$args{'type'}})
103 0 4 unless eval "require $pkg"
117 0 0 if ($class eq 'Net::LDAP::Control' and exists $Type2Pkg{$asn->{'type'}})
119 0 0 unless eval "require $class"
130 0 0 unless $self->{'critical'}
136 0 2 if @_
137 0 2 unless $self->{'critical'}
142 0 0 if @_
144 0 0 unless $self->{'value'}