Branch Coverage

blib/lib/Acme/Plack/App/GyazoStocker.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
28 0 0 unless $self->image_dir
29 0 0 unless -d $self->image_dir
31 0 0 unless $self->ua
38 0 0 unless $self->gyazo
50 0 0 if ($$env{'REQUEST_URI'} =~ /$path_regex/)
57 0 0 if ($not_found)
61 0 0 if (ref $res ne 'ARRAY')
73 0 0 unless ($image_file =~ /\.png$/)
77 0 0 if (-e $self->image_dir . "/$image_file")
81 0 0 if (my $image = $self->_fetch_image($image_file))
96 0 0 if ($res->is_success) { }