Condition Coverage

blib/lib/Plack/App/GitHub/WebHook.pm
Criterion Covered Total %
condition 15 19 78.9


or 2 conditions

line l !l condition
19 15 0 ref $self->hook // ''
24 14 0 ref $task // ''
55 3 9 $$env{'HTTP_X_GITHUB_EVENT'} // ''
56 2 10 $$env{'HTTP_X_GITHUB_DELIVERY'} // ''
70 1 9 $$env{'psgix.logger'} || sub { }

or 3 conditions

line l !l&&r !l&&!r condition
20 7 1 0 $self->hook // ()
60 10 1 1 not $self->events or grep {$event eq $_;} @{$self->events;}
91 3 0 6 not eval { do { &$hook(@$args) } } or $@