Condition Coverage

blib/lib/VIC/PIC/Functions/USART.pm
Criterion Covered Total %
condition 10 32 31.2


and 2 conditions

line l !l condition
421 0 0 carp("rx_int not defined for $pictype") and return

and 3 conditions

line !l l&&!r l&&r condition
20 0 0 3 defined $ipin and defined $opin
22 0 0 3 exists $self->pins->{$ipin} and exists $self->pins->{$opin}
25 0 0 3 exists $self->registers->{'SPBRGH'} and exists $self->registers->{'SPBRG'}
0 0 3 exists $self->registers->{'SPBRGH'} and exists $self->registers->{'SPBRG'} and exists $self->registers->{'BAUDCTL'}
112 0 0 3 exists $self->registers->{'TXSTA'} and exists $self->registers->{'RCSTA'}
438 0 0 1 defined $href and ref $href eq "HASH"
470 0 0 1 defined $href and ref $href eq "HASH"
471 0 0 1 defined $isr{'ISR'} and $isr{'END'}

or 3 conditions

line l !l&&r !l&&!r condition
42 0 3 0 $self->code_config->{$key}{'f_osc'} || $self->f_osc
397 0 1 0 defined $action{'ACTION'} or defined $action{'ISR'}