Condition Coverage

blib/lib/Net/ManageSieve.pm
Criterion Covered Total %
condition 0 89 0.0


and 3 conditions

line !l l&&!r l&&r condition
267 0 0 0 $mode and $mode =~ /\A(?:require|auto|yes|on|y)\Z/
269 0 0 0 not $rc and $mode eq 'require'
364 0 0 0 $fh && ref $fh && $fh->isa('IO::Socket::SSL')
452 0 0 0 ref $username and UNIVERSAL::isa($username, 'Authen::SASL')
761 0 0 0 defined $op and ref $op eq 'CODE'
0 0 0 defined $op and $op eq 'warn'
0 0 0 defined $op and $op eq 'die'
762 0 0 0 $assignAd &&= &$op($self, $err)
868 0 0 0 &_send_command && &_response
902 0 0 0 defined $okRsp and uc $okRsp eq uc $1
1037 0 0 0 !defined($mode) || $mode ne 'end' and $l =~ s/\A(active|ok|no|bye)\b//i

or 2 conditions

line l !l condition
223 0 0 $host ||= 'localhost'
224 0 0 $arg{'Proto'} ||= 'tcp'
225 0 0 $arg{'Port'} ||= 'managesieve(2000)'
262 0 0 delete $$tls{'mode'} || 'auto'
923 0 0 $$self{'timeout'} || undef
993 0 0 $$self{'timeout'} || undef
994 0 0 $$self{'pending_line'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
212 0 0 0 ref $self || $self
232 0 0 0 $arg{'Debug'} or $arg{'debug'}
233 0 0 0 delete $arg{'on_fail'} || delete $arg{'On_fail'}
234 0 0 0 delete $arg{'tls'} || delete $arg{'Tls'} || delete $arg{'TLS'}
759 0 0 0 !defined($Ad) || $Ad
886 0 0 0 ref $cy ne 'ARRAY' or $$cy[0] ne "\n"
896 0 0 0 $cmt ||= $c
902 0 0 0 uc $1 eq 'OK' or defined $okRsp and uc $okRsp eq uc $1
952 0 0 0 not ref $r or $$r[0] =~ /^(?:\n|active)$/i
1037 0 0 0 !defined($mode) || $mode ne 'end'
1100 0 0 0 not ref $this or ref $this eq 'CODE'
1142 0 0 0 $e or length $string == 0
1144 0 0 0 $h || $str
0 0 0 $h or not $h || $str