Branch Coverage

blib/lib/Net/Marathon/Group.pm
Criterion Covered Total %
branch 16 50 32.0


line true false branch
11 0 2 unless $conf and ref $conf eq 'HASH'
18 0 2 if ($conf->{'apps'})
23 0 2 if ($conf->{'groups'})
39 0 0 unless $api_response_obj
45 0 0 unless defined $self->{'parent'}
47 0 0 if ($response)
56 0 0 unless defined $self->{'parent'}
60 0 0 if ($response)
69 0 0 unless defined $self->{'parent'}
79 0 0 $retval ? :
84 3 3 if ($child->isa('Net::Marathon::App')) { }
2 1 elsif ($child->isa('Net::Marathon::Group')) { }
85 1 2 if (exists $self->{'children'}{'apps'}{$child->id})
86 0 1 if $Net::Marathon::verbose
91 1 1 if ($self->is_or_has($child))
92 0 1 if $Net::Marathon::verbose
97 0 1 if $Net::Marathon::verbose
105 1 1 if ($self->id eq $other->id)
117 0 0 wantarray ? :
0 0 scalar @apps ? :
123 0 0 wantarray ? :
0 0 scalar @groups ? :
131 0 0 if ($self->dependencies)
134 0 0 if ($self->apps)
140 0 0 if ($self->groups)