Condition Coverage

blib/lib/MIME/Types.pm
Criterion Covered Total %
condition 8 15 53.3


and 3 conditions

line !l l&&!r l&&r condition
257 1 5 2 not ref $type and index($type, "/") != -1

or 3 conditions

line l !l&&r !l&&!r condition
43 0 4 0 $ENV{'PERL_MIME_TYPE_DB'} || $args->{'db_file'} || 'File::Spec'->catfile(dirname(__FILE__), 'types.db')
55 0 0 188 $only_iana && !$is_iana || $only_complete && !$has_ext
244 6 1 0 $mime_types ||= "MIME::Types"->new
254 8 0 0 $mime_types //= "MIME::Types"->new