blib/lib/Mackerel/Webhook/Receiver/Event.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 12 | 12 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Mackerel::Webhook::Receiver::Event; | ||||||
2 | 3 | 3 | 16 | use strict; | |||
3 | 7 | ||||||
3 | 77 | ||||||
3 | 3 | 3 | 14 | use warnings; | |||
3 | 13 | ||||||
3 | 102 | ||||||
4 | |||||||
5 | use Class::Accessor::Lite ( | ||||||
6 | 3 | 28 | new => 1, | ||||
7 | ro => [qw/payload event/], | ||||||
8 | 3 | 3 | 14323 | ); | |||
3 | 3800 | ||||||
9 | |||||||
10 | 1; |