Condition Coverage

blib/lib/HiPi/Interface/MonoOLED.pm
Criterion Covered Total %
condition 0 57 0.0


and 3 conditions

line !l l&&!r l&&r condition
302 0 0 0 defined $self->gpio and $self->gpio->isa('HiPi::GPIO')
420 0 0 0 $line >= 0 and $line < $self->buffer_rows
459 0 0 0 $self->buffer_rows == 32 and $self->rows == 32

or 2 conditions

line l !l condition
162 0 0 $inparams{'type'} //= 45
209 0 0 $params{'chunk_data'} //= 0
211 0 0 $params{'chunk_data'} //= 1
485 0 0 $flipped ||= 0
499 0 0 $x ||= 0
500 0 0 $y ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
114 0 0 0 defined $self->dc_pin or defined $self->reset_pin
202 0 0 0 $params{$key} //= $spiparams{$key}
206 0 0 0 $params{$key} //= $i2cparams{$key}
438 0 0 0 $x1 < 0 or $x1 >= $self->cols
0 0 0 $x1 < 0 or $x1 >= $self->cols or $x2 < 0
0 0 0 $x1 < 0 or $x1 >= $self->cols or $x2 < 0 or $x2 >= $self->cols
0 0 0 $x1 < 0 or $x1 >= $self->cols or $x2 < 0 or $x2 >= $self->cols or $y1 < 0
0 0 0 $x1 < 0 or $x1 >= $self->cols or $x2 < 0 or $x2 >= $self->cols or $y1 < 0 or $y1 >= $self->buffer_rows
0 0 0 $x1 < 0 or $x1 >= $self->cols or $x2 < 0 or $x2 >= $self->cols or $y1 < 0 or $y1 >= $self->buffer_rows or $y2 < 0
0 0 0 $x1 < 0 or $x1 >= $self->cols or $x2 < 0 or $x2 >= $self->cols or $y1 < 0 or $y1 >= $self->buffer_rows or $y2 < 0 or $y2 >= $self->buffer_rows
0 0 0 $x1 < 0 or $x1 >= $self->cols or $x2 < 0 or $x2 >= $self->cols or $y1 < 0 or $y1 >= $self->buffer_rows or $y2 < 0 or $y2 >= $self->buffer_rows or $y1 > $y2
0 0 0 $x1 < 0 or $x1 >= $self->cols or $x2 < 0 or $x2 >= $self->cols or $y1 < 0 or $y1 >= $self->buffer_rows or $y2 < 0 or $y2 >= $self->buffer_rows or $y1 > $y2 or $x1 > $x2