Branch Coverage

blib/lib/Rapi/Blog/Template/AccessStore.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
36 0 0 unless my $Dispatcher = $self->Dispatcher_for(@_)
37 0 0 $Dispatcher->type eq 'Post' ? :
42 0 0 unless my $Dispatcher = $self->PostDispatcher_for(@_)
74 0 0 unless $template
215 0 0 if (my $c = 'RapidApp'->active_request_context)
216 0 0 if $c->can('user')
265 0 0 unless my $name = $self->Post_name_for($template)
273 0 0 $self->Model->resultset('Post')->create($create) ? :
279 0 0 unless my $name = $self->Post_name_for($template)
281 0 0 unless my $Row = $self->Model->resultset('Post')->search_rs({'me.name', $name})->first
285 0 0 $Row->update({'body', $content}) ? :
291 0 0 unless my $name = $self->Post_name_for($template)
293 0 0 unless my $Row = $self->Model->resultset('Post')->search_rs({'me.name', $name})->first
297 0 0 $Row->delete ? :