Branch Coverage

blib/lib/Device/BusPirate/Mode/SPI.pm
Criterion Covered Total %
branch 23 28 82.1


line true false branch
170 1 3 if (defined $args{'mode'})
176 1 3 if defined $args{'cpol'}
177 1 3 if defined $args{'cpha'}
179 0 4 if defined $args{'cs_high'}
183 4 7 if defined $args{$_}
3 1 if (&any(sub { !!$args{$_} != $self->$_ if defined $args{$_}; } , 'open_drain', 'ckp', 'cke', 'sample'))
186 3 0 $_open_drain ? :
1 2 $_ckp ? :
1 2 $_cke ? :
0 3 $_sample ? :
194 1 3 if (defined $args{'speed'})
198 0 1 if $speed == $_speed
224 3 4 $_cs ? :
249 0 6 $_speed == 0 ? :