Branch Coverage

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


line true false branch
132 2 0 if (my $pins = $DEFAULT_PINS{ref $adapter})
137 0 10 unless defined $params{$pin}
191 0 1 unless defined $part
196 1 0 $partinfo->has_efuse ? :
267 1 0 if ($on) { }
378 8 3 $i < 8 ? :
382 3 8 unless ($mask)
398 4 4 if $v->{$SDO}
415 0 99 unless $count--
417 99 0 if XXX->{$SDO}
583 0 1 unless my $sii = $SII_FOR_FUSE_READ{$fuse}
585 0 1 if $fuse eq "efuse" and not $_partinfo->has_efuse
610 0 1 unless my $sii = $SII_FOR_FUSE_WRITE{$fuse}
612 0 1 if $fuse eq "efuse" and not $_partinfo->has_efuse
693 0 1 unless my $partinfo = $_partinfo
697 1 0 $opts{'stop'} // $opts{'bytes'} ? :
710 1 0 if $cur_ahi != $ahi
732 0 1 unless my $partinfo = $_partinfo
735 0 1 if length $bytes > $partinfo->flash_words * 2
805 0 1 unless my $partinfo = $_partinfo
809 1 0 $opts{'stop'} // $opts{'bytes'} ? :
823 1 0 if $cur_ahi != $ahi
842 0 1 unless my $partinfo = $_partinfo
844 0 1 if length $bytes > $partinfo->eeprom_words