Condition Coverage

blib/lib/VIC/PIC/Functions/ADC.pm
Criterion Covered Total %
condition 6 20 30.0


and 3 conditions

line !l l&&!r l&&r condition
13 0 0 3 defined $self->adc_channels and $self->adc_channels > 0
17 0 3 0 exists $self->registers->{'ADCON0'} and exists $self->registers->{'ADCON1'}
60 0 0 0 defined $self->adc_channels and $self->adc_channels > 0
78 0 0 3 defined $self->adc_channels and $self->adc_channels > 0
84 0 3 0 exists $self->registers->{'ADCON0'} and exists $self->registers->{'ADRESH'}
0 3 0 exists $self->registers->{'ADCON0'} and exists $self->registers->{'ADRESH'} and exists $self->registers->{'ADRESL'}

or 2 conditions

line l !l condition
39 0 3 $self->code_config->{'adc'}{'vref'} || 0