| line |
true |
false |
branch |
|
14
|
0 |
6 |
unless $self->doesrole("Chip") |
|
15
|
0 |
6 |
unless (exists $self->registers->{'CCP1CON'}) |
|
26
|
0 |
6 |
if ($pr2 - 1 <= 255) { } |
|
30
|
6 |
0 |
$pr2 - 1 <= 255 ? : |
|
33
|
6 |
0 |
if $prescaler == 4 |
|
34
|
0 |
6 |
if $prescaler == 16 |
|
45
|
3 |
3 |
if $type eq "single" |
|
46
|
1 |
5 |
if $type eq "full_forward" |
|
47
|
1 |
5 |
if $type eq "half" |
|
48
|
1 |
5 |
if $type eq "full_reverse" |
|
49
|
0 |
6 |
unless defined $p1m |
|
54
|
0 |
16 |
unless (exists $self->pins->{$pin}) |
|
62
|
32 |
16 |
unless exists $self->eccp_pins->{$_} |
|
66
|
0 |
16 |
unless defined $pwm_pin |
|
71
|
6 |
10 |
if $type eq "single" |
|
84
|
3 |
3 |
if ($type eq "single") |
|
172
|
0 |
2 |
unless $self->doesrole("ECCP") |
|
173
|
0 |
2 |
unless (exists $self->eccp_pins->{'P1A'}) |
|
174
|
0 |
0 |
if (exists $self->eccp_pins->{'CCP1'}) |
|
186
|
0 |
1 |
unless $self->doesrole("ECCP") |
|
187
|
1 |
0 |
if (exists $self->eccp_pins->{'P1A'} and exists $self->eccp_pins->{'P1B'}) { } |
|
196
|
1 |
0 |
if (defined $deadband and $deadband > bless( {"sign" => "+","value" => bless( [0], 'Math::BigInt::Calc' )}, 'Math::BigInt' )) |
|
208
|
0 |
2 |
unless $self->doesrole("ECCP") |
|
209
|
2 |
0 |
if (defined $direction and ref $direction eq "HASH") |
|
213
|
1 |
1 |
if $direction =~ /reverse|backward|no?|0/i |
|
214
|
2 |
0 |
if (exists $self->eccp_pins->{'P1A'} and exists $self->eccp_pins->{'P1B'} and exists $self->eccp_pins->{'P1C'} and exists $self->eccp_pins->{'P1D'}) { } |
|
228
|
0 |
1 |
unless $self->doesrole("ECCP") |
|
231
|
1 |
0 |
if (exists $self->eccp_pins->{'P1A'} and exists $self->eccp_pins->{'P1B'} and exists $self->eccp_pins->{'P1C'} and exists $self->eccp_pins->{'P1D'}) |
|
240
|
1 |
0 |
if ($ccp1con4) { } |
|
245
|
0 |
1 |
if ($ccp1con5) { } |