Condition Coverage

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


or 2 conditions

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

or 3 conditions

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