Condition Coverage

blib/lib/Mail/Box/Dir.pm
Criterion Covered Total %
condition 9 17 52.9


and 3 conditions

line !l l&&!r l&&r condition
47 0 0 1 $args->{'create'} and $class->create($directory, %$args)
66 10 0 25 $self->writable and -e $directory
10 25 0 $self->writable and -e $directory and not -w $directory

or 2 conditions

line l !l condition
38 0 35 $args->{'body_type'} ||= sub { 'Mail::Message::Body::Lines'; }

or 3 conditions

line l !l&&r !l&&!r condition
45 0 35 0 $args->{'directory'} || $self->directory
85 118 35 0 $self->{'MBD_directory'} ||= $self->folderToDirectory($self->name, $self->folderdir)