Condition Coverage

blib/lib/Tesla/Vehicle.pm
Criterion Covered Total %
condition 0 65 0.0


and 3 conditions

line !l l&&!r l&&r condition
350 0 0 0 defined $percent && $percent =~ /^\d+$/
364 0 0 0 not $return->{'result'} and $self->warn
379 0 0 0 not $return->{'result'} and $self->warn
392 0 0 0 not $return->{'result'} and $self->warn
406 0 0 0 not $return->{'result'} and $self->warn
420 0 0 0 not $return->{'result'} and $self->warn
435 0 0 0 not $return->{'result'} and $self->warn
449 0 0 0 not $return->{'result'} and $self->warn
462 0 0 0 not $return->{'result'} and $self->warn
475 0 0 0 not $return->{'result'} and $self->warn
488 0 0 0 not $return->{'result'} and $self->warn
500 0 0 0 not $return->{'result'} and $self->warn
512 0 0 0 not $return->{'result'} and $self->warn
524 0 0 0 not $return->{'result'} and $self->warn
536 0 0 0 not $return->{'result'} and $self->warn
556 0 0 0 not $return->{'result'} and $self->warn
575 0 0 0 not $return->{'result'} and $self->warn

or 2 conditions

line l !l condition
43 0 0 $self->{'auto_wake'} // 0
48 0 0 $self->{'warn'} // 1
226 0 0 $_[0]->data->{'drive_state'}{'speed'} // 0
623 0 0 $self->{'data'}{'vehicle_id'} || -1

or 3 conditions

line l !l&&r !l&&!r condition
350 0 0 0 not defined $percent && $percent =~ /^\d+$/ or $percent > 100
0 0 0 not defined $percent && $percent =~ /^\d+$/ or $percent > 100 or $percent < 1