Branch Coverage

blib/lib/Tesla/Vehicle.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
37 0 0 if (defined $auto_wake)
45 0 0 if defined $warn
81 0 0 unless (defined $id)
85 0 0 unless ($id)
94 0 0 if $self->{'vehicles'}
155 0 0 $status eq 'online' ? :
243 0 0 if $_->{'available_stalls'} == 0
248 0 0 if $_->{'available_stalls'} == 0
327 0 0 if (not $return->{'result'} and $self->warn)
340 0 0 if (not $return->{'result'} and $self->warn)
354 0 0 if (not $return->{'result'} and $self->warn)
368 0 0 if (not $return->{'result'} and $self->warn)
383 0 0 if (not $return->{'result'} and $self->warn)
397 0 0 if (not $return->{'result'} and $self->warn)
410 0 0 if (not $return->{'result'} and $self->warn)
423 0 0 if (not $return->{'result'} and $self->warn)
436 0 0 if (not $return->{'result'} and $self->warn)
448 0 0 if (not $return->{'result'} and $self->warn)
460 0 0 if (not $return->{'result'} and $self->warn)
472 0 0 if (not $return->{'result'} and $self->warn)
484 0 0 if (not $return->{'result'} and $self->warn)
504 0 0 if (not $return->{'result'} and $self->warn)
523 0 0 if (not $return->{'result'} and $self->warn)
533 0 0 if (not $self->online)
542 0 0 if ($wakeup_called_at + 30 - $wake_interval < time)
561 0 0 if $self->{'data'}{'vehicle_id'}
563 0 0 if (defined $id) { }
581 0 0 if (not $self->online)
582 0 0 if ($self->auto_wake) { }