blib/lib/Mail/Box/Dir.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 17 | 52.9 |
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 |
line | l | !l | condition |
---|---|---|---|
38 | 0 | 35 | $args->{'body_type'} ||= sub { 'Mail::Message::Body::Lines'; } |
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) |