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 <= bless( {"sign" => "+","value" => bless( [0], 'Math::BigInt::Calc' )}, 'Math::BigInt' )
229 5 7 if ($sec > bless( {"sign" => "+","value" => bless( [0], 'Math::BigInt::Calc' )}, 'Math::BigInt' ))
239 5 0 if $siter > bless( {"sign" => "+","value" => bless( [0], 'Math::BigInt::Calc' )}, 'Math::BigInt' )
243 6 6 if ($ms > bless( {"sign" => "+","value" => bless( [0], 'Math::BigInt::Calc' )}, 'Math::BigInt' ))
253 6 0 if $msiter > bless( {"sign" => "+","value" => bless( [0], 'Math::BigInt::Calc' )}, 'Math::BigInt' )
257 1 11 if ($us > bless( {"sign" => "+","value" => bless( [0], 'Math::BigInt::Calc' )}, 'Math::BigInt' ))
259 0 1 if ($us <= {sign => '+', value => ['6']}) { }
271 1 0 if $usiter > bless( {"sign" => "+","value" => bless( [0], 'Math::BigInt::Calc' )}, 'Math::BigInt' )
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 4 0 if (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 ? :