Branch Coverage

blib/lib/ArangoDB2/Base.pm
Criterion Covered Total %
branch 8 58 13.7


line true false branch
29 99 25 if (ref $arg) { }
42 0 53 if defined $self->name and $self->can('get')
55 0 0 $self->database ? :
74 0 0 if (defined $value)
76 0 0 if (ref $value) { }
125 0 0 unless defined $args and ref $args and ref $args eq 'HASH'
137 0 0 if (exists $$args{$param}) { }
0 0 elsif (defined $self->$param) { }
158 0 0 unless ref $data eq 'HASH'
165 0 0 if exists $$data{$param}
169 0 0 if exists $$data{'_id'}
171 0 0 if exists $$data{'_rev'}
174 0 0 if (exists $$data{'user'}) { }
0 0 elsif (exists $$data{'_key'}) { }
182 0 0 if exists $$data{'_from'}
184 0 0 if exists $$data{'_to'}
198 0 41 if (defined $value) { }
200 0 0 if $validate
219 0 0 if (defined $value) { }
221 0 0 if ($value eq 'true') { }
0 0 elsif ($value eq 'false') { }
230 0 0 $value ? :
233 0 0 if $validate
252 0 0 if (defined $value) { }
254 0 0 if (blessed $value and $value->can('id'))
258 0 0 if $validate
277 25 53 if (defined $value) { }
279 0 25 if (blessed $value and $value->can('name'))
283 0 25 if $validate