Branch Coverage

blib/lib/Test/CallFlow/Plan.pm
Criterion Covered Total %
branch 57 76 75.0


line true false branch
49 0 36 if $$self{'debug'}
60 0 36 unless $$self{'calls'}
64 0 0 $trying_in_order ? :
0 84 if $$self{'debug'}
68 1 83 unless $call = $$self{'calls'}[$at]
71 11 72 if ($trying_in_order and not $call->in_order) { }
35 37 elsif (not defined $first_in_order_at || $call->over) { }
74 11 0 unless $at <= ($$self{'latest_unordered_at'} || -1)
76 8 3 if (++$at < $num_calls) { }
84 1 2 unless $$self{'anytime'}
94 28 44 unless @error = $call->check($got_args)
98 31 13 if ($trying_in_order)
99 12 19 if ($call->satisfied and ++$at < $num_calls) { }
110 10 9 unless $$self{'anytime'}
115 7 29 if @error
118 1 28 unless $call
121 6 22 if (@unordered)
126 3 25 if (my $end_calls = $$call{'end'})
127 0 3 if $$self{'debug'}
128 2 2 unless $_->satisfied
135 0 1 unless $$self{'anytime'}
139 0 0 wantarray ? :
0 26 if ref $result eq 'CODE'
141 13 13 unless defined $result
142 0 26 unless ref $result eq 'ARRAY'
145 0 26 if $$self{'debug'}
152 0 30 unless ref $call
154 23 7 unless $call->over
155 0 7 if $$self{'debug'}
161 0 26 if $$self{'debug'}
162 26 0 wantarray ? :
182 6 1 $test_at < @{$$call{'args'};} ? :
7 2 $arg_at ? :
186 7 2 $test_at ? :
190 6 0 $call->min ? :
6 3 $call->in_order ? :
216 4 2 unless $$self{'anytime'}
229 0 15 if $$self{'debug'}