Branch Coverage

blib/lib/Device/Chip/AVR_HVSP.pm
Criterion Covered Total %
branch 27 48 56.2


line true false branch
131 2 0 if (my $pins = $DEFAULT_PINS{ref $adapter})
136 0 10 unless defined $params{$pin}
210 0 1 unless defined $part
215 1 0 $partinfo->has_efuse ? :
286 1 0 if ($on) { }
397 8 3 $i < 8 ? :
401 3 8 unless ($mask)
417 4 4 if $v->{$SDO}
434 0 99 unless $count--
436 99 0 if XXX->{$SDO}
602 0 1 unless my $sii = $SII_FOR_FUSE_READ{$fuse}
604 0 1 if $fuse eq "efuse" and not $_partinfo->has_efuse
629 0 1 unless my $sii = $SII_FOR_FUSE_WRITE{$fuse}
631 0 1 if $fuse eq "efuse" and not $_partinfo->has_efuse
712 0 1 unless my $partinfo = $_partinfo
716 1 0 $opts{'stop'} // $opts{'bytes'} ? :
729 1 0 if $cur_ahi != $ahi
751 0 1 unless my $partinfo = $_partinfo
754 0 1 if length $bytes > $partinfo->flash_words * 2
824 0 1 unless my $partinfo = $_partinfo
828 1 0 $opts{'stop'} // $opts{'bytes'} ? :
842 1 0 if $cur_ahi != $ahi
861 0 1 unless my $partinfo = $_partinfo
863 0 1 if length $bytes > $partinfo->eeprom_words