| line |
true |
false |
branch |
|
112
|
0 |
0 |
if defined $self->dc_pin or defined $self->reset_pin |
|
114
|
0 |
0 |
if (defined $self->dc_pin) |
|
115
|
0 |
0 |
if ($self->gpio->get_pin_mode($self->dc_pin) != 1) |
|
121
|
0 |
0 |
if (defined $self->reset_pin) |
|
122
|
0 |
0 |
if ($self->gpio->get_pin_mode($self->reset_pin) != 1) |
|
127
|
0 |
0 |
unless ($params{'skip_reset'}) |
|
129
|
0 |
0 |
unless ($params{'skip_logo'}) |
|
142
|
0 |
0 |
$pi->board_type == 1 ? : |
|
175
|
0 |
0 |
$controltype & 64 ? : |
|
178
|
0 |
0 |
if ($controltype & 2) |
|
183
|
0 |
0 |
$controltype & 16 ? : |
|
191
|
0 |
0 |
unless ($params{'rows'} =~ /^32|64$/) |
|
194
|
0 |
0 |
unless ($params{'buffer_rows'} =~ /^32|64$/) |
|
198
|
0 |
0 |
if ($params{'backend'} eq 'spi') { } |
|
206
|
0 |
0 |
if ($params{'backend'} eq 'i2c') { } |
|
214
|
0 |
0 |
unless (defined $params{'device'}) |
|
215
|
0 |
0 |
if ($params{'backend'} eq 'bcm2835') { } |
|
|
0 |
0 |
elsif ($params{'backend'} eq 'spi') { } |
|
219
|
0 |
0 |
$params{'devicename'} eq '/dev/i2c-0' ? : |
|
239
|
0 |
0 |
$params{'device'}->isa('HiPi::Device::SPI') ? : |
|
247
|
0 |
0 |
if (defined $self->reset_pin) |
|
259
|
0 |
0 |
if ($self->external_power) { } |
|
265
|
0 |
0 |
if ($self->controller == 1) |
|
271
|
0 |
0 |
if ($self->rows == 64) { } |
|
279
|
0 |
0 |
if ($self->external_power) { } |
|
288
|
0 |
0 |
if ($self->controller == 1) |
|
300
|
0 |
0 |
unless (defined $self->gpio and $self->gpio->isa('HiPi::GPIO')) |
|
308
|
0 |
0 |
if ($self->spidriver) { } |
|
317
|
0 |
0 |
if ($self->spidriver) { } |
|
343
|
0 |
0 |
unless $bytecount |
|
354
|
0 |
0 |
$self->chunk_data ? : |
|
356
|
0 |
0 |
if ($chunksize) { } |
|
368
|
0 |
0 |
if ($leftover) |
|
418
|
0 |
0 |
if ($line >= 0 and $line < $self->buffer_rows) |
|
436
|
0 |
0 |
if ($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) |
|
457
|
0 |
0 |
if ($self->buffer_rows == 32 and $self->rows == 32) |
|
468
|
0 |
0 |
if ($self->controller == 2) { } |
|
484
|
0 |
0 |
if ($flipped) { } |