Branch Coverage

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


line true false branch
39 1 113 unless defined $Value
57 2 2 unless ref $Value eq 'ARRAY'
75 2 2 unless ref $Value eq 'HASH'
108 1 2 unless $ErrorCode
127 3 36 unless ref $FunctionPointer eq 'CODE'
148 2 167 if ($self->{'ErrorType'}) { }
2 165 elsif ($self->{'ArrayValue'}) { }
2 163 elsif ($self->{'HashValue'}) { }
8 155 elsif ($self->{'UndefValue'}) { }
38 117 elsif ($self->{'FunctionPointer'}) { }
116 1 elsif (defined $self->{'Value'}) { }