Branch Coverage

blib/lib/HiPi/Device/SPI.pm
Criterion Covered Total %
branch 0 10 0.0


line true false branch
38 0 0 unless opendir my $dh, '/dev'
58 0 0 if exists $userparams{$key}
62 0 0 unless my $fh = 'IO::File'->new($params{'devicename'}, 2, 0)
81 0 0 unless (defined $rval)
132 0 0 if ($self->fh)