Branch Coverage

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


line true false branch
83 0 0 if exists $Type2Pkg{$oid} and $Type2Pkg{$oid} ne $class
86 0 0 if exists $Pkg2Type{$class} and $Pkg2Type{$class} ne $oid
95 0 4 @_ & 1 ? :
100 0 4 unless ($args{'type'} =~ /^\d+(?:\.\d+)+$/)
105 4 0 if ($pkg eq 'Net::LDAP::Control' and exists $Type2Pkg{$args{'type'}})
107 0 4 unless eval "require $pkg"
121 0 0 if ($class eq 'Net::LDAP::Control' and exists $Type2Pkg{$asn->{'type'}})
123 0 0 unless eval "require $class"
134 0 0 unless $self->{'critical'}
140 0 2 if @_
141 0 2 unless $self->{'critical'}
146 0 0 if @_
148 0 0 unless $self->{'value'}