Condition Coverage

blib/lib/VIC/PIC/Functions/GPIO.pm
Criterion Covered Total %
condition 17 33 51.5


and 3 conditions

line !l l&&!r l&&r condition
61 0 37 0 $io == {sign => '+', value => [0]} || $io == {sign => '+', value => [1]} and $ad == {sign => '+', value => [0]} || $ad == {sign => '+', value => [1]}
68 24 13 0 exists $self->io_ports->{$outp} and exists $self->registers->{$outp}
189 0 3 0 $self->doesrole('USART') and exists $self->usart_pins->{$outp}
202 26 20 0 exists $self->io_ports->{$outp} and exists $self->registers->{$outp}
271 0 7 0 $self->doesrole('USART') and exists $self->usart_pins->{$outp}
323 5 1 0 exists $self->io_ports->{$inp} and exists $self->registers->{$inp}
354 0 1 0 $self->doesrole('USART') and exists $self->usart_pins->{$inp}

or 3 conditions

line l !l&&r !l&&!r condition
61 26 11 0 $io == {sign => '+', value => [0]} || $io == {sign => '+', value => [1]}
34 3 0 $ad == {sign => '+', value => [0]} || $ad == {sign => '+', value => [1]}
303 0 0 1 &looks_like_number($var) or ref $var eq 'HASH'
318 1 4 0 defined $action{'ACTION'} or defined $action{'ISR'}