Branch Coverage

blib/lib/Test/Shadow.pm
Criterion Covered Total %
branch 30 32 93.7


line true false branch
156 1 10 if (@_) { }
170 1 12 unless my $orig = $class->can($method)
175 4 8 if (ref $stubbed_out)
176 1 3 unless reftype $stubbed_out eq 'CODE'
183 6 14 if (not $failed and my $expected_in = $$shadow_params{'in'})
184 3 3 ref $expected_in eq 'HASH' ? :
186 2 4 unless ($ok)
193 12 8 if ($stubbed_out) { }
204 2 9 if $failed
205 2 7 if (my $expected_in = $$shadow_params{'in'})
208 3 6 if (my $expected_count = $$shadow_params{'count'})
209 1 2 if (ref $expected_count) { }
210 1 0 if (my $min = $$expected_count{'min'})
213 1 0 if (my $max = $$expected_count{'max'})
228 12 8 if (ref $stubbed_out) { }
240 1 7 unless @array