Condition Coverage

blib/lib/VIC/PIC/Functions/GPIO.pm
Criterion Covered Total %
condition 18 33 54.5


and 3 conditions

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