Branch Coverage

blib/lib/VIC/PIC/Functions/Operations.pm
Criterion Covered Total %
branch 26 52 50.0


line true false branch
207 4 0 wantarray ? :
212 0 12 unless $self->doesrole('Operations')
213 0 12 unless $t =~ /^\d+$/
214 0 12 if $t <= {sign => '+', value => [0]}
229 5 7 if ($sec > {sign => '+', value => [0]})
239 5 0 if $siter > {sign => '+', value => [0]}
243 6 6 if ($ms > {sign => '+', value => [0]})
253 6 0 if $msiter > {sign => '+', value => [0]}
257 1 11 if ($us > {sign => '+', value => [0]})
259 0 1 if ($us <= {sign => '+', value => [6]}) { }
271 1 0 if $usiter > {sign => '+', value => [0]}
276 12 0 wantarray ? :
281 0 0 if $t =~ /^\d+$/
287 0 4 if $t =~ /^\d+$/
293 0 0 if $t =~ /^\d+$/
312 0 4 unless $self->doesroles('Operations', 'Chip', 'CodeGen', 'GPIO')
313 0 4 unless (exists $self->registers->{'STATUS'})
319 0 4 unless $action_label
320 0 4 unless $end_label
322 4 0 if (exists $self->pins->{$inp}) { }
0 0 elsif (exists $self->registers->{$inp}) { }
324 0 4 if (not defined $ipin) { }
343 0 4 unless defined $macros
344 0 4 unless defined $funcs
345 0 4 unless defined $deb_code
385 4 0 wantarray ? :