line |
true |
false |
branch |
31
|
3 |
0 |
$c->user_exists ? :
|
71
|
0 |
6 |
unless $c->check_view_permission
|
87
|
0 |
0 |
unless $c->check_view_permission
|
100
|
0 |
2 |
unless $c->forward('auth')
|
112
|
2 |
0 |
if (my $file = $c->req->params->{'file'})
|
117
|
0 |
2 |
unless (@att)
|
124
|
2 |
0 |
unless defined $c->stash->{'template'} and $c->stash->{'template'} eq 'message.tt'
|
141
|
0 |
0 |
unless $user->hashed($c->pref('entropy')) eq $c->req->params->{'verify'}
|
145
|
0 |
0 |
if ($c->res->redirect)
|
163
|
1 |
5 |
unless ($att =~ /^\d+$/)
|
166
|
2 |
3 |
unless $c->stash->{'att'} = $c->model('DBIC::Attachment')->find($att)
|
191
|
0 |
2 |
unless $c->check_view_permission
|
194
|
0 |
2 |
unless my $io_file = 'IO::File'->new($att->filename)
|
228
|
0 |
0 |
unless $c->check_view_permission
|
231
|
0 |
0 |
unless ($photo = $att->photo)
|
234
|
0 |
0 |
unless -f $att->thumb_filename
|
235
|
0 |
0 |
unless my $io_file = 'IO::File'->new($att->thumb_filename)
|
254
|
0 |
0 |
unless $c->check_view_permission
|
257
|
0 |
0 |
unless ($photo = $att->photo)
|
260
|
0 |
0 |
unless -f $att->inline_filename
|
261
|
0 |
0 |
unless my $io_file = 'IO::File'->new($att->inline_filename)
|
282
|
0 |
1 |
unless $c->forward('auth')
|