Branch Coverage

blib/lib/Net/POP3S.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
32 0 0 if (@_ % 2) { }
42 0 0 defined $host ? :
53 0 0 defined $_args{'Timeout'} ? :
54 0 0 if (exists $_args{'ResvPort'})
58 0 0 ref $hosts ? :
61 0 0 if $obj = $type->SUPER::new(%_args)
68 0 0 unless defined $obj
73 0 0 exists $arg{'Debug'} ? :
77 0 0 if ($ssl)
80 0 0 unless (eval { do { require IO::Socket::SSL } })
86 0 0 exists $arg{'Debug'} ? :
90 0 0 if (defined $ssl and $ssl =~ /ssl/i)
92 0 0 unless ($obj->ssl_start(\%ssl_args))
99 0 0 unless ($obj->response == CMD_OK())
107 0 0 if (defined $ssl and $ssl =~ /starttls|stls/i)
113 0 0 unless ($capa = $obj->capa and exists $$capa{'STLS'} and $obj->command('STLS')->response == CMD_OK() and $obj->ssl_start(\%ssl_args))
127 0 0 unless unshift @Net::POP3S::ISA, 'IO::Socket::SSL' and 'IO::Socket::SSL'->start_SSL($self, %$args) and $self->isa('IO::Socket::SSL') and bless $self, $type
138 0 0 unless eval { do { require MIME::Base64; require Authen::SASL } }
144 0 0 if ($mechs) { }
153 0 0 if (ref $username and UNIVERSAL::isa($username, 'Authen::SASL')) { }
162 0 0 @user_mech ? :
164 0 0 unless (@mech)
181 0 0 unless length $username
197 0 0 unless ($client)
210 0 0 unless (my($token) = $client->client_start)
229 0 0 if defined $token and length $token
234 0 0 unless (my($token) = $client->client_step(MIME::Base64::decode_base64(($self->message)[0])))
245 0 0 defined $token ? :