Branch Coverage

lib/Neo4j/Driver/Events.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
46 1 22 if $STACK_TRACE
52 20 2 if $self->{'die_on_error'}
70 2 101 if @extra
71 3 98 unless ref $handler eq "CODE"
72 1 97 unless defined $event
90 35 7 $default_handler ? :
42 187 unless my $handlers = $self->{'handlers'}{$event}
109 1 85 unless $plugin->can("new")
110 2 83 unless $plugin->DOES("Neo4j::Driver::Plugin")
111 1 82 unless $plugin->can("register")
112 1 81 if ref $plugin eq ""
114 1 81 if ref $plugin eq ""