Branch Coverage

blib/lib/Device/Regulator/Plasmatronic.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
235 0 0 unless -f $f
236 0 0 unless open IN, $f
241 0 0 unless (/^#/)
244 0 0 if (substr($arr[1], 0, 1) eq 'h')
265 0 0 if ($$this{'PORT'}{'TYPE'} eq 'FILE') { }
303 0 0 if $@
334 0 0 if (defined $match)
340 0 0 if ($$match{$m} ne $$this{'DAT'}{$key}{$m})
349 0 0 if (wantarray) { }
380 0 0 unless (defined $$this{'DAT'}{$name})
385 0 0 if (defined $value)
386 0 0 unless ($$this{'DAT'}{$name}{'write'})
390 0 0 if ($name =~ /^nv/)
403 0 0 if ($name =~ /^nv/)
416 0 0 unless my $buf = $this->_read(2)
421 0 0 if (defined $value and $out != $value)
429 0 0 if ($$this{'DAT'}{$name}{'shiftleft'} ne 'NA')
435 0 0 if ($$this{'DAT'}{$name}{'multiplier'} eq 'BM') { }
462 0 0 if ($Device::Regulator::Plasmatronic::AUTOLOAD =~ /::pl_(.*)$/ and $this->exists($1)) { }
511 0 0 if ($$this{'PORT'}{'TYPE'} eq 'FILE') { }
516 0 0 if (scalar @ready < 1)
524 0 0 if (scalar @ready < 1)
541 0 0 if (scalar @ready < 1)
544 0 0 if ($$this{'PORT'}{'TYPE'} eq 'FILE') { }
553 0 0 if ($@)