Branch Coverage

blib/lib/Net/LDAP/Control/Sort.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
18 0 0 if (exists $self->{'value'}) { }
0 0 elsif (exists $self->{'order'}) { }
22 0 0 ref $self->{'order'} ? :
31 0 0 if (@_)
40 0 0 unless ($asn)
48 0 0 $_->{'reverseOrder'} ? :
0 0 defined $_->{'orderingRule'} ? :
54 0 0 unless (defined $self->{'value'})
60 0 0 defined $1 ? :
0 0 defined $3 ? :
64 0 0 unless $self->{'order'}
66 0 0 unless $self->{'value'} = $Net::LDAP::Control::Sort::SortRequest->encode('order', [map({/^(-)?([^:]+)(?::(.+))?/; +{'type', $2, defined $1 ? ('reverseOrder', 1) : (), defined $3 ? ('orderingRule', $3) : ()};} @{[] unless $self->{'order'};})])
77 0 0 if (@_)
87 0 0 @_ == 1 ? :
94 0 0 if /^-?[^:]+(?::.+)?$/