Branch Coverage

blib/lib/Test/CallFlow/Call.pm
Criterion Covered Total %
branch 44 62 70.9


line true false branch
95 0 5 if $$self{'debug'}
115 0 0 if $$self{'debug'}
144 3 120 if (@_)
151 59 61 defined $$self{'min'} ? :
167 4 91 if (@_)
171 22 69 if defined $$self{'max'}
173 46 23 unless $$self{'results'}
175 0 69 $results > $min ? :
29 40 unless $results > $min ? $results : $min
198 0 1 if $$self{'debug'}
212 0 45 if $$self{'debug'}
262 0 138 if $$self{'debug'}
266 0 0 !defined($arg) ? :
81 38 defined $$args[$args_at] && $check eq $$args[$args_at] ? :
19 119 isa($check, 'Test::CallFlow::ArgCheck') ? :
0 138 !defined($check) ? :
280 43 1 $args_at < 0 ? :
44 28 $args_at < @$args ? :
285 0 0 @result ? :
0 72 if $$self{'debug'}
305 0 26 if ++$$self{'called'} > $self->max
308 0 26 if $$self{'debug'}
310 13 13 unless $$self{'results'}
13 13 unless my $results = @{[] unless $$self{'results'};}
311 4 9 $$self{'called'} < $results ? :
341 0 13 unless $$self{'args'}
342 12 1 if @args
343 0 3 ref $_ eq 'CODE' ? :
346 3 10 if $$self{'results'}
348 1 12 if defined $$self{'called_from'}
367 0 26 if $$self{'debug'}