Condition Coverage

blib/lib/MIME/Body.pm
Criterion Covered Total %
condition 7 15 46.6


and 3 conditions

line !l l&&!r l&&r condition
431 48 102 0 $mode ne 'r' and $mode ne 'w'
498 2 0 0 ref $data and ref $data eq 'ARRAY'

or 2 conditions

line l !l condition
192 7 0 $self->open('r') || (return ())
335 19 0 $self->open('r') || (return undef)
435 150 0 'IO::File'->new($path, $mode) || die("MIME::Body::File->open ${path}: $!")

or 3 conditions

line l !l&&r !l&&!r condition
331 19 0 0 $fh ||= select