Branch Coverage

blib/lib/Test/Mockify.pm
Criterion Covered Total %
branch 58 60 96.6


line true false branch
123 2 1 if ($ParameterAmount == 2)
125 1 1 if (ref $ReturnValueOrFunctionPointer eq 'CODE') { }
131 1 2 if ($ParameterAmount == 3)
243 1 3 if ($ParameterListSize > 0)
287 1 25 unless (IsArrayReference($aParameterTypes))
329 1 34 unless ($TypeTestResult)
388 1 9 if (ref $aParametersFromAllCalls ne 'ARRAY')
391 1 8 if (scalar @{$aParametersFromAllCalls;} < $Position) { }
413 20 30 if (IsHashReference($TestParameter)) { }
429 1 31 if ($AmountActualInputParameters != $AmountExpectedParameterTypes)
444 1 14 unless (IsString($Value))
450 6 8 if (IsHashReference($TestParameterType))
453 1 5 if ($Value ne $ExpectedValue)
469 1 4 unless (IsInteger($Value))
475 2 2 if (IsHashReference($hTestParameterType))
478 1 1 if ($Value != $ExpectedValue)
494 1 2 unless (IsFloat($Value))
500 2 0 if (IsHashReference($hTestParameterType))
503 1 1 if ($Value != $ExpectedValue)
519 1 5 if (IsValid($Value))
533 2 4 unless (IsHashReference($Value))
539 2 2 if (IsHashReference($TestParameterType))
543 1 1 unless ($Compare->Cmp($Value, $ExpectedValue))
561 1 4 unless (IsArrayReference($Value))
567 2 2 if (IsHashReference($TestParameterType))
571 1 1 unless ($Compare->Cmp($Value, $ExpectedValue))
589 1 7 unless (IsObjectReference($Value))
595 5 2 if (IsHashReference($TestParameterType))
598 1 4 unless (Isa($Value, $ExpectedValue))
614 0 2 unless (defined $aParameterTypes and IsArrayReference($aParameterTypes))