blib/lib/LINE/Bot/API/Event/AccountLink.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 13 | 92.3 |
branch | n/a | ||
condition | n/a | ||
subroutine | 6 | 7 | 85.7 |
pod | 0 | 4 | 0.0 |
total | 18 | 24 | 75.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package LINE::Bot::API::Event::AccountLink; | ||||||
2 | 51 | 51 | 351 | use strict; | |||
51 | 110 | ||||||
51 | 1468 | ||||||
3 | 51 | 51 | 254 | use warnings; | |||
51 | 106 | ||||||
51 | 1367 | ||||||
4 | 51 | 51 | 288 | use parent 'LINE::Bot::API::Event::Base'; | |||
51 | 116 | ||||||
51 | 295 | ||||||
5 | |||||||
6 | 0 | 0 | 0 | 0 | sub is_account_link_event { 1 } | ||
7 | |||||||
8 | 1 | 1 | 0 | 5 | sub source { $_[0]{source} } | ||
9 | |||||||
10 | 1 | 1 | 0 | 8 | sub replyToken { $_[0]{replyToken} } | ||
11 | |||||||
12 | 4 | 4 | 0 | 8283 | sub link { $_[0]{link} } | ||
13 | |||||||
14 | 1; |