Condition Coverage

blib/lib/VIC/PIC/Functions/ECCP.pm
Criterion Covered Total %
condition 11 30 36.6


and 3 conditions

line !l l&&!r l&&r condition
187 0 0 1 exists $self->eccp_pins->{'P1A'} and exists $self->eccp_pins->{'P1B'}
196 0 0 1 defined $deadband and $deadband > bless( {"sign" => "+","value" => bless( [0], 'Math::BigInt::Calc' )}, 'Math::BigInt' )
209 0 0 2 defined $direction and ref $direction eq "HASH"
214 0 0 2 exists $self->eccp_pins->{'P1A'} and exists $self->eccp_pins->{'P1B'}
0 0 2 exists $self->eccp_pins->{'P1A'} and exists $self->eccp_pins->{'P1B'} and exists $self->eccp_pins->{'P1C'}
0 0 2 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 0 1 exists $self->eccp_pins->{'P1A'} and exists $self->eccp_pins->{'P1B'}
0 0 1 exists $self->eccp_pins->{'P1A'} and exists $self->eccp_pins->{'P1B'} and exists $self->eccp_pins->{'P1C'}
0 0 1 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 3 3 $str{'P1A'} || $str{'CCP1'}