Condition Coverage

blib/lib/VIC/PIC/Functions/ECCP.pm
Criterion Covered Total %
condition 10 30 33.3


and 3 conditions

line !l l&&!r l&&r condition
187 0 1 0 exists $self->eccp_pins->{'P1A'} and exists $self->eccp_pins->{'P1B'}
196 0 0 1 defined $deadband and $deadband > {sign => '+', value => [0]}
209 0 0 2 defined $direction and ref $direction eq 'HASH'
214 0 2 0 exists $self->eccp_pins->{'P1A'} and exists $self->eccp_pins->{'P1B'}
0 2 0 exists $self->eccp_pins->{'P1A'} and exists $self->eccp_pins->{'P1B'} and exists $self->eccp_pins->{'P1C'}
0 2 0 exists $self->eccp_pins->{'P1A'} and exists $self->eccp_pins->{'P1B'} and exists $self->eccp_pins->{'P1C'} and exists $self->eccp_pins->{'P1D'}
231 0 1 0 exists $self->eccp_pins->{'P1A'} and exists $self->eccp_pins->{'P1B'}
0 1 0 exists $self->eccp_pins->{'P1A'} and exists $self->eccp_pins->{'P1B'} and exists $self->eccp_pins->{'P1C'}
0 1 0 exists $self->eccp_pins->{'P1A'} and exists $self->eccp_pins->{'P1B'} and exists $self->eccp_pins->{'P1C'} and exists $self->eccp_pins->{'P1D'}

or 3 conditions

line l !l&&r !l&&!r condition
74 0 0 6 $str{'P1A'} || $str{'CCP1'}