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
257 0 0 if (my $c = 'RapidApp'->active_request_context)
258 0 0 if $c->can('user')
307 0 0 unless my $name = $self->Post_name_for($template)
315 0 0 $self->Model->resultset('Post')->create($create) ? :
321 0 0 unless my $name = $self->Post_name_for($template)
323 0 0 unless my $Row = $self->Model->resultset('Post')->search_rs({'me.name', $name})->first
327 0 0 $Row->update({'body', $content}) ? :
333 0 0 unless my $name = $self->Post_name_for($template)
335 0 0 unless my $Row = $self->Model->resultset('Post')->search_rs({'me.name', $name})->first
339 0 0 $Row->delete ? :