Branch Coverage

lib/AnyEvent/Callback.pm
Criterion Covered Total %
branch 25 38 65.7


line true false branch
135 0 15 if $$self{'called'} > 1
137 2 13 if $$self{'ecalled'}
139 13 2 if $$self{'cb'}
167 2 17 unless 'CODE' eq ref $cb
169 0 19 unless 'CODE' eq ref $cb
170 0 19 unless 'CODE' eq ref $ecb or not defined $ecb
174 16 3 if $ecb
205 0 8 if $$self{'ecalled'} > 1
207 2 6 if $$self{'called'}
210 4 4 if ($$self{'ecb'})
222 2 2 unless ($parent)
234 17 2 if $$self{'called'} or $$self{'ecalled'}
273 0 14 unless $$self{'waiter'}
274 12 2 unless $$self{'done'} >= @{$$self{'stack'};}
283 0 2 unless 'CODE' eq ref $cb
284 0 2 if $$self{'waiter'}
308 0 0 unless wantarray
314 0 0 unless $self->is_error
315 0 0 unless wantarray