Branch Coverage

blib/lib/HiPi/GPIO.pm
Criterion Covered Total %
branch 1 24 4.1


line true false branch
29 0 1 if HiPi::is_raspberry_pi()
54 0 0 if exists $userparams{$key}
136 0 0 if ($mode == -1) { }
0 0 elsif ($mode == 0) { }
0 0 elsif ($mode == 1) { }
0 0 elsif ($mode == 4) { }
0 0 elsif ($mode == 5) { }
0 0 elsif ($mode == 6) { }
0 0 elsif ($mode == 7) { }
0 0 elsif ($mode == 3) { }
0 0 elsif ($mode == 2) { }
164 0 0 wantarray ? :