Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
357 0 0 0 defined $percent && $percent =~ /^\d+$/
371 0 0 0 not $return->{'result'} and $self->warn
386 0 0 0 not $return->{'result'} and $self->warn
399 0 0 0 not $return->{'result'} and $self->warn
413 0 0 0 not $return->{'result'} and $self->warn
427 0 0 0 not $return->{'result'} and $self->warn
442 0 0 0 not $return->{'result'} and $self->warn
456 0 0 0 not $return->{'result'} and $self->warn
469 0 0 0 not $return->{'result'} and $self->warn
482 0 0 0 not $return->{'result'} and $self->warn
495 0 0 0 not $return->{'result'} and $self->warn
507 0 0 0 not $return->{'result'} and $self->warn
519 0 0 0 not $return->{'result'} and $self->warn
531 0 0 0 not $return->{'result'} and $self->warn
543 0 0 0 not $return->{'result'} and $self->warn
563 0 0 0 not $return->{'result'} and $self->warn
582 0 0 0 not $return->{'result'} and $self->warn

or 2 conditions

line l !l condition
50 0 0 $self->{'auto_wake'} // 0
55 0 0 $self->{'warn'} // 1
233 0 0 $_[0]->data->{'drive_state'}{'speed'} // 0
245 0 0 $_[0]->data->{'charge_state'}{'charge_actual_current'} // 0
671 0 0 $self->{'data'}{'vehicle_id'} || -1

or 3 conditions

line l !l&&r !l&&!r condition
357 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