Branch Coverage

blib/lib/Mail/Box/Identity.pm
Criterion Covered Total %
branch 42 66 63.6


line true false branch
31 0 13 if @_ % 2
48 0 13 exists $args->{'inferiors'} ? :
60 43 21 @_ && defined $_[0] ? :
62 22 42 unless my $parent = $self->parent
69 0 77 if @_
70 25 52 if defined $self->{'MBI_location'}
72 0 52 unless my $parent = $self->parent
82 75 147 if defined $self->{'MBI_ftype'}
84 0 147 unless my $parent = $self->parent
94 1 0 if $self->{'MBI_manager'}
95 0 0 unless my $parent = $self->parent
103 4 7 unless my $parent = $self->parent
111 0 1 if @_
112 1 0 if exists $self->{'MBI_only_subs'}
113 0 0 $self->parent ? :
120 0 0 if (@_) { }
127 0 1 if (@_) { }
134 0 0 if (@_) { }
142 3 29 wantarray ? :
32 22 if defined $subs
146 22 0 if (my $location = $self->location) { }
151 0 0 defined $mgr ? :
154 18 4 unless @subs
162 2 2 wantarray ? :
173 8 22 unless @_ and defined $_[0]
175 1 21 unless my $subs = $self->subfolders
176 2 19 unless my $nest = $subs->find(shift())
191 16 8 unless my $subs = $self->subfolders
202 0 1 if (defined $subs) { }
0 1 elsif (not $self->inferiors) { }
221 0 2 unless my $parent = $self->parent
224 1 1 unless @_
227 0 1 unless my $subs = $self->subfolders