Branch Coverage

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


line true false branch
35 0 0 if not defined $folder or $folder eq "="
44 0 0 if ($folder ne "/")
55 0 0 if $ch eq "NO" or $ch eq "PARTIAL"
61 0 0 if (my $client = $args->{'imap_client'})
75 0 0 unless ref $transport
80 0 0 unless defined $transport
84 0 0 $args->{'create'} ? :
91 0 0 unless ($args->{'access'} =~ /w|a/)
102 0 0 if @_ % 2
106 0 0 unless exists $options{'type'} and $options{'type'} =~ /^imap/i
115 0 0 unless $self->SUPER::close(@_)
124 0 0 unless ref $thing
128 0 0 defined $imap ? :
139 0 0 if $name eq "/"
142 0 0 unless defined $imap
151 0 0 $ch eq 'DELAY' ? :
152 0 0 $ch eq 'PARTIAL' ? :
155 0 0 unless $self->{'MBI_selectable'}
186 0 0 unless my $imap = $self->transporter
191 0 0 unless (@fields)
207 0 0 unless my $imap = $self->transporter
211 0 0 unless (defined $lines)
222 0 0 unless (defined $head)
229 0 0 unless (defined $body)
245 0 0 unless (@_)
246 0 0 $self->{'MBI_cache_body'} ? :
257 0 0 unless my $imap = $self->transporter
259 0 0 unless $self->SUPER::write(%args, "transporter", $imap)
261 0 0 if ($args{'save_deleted'}) { }
299 0 0 exists $args{'join_connection'} ? :
302 0 0 if ($join)
304 0 0 if defined $transporters{$linkid}
312 0 0 unless my $transporter = $class->new(%args, "hostname", $hostname, "port", $port, "username", $username, "password", $self->{'MBN_password'}, "domain", $self->{'MBI_domain'})
314 0 0 if (defined $linkid)
328 0 0 if (@_) { }
330 0 0 unless defined $imap
336 0 0 unless (defined $imap)
345 0 0 if defined $self->{'MBI_selectable'}
355 0 0 unless my $imap = $self->transporter
356 0 0 unless ref $what eq "ARRAY"