Branch Coverage

blib/lib/Mojo/Redfish/Client/Result.pm
Criterion Covered Total %
branch 19 30 63.3


line true false branch
18 0 2 unless defined $path
25 0 2 unless defined $path
32 0 14 unless defined $path
36 2 12 if ref $target eq 'ARRAY'
46 0 4 if $target->$isa('Mojo::Redfish::Client::Result')
49 1 3 if ref $target eq 'ARRAY'
53 1 3 if $target->$isa('Mojo::Collection')
55 3 0 if (ref $target eq 'HASH')
56 3 0 if (keys %$target == 1 and exists $target->{'@odata.id'}) { }
68 0 4 if $target->$isa('Mojo::Redfish::Client::Result')
71 0 4 if $target->$isa('Mojo::Collection')
74 1 3 if (ref $target eq 'ARRAY')
76 1 0 if (my $c = $self->client->concurrency)
81 3 0 if (ref $target eq 'HASH')
82 3 0 if (keys %$target == 1 and exists $target->{'@odata.id'}) { }