Condition Coverage

blib/lib/File/Assets/Util.pm
Criterion Covered Total %
condition 24 33 72.7


and 3 conditions

line !l l&&!r l&&r condition
55 352 0 456 blessed $type and $type->isa('MIME::Type')
119 411 216 3 $found and $deprecated
133 69 0 1 blessed $path and $path->isa('Path::Class::Dir')
134 0 55 15 $path and $path =~ m[/$]

or 3 conditions

line l !l&&r !l&&!r condition
17 341 22 0 $types ||= 'MIME::Types'->new('only_complete', 1)
61 342 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 103 527 $found ||= $$target =~ s/\%$character/$value/g
115 103 31 496 $found ||= $$target =~ s/\%\.$character/$value ? ".$value" : '';/eg
116 134 85 411 $found ||= $$target =~ s/\%\-$character/$value ? "-$value" : '';/eg
117 219 0 411 $found ||= $$target =~ s[\%/$character][$value ? "/$value" : '';]eg