Branch Coverage

blib/lib/VM/JiffyBox.pm
Criterion Covered Total %
branch 8 36 22.2


line true false branch
44 0 0 unless ($response->is_success)
64 0 0 unless $details
69 0 0 unless &reftype($details) eq 'HASH'
70 0 0 unless exists $details->{'result'}
71 0 0 unless &reftype($details->{'result'}) eq 'HASH'
79 0 0 unless &reftype($box) eq 'HASH'
81 0 0 if $box->{'name'} eq $box_name
102 2 5 unless $args->{'name'}
103 1 4 unless $args->{'planid'}
105 2 2 unless $args->{'backupid'} xor $args->{'distribution'}
113 0 2 unless ($response->is_success)
122 2 0 if (exists $self->last->{'messages'}[0]{'type'} and $self->last->{'messages'}[0]{'type'} eq 'error')
139 0 0 unless ($response->is_success)
146 0 0 if (exists $self->last->{'messages'}[0]{'type'} and $self->last->{'messages'}[0]{'type'} eq 'error')
154 0 0 unless $result
173 0 0 unless ($response->is_success)
189 0 0 unless ($response->is_success)
205 0 0 unless ($response->is_success)