Branch Coverage

blib/lib/Articulate/Service/Simple.pm
Criterion Covered Total %
branch 18 36 50.0


line true false branch
71 1 0 %{$request->data;} ? :
0 1 blessed($request->data) ? :
78 1 0 if ($permission) { }
80 0 1 if $self->storage->item_exists($location)
82 0 1 unless $self->validation->validate($item)
110 1 0 if ($permission) { }
111 0 1 unless $self->storage->item_exists($location)
144 1 0 %{$request->data;} ? :
0 1 blessed($request->data) ? :
151 1 0 if ($permission) { }
153 0 1 unless $self->storage->item_exists($location)
155 0 1 unless $self->validation->validate($item)
158 0 1 unless $self->storage->set_meta($item)
159 0 1 unless $self->storage->set_content($item)
162 0 1 unless $self->augmentation->augment($item)
186 1 0 if ($permission) { }
187 0 1 unless $self->storage->item_exists($location)
188 0 1 unless $self->storage->delete_item($location)