Branch Coverage

blib/lib/Mail/Box/Manage/User.pm
Criterion Covered Total %
branch 4 46 8.7


line true false branch
26 0 2 unless $self->SUPER::init($args)
29 0 2 unless defined $identity
34 2 0 unless (ref $top)
36 2 0 unless defined $name
64 0 0 @_ ? :
82 0 0 unless my $top = $self->topfolder
84 0 0 unless shift @path eq $top->name
93 0 0 unless my $top = $self->topfolder
96 0 0 unless (shift @path eq $top->name)
114 0 0 unless (defined $dir)
115 0 0 unless ($args{'create_supers'})
120 0 0 unless (my $upper = $name) =~ s/$self->{'MBMU_delim'}$base//
127 0 0 if (not defined $id) { }
0 0 elsif ($args{'deleted'}) { }
0 0 elsif ($id->deleted) { }
145 0 0 if (not defined $args{'create_real'} or $args{'create_real'})
146 0 0 unless $self->defaultFolderType->create($id->location, %args)
157 0 0 unless my $id = $self->folder($name)
169 0 0 unless (defined $old)
176 0 0 unless (defined $newdir)
177 0 0 unless ($args{'create_supers'})
183 0 0 unless (my $upper = $newname) =~ s/$self->{'MBMU_delim'}$base//
193 0 0 if ($oldlocation ne $newlocation)