Branch Coverage

blib/lib/MojoMojo/Controller/Image.pm
Criterion Covered Total %
branch 0 8 0.0


line true false branch
91 0 0 unless $c->check_view_permission
93 0 0 unless (defined $c->config->{'Formatter::Dir'}{'prefix_url'} and defined $c->config->{'Formatter::Dir'}{'whitelisting'})
111 0 0 unless ($file =~ s/^$prefix_url//)
124 0 0 unless my $io_file = 'IO::File'->new("$dir/$filename")