Branch Coverage

blib/lib/Mojolicious/Plugin/StaticAttachment.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
25 0 2 unless my $conf = $self->paths->{$path} || $self->paths->{decode('UTF-8', $path)}
45 1 0 ref $_[0] ? :
54 0 3 if $format
58 1 2 unless (ref $conf)
59 1 0 if $conf
67 2 1 if utf8::is_utf8($conf->{'filename'})
69 1 2 if utf8::is_utf8($path)
73 0 3 if $content_type