Branch Coverage

blib/lib/Mojo/EventEmitter.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
8 95 0 if $_[0]->on("error", $_[1])
13 17664 30854 if (my $s = $self->{'events'}{$name}) { }
19 1 30853 if $name eq "error"
27 19639 0 if push @{$_[0]{'events'}{$_[1]};}, $_[2]
48 7670 71 if ($cb) { }
50 7536 134 unless @{$self->{'events'}{$name};}