Branch Coverage

blib/lib/MojoMojo/Controller/Gallery.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
68 0 0 unless ($tag)
78 0 0 unless length $c->stash->{'page'}->path == 1
98 0 0 unless $photo = $c->model('DBIC::Photo')->find($photo)
115 0 0 unless $photo = $c->model('DBIC::Photo')->find($photo)
147 0 0 if ($tag and not $c->model('DBIC::Tag')->search('photo', $photo, 'person', $c->user->obj->id, 'tag', $tag)->next)
156 0 0 if $photo
183 0 0 if $tag
200 0 0 unless ref $photo
202 0 0 if ($c->user_exists) { }
222 0 0 unless my $img = $c->model('DBIC::Photo')->find($photo)
224 0 0 if ($c->req->param('update_value'))
239 0 0 unless my $img = $c->model('DBIC::Photo')->find($photo)
241 0 0 if ($c->req->param('update_value'))