Condition Coverage

blib/lib/Venus/Container.pm
Criterion Covered Total %
condition 74 135 54.8


and 3 conditions

line !l l&&!r l&&r condition
20 19 20 0 keys %$data == 1 and exists $data->{'value'}
58 33 1 1 $lifecycle and $lifecycle eq "singleton"
196 1 3 0 defined $left->{'argument'} and not ref $arg1
0 1 3 defined $right->{'argument'} and not ref $arg2
1 0 0 defined $left->{'argument'} and ref $arg1 eq "ARRAY"
0 0 0 defined $right->{'argument'} and ref $arg2 eq "ARRAY"
1 0 0 defined $left->{'argument'} and ref $arg1 eq "ARRAY" and (defined $right->{'argument'} and ref $arg2 eq "ARRAY")
1 0 0 defined $left->{'argument'} and ref $arg1 eq "HASH"
0 0 0 defined $right->{'argument'} and ref $arg2 eq "HASH"
1 0 0 defined $left->{'argument'} and ref $arg1 eq "HASH" and (defined $right->{'argument'} and ref $arg2 eq "HASH")
221 7 22 7 $prop and $prop_as
268 20 7 18 ref $props eq "HASH" and keys %$props == 1
269 0 10 8 $props and $props->{'$metadata'}
275 26 7 12 ref $props eq "HASH" and keys %$props == 1
290 29 7 9 ref $props eq "HASH" and keys %$props == 1
293 0 0 1 $name and $next
295 0 0 1 not ref $resolved and $resolved =~ /^[a-z-A-Z]/u
298 0 0 1 $next and $next =~ /^[a-zA-Z]/u
306 30 7 8 ref $props eq "HASH" and keys %$props == 1
309 0 0 1 $name and $next
311 0 0 1 not ref $resolved and $resolved =~ /^[a-z-A-Z]/u
313 0 0 1 $next and $next =~ /^[a-zA-Z]/u
321 31 7 7 ref $props eq "HASH" and keys %$props == 1
324 0 0 1 $name and $next
326 0 0 1 not ref $resolved and $resolved =~ /^[a-z-A-Z]/u
330 0 0 1 $next and $next =~ /^[a-zA-Z]/u
339 32 7 6 ref $props eq "HASH" and keys %$props == 1
346 33 7 5 ref $props eq "HASH" and keys %$props == 1
352 33 12 0 ref $props eq "HASH" and grep ref($_), values %$props

or 2 conditions

line l !l condition
378 34 2 $self->get->{'$services'} || {}
14 22 $self->get->{'$metadata'} || {}
127 36 $self->{'$tokens'} ||= {"services", $self->get->{'$services'} || {}, "metadata", $self->get->{'$metadata'} || {}}

or 3 conditions

line l !l&&r !l&&!r condition
41 10 30 0 $self->{'$cache'} ||= $self->service_cache
93 4 6 0 $construct || $space->package
128 0 4 0 $original //= $result
195 3 1 0 my $arg1 = $left->{'argument'} or my $arg2 = $right->{'argument'}
196 0 3 1 defined $left->{'argument'} and not ref $arg1 or defined $right->{'argument'} and not ref $arg2
198 3 0 0 $new_service->{'argument'} ||= $arg1
209 0 0 0 $new_service->{'argument'} ||= $arg1
222 0 0 7 lc $prop_as eq "array" or lc $prop_as eq "arrayref"
230 5 0 2 lc $prop_as eq "hash" or lc $prop_as eq "hashref"
295 0 1 0 &Scalar::Util::blessed($resolved) or not ref $resolved and $resolved =~ /^[a-z-A-Z]/u
297 0 1 0 ref $resolved || $resolved
311 0 1 0 &Scalar::Util::blessed($resolved) or not ref $resolved and $resolved =~ /^[a-z-A-Z]/u
326 0 1 0 &Scalar::Util::blessed($resolved) or not ref $resolved and $resolved =~ /^[a-z-A-Z]/u
329 0 1 0 ref $resolved || $resolved