Branch Coverage

blib/lib/VIC/PIC/Functions/ISR.pm
Criterion Covered Total %
branch 32 54 59.2


line true false branch
12 0 5 unless $self->doesroles("Chip", "ISR")
15 0 5 if (ref $cb_start eq "ARRAY")
18 0 5 unless $cb_start
30 0 5 unless $self->doesroles("Chip", "ISR")
31 0 5 unless (exists $self->registers->{'STATUS'})
56 0 5 unless $self->doesroles("Chip", "ISR")
57 0 5 unless (exists $self->registers->{'STATUS'})
73 0 2 unless $self->doesroles("Chip", "ISR")
75 0 2 unless defined $th and ref $th eq "HASH"
78 0 2 unless (exists $self->registers->{$freg} and exists $self->registers->{$ereg})
84 0 2 ref $th->{'reg'} eq 'ARRAY' ? :
86 1 1 if (%isr) { }
89 0 1 unless $action_label
90 0 1 unless $end_label
101 1 0 if ($freg eq 'INTCON' and $ereg eq 'INTCON') { }
128 0 6 unless $self->doesroles("Chip", "ISR")
129 0 6 unless (exists $self->registers->{'INTCON'})
135 0 6 unless defined $ioch and ref $ioch eq "HASH"
136 0 6 unless defined $ipin
141 3 3 if (@_) { }
145 0 3 unless $action_label
146 0 3 unless $end_label
148 2 1 if (defined $ioc_bit) { }
1 0 elsif (defined $ioc_reg) { }
156 2 1 if (defined $portbit) { }
176 2 1 if (defined $ioc_bit and defined $ioc_reg) { }
1 0 elsif (defined $ioc_reg) { }