Branch Coverage

blib/lib/CPAN/Testers/API/Controller/Upload.pm
Criterion Covered Total %
branch 19 20 95.0


line true false branch
54 2 16 unless $c->openapi->valid_input
65 6 10 if (my $since = $c->param('since'))
70 6 10 if (my $dist = $c->validation->param('dist')) { }
6 4 elsif (my $author = $c->validation->param('author')) { }
73 2 4 unless (@results)
79 2 4 unless (@results)
109 2 2 $c->stash('author') ? :
2 4 $c->stash('dist') ? :
122 2 4 if not $c->stash('finished')
134 6 0 if (my $tx = $c->stash('tx'))