Condition Coverage

blib/lib/Mojolicious/Plugin/StaticAttachment.pm
Criterion Covered Total %
condition 4 11 36.3


or 2 conditions

line l !l condition
31 2 0 $conf->{'content_type'} || $headers->content_type || 'application/x-download'

or 3 conditions

line l !l&&r !l&&!r condition
25 2 0 0 $self->paths->{$path} || $self->paths->{decode('UTF-8', $path)}
64 1 2 0 $conf->{'filename'} ||= $filename
73 0 0 0 $conf->{'content_type'} ||= $content_type