blib/lib/Mail/Box/Parser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 20 | 25.0 |
line | true | false | branch |
---|---|---|---|
24 | 0 | 12 | $class eq 'Mail::Box::Parser' ? : |
37 | 0 | 12 | unless ($self->{'MBP_filename'} = $args->{'filename'} || ref $args->{'file'}) |
52 | 0 | 12 | unless $self->openFile(\%args) |
83 | 0 | 0 | unless $self->openFile({"filename", $filename, "mode", $self->{'MBP_mode'}}) |
94 | 0 | 0 | unless defined $size and defined $mtime |
95 | 0 | 0 | unless $size != $self->{'MBP_size'} |
154 | 1 | 0 | if (@_) |
156 | 1 | 0 | if $parser_type->isa("Mail::Box::Parser") |
163 | 0 | 0 | if $parser_type |
169 | 0 | 0 | unless $@ |