Branch Coverage

blib/lib/Mail/Box/IMAP4.pm
Criterion Covered Total %
branch 0 74 0.0


line true false branch
39 0 0 if $folder eq "="
47 0 0 if ($folder ne "/")
58 0 0 if $ch eq "NO" or $ch eq "PARTIAL"
64 0 0 if (my $client = $args->{'imap_client'})
77 0 0 unless builtin::blessed($transport)
80 0 0 unless defined $transport
82 0 0 $args->{'create'} ? :
88 0 0 unless ($args->{'access'} =~ /w|a/)
98 0 0 if @_ % 2
102 0 0 unless exists $args{'type'} and $args{'type'} =~ /^imap/i
111 0 0 unless $self->SUPER::close(@_)
120 0 0 unless ref $thing
124 0 0 defined $imap ? :
135 0 0 if $name eq "/"
144 0 0 $ch eq 'DELAY' ? :
145 0 0 $ch eq 'PARTIAL' ? :
148 0 0 unless $self->{'MBI_selectable'}
175 0 0 unless my $imap = $self->transporter
179 0 0 unless (@fields)
195 0 0 unless my $imap = $self->transporter
199 0 0 unless (defined $lines)
210 0 0 unless (defined $head)
217 0 0 unless (defined $body)
233 0 0 $self->{'MBI_cache_body'} ? :
0 0 unless @_
243 0 0 unless my $imap = $self->transporter
247 0 0 if ($args{'save_deleted'}) { }
285 0 0 exists $args{'join_connection'} ? :
288 0 0 if ($join)
290 0 0 if defined $transporters{$linkid}
298 0 0 unless my $transporter = $class->new(%args, "hostname", $hostname, "port", $port, "username", $username, "password", $self->{'MBN_password'}, "domain", $self->{'MBI_domain'})
300 0 0 if (defined $linkid)
314 0 0 if (@_) { }
321 0 0 unless defined $imap
326 0 0 unless $self->{'MBI_selectable'} = $imap->currentFolder($name)
336 0 0 unless my $imap = $self->transporter
337 0 0 unless ref $what eq "ARRAY"