Branch Coverage

blib/lib/Test/Mockify/ReturnValue.pm
Criterion Covered Total %
branch 21 22 95.4


line true false branch
39 0 58 unless $Value
57 2 2 unless ref $Value eq 'ARRAY'
75 2 2 unless ref $Value eq 'HASH'
108 1 2 unless $ErrorCode
127 3 28 unless ref $FunctionPointer eq 'CODE'
148 2 93 if ($self->{'ErrorType'}) { }
2 91 elsif ($self->{'ArrayValue'}) { }
2 89 elsif ($self->{'HashValue'}) { }
8 81 elsif ($self->{'UndefValue'}) { }
28 53 elsif ($self->{'FunctionPointer'}) { }
52 1 elsif ($self->{'Value'}) { }