blib/lib/GitHub/WebHook.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 10 | 10 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 0 | 2 | 0.0 |
total | 14 | 16 | 87.5 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package GitHub::WebHook; | ||||||
2 | 1 | 1 | 18017 | use strict; | |||
1 | 3 | ||||||
1 | 25 | ||||||
3 | 1 | 1 | 3 | use warnings; | |||
1 | 1 | ||||||
1 | 85 | ||||||
4 | |||||||
5 | our $VERSION = '0.11'; | ||||||
6 | |||||||
7 | 1 | 1 | 0 | 824 | sub new { bless {}, $_[0] } | ||
8 | |||||||
9 | sub call { | ||||||
10 | 1 | 1 | 0 | 329 | my ($self, $event, $id, $logger) = @_; | ||
11 | 1 | 6 | $logger->{error}->("method call not implemented in ".ref $self); | ||||
12 | 1 | 2 | return; | ||||
13 | } | ||||||
14 | |||||||
15 | 1; | ||||||
16 | __END__ |