Branch Coverage

blib/lib/AnyEvent/Emitter.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
15 1 0 if $_[0]->on('error', $_[1])
20 18 10 if (my $s = $$self{'events'}{$name}) { }
26 0 10 if $name eq 'error'
34 19 0 if push @{$_[0]{'events'}{$_[1]};}, $_[2]
51 4 9 unless (shift())->{'events'}{shift()}
57 14 1 if ($cb) { }
59 9 5 unless @{$$self{'events'}{$name};}