Condition Coverage

blib/lib/File/Assets/Util.pm
Criterion Covered Total %
condition 23 33 69.7


and 3 conditions

line !l l&&!r l&&r condition
55 335 0 442 blessed $type and $type->isa('MIME::Type')
119 376 188 3 $found and $deprecated
133 62 0 1 blessed $path and $path->isa('Path::Class::Dir')
134 0 55 8 $path and $path =~ m[/$]

or 3 conditions

line l !l&&r !l&&!r condition
17 325 21 0 $types ||= 'MIME::Types'->new('only_complete', 1)
61 325 10 0 $class->types->mimeTypeOf($type) || $class->types->type($type)
89 0 27 0 @_filters || grep({not /::SUPER$/;} reverse sort('File::Assets::Util'->filter_load))
114 0 120 447 $found ||= $$target =~ s/\%$character/$value/g
115 120 0 447 $found ||= $$target =~ s/\%\.$character/$value ? ".$value" : '';/eg
116 120 71 376 $found ||= $$target =~ s/\%\-$character/$value ? "-$value" : '';/eg
117 191 0 376 $found ||= $$target =~ s[\%/$character][$value ? "/$value" : '';]eg