blib/lib/LINE/Bot/API/Response/Error.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 13 | 13 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 7 | 7 | 100.0 |
pod | 0 | 4 | 0.0 |
total | 20 | 24 | 83.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package LINE::Bot::API::Response::Error; | ||||||
2 | 51 | 51 | 339 | use strict; | |||
51 | 111 | ||||||
51 | 1425 | ||||||
3 | 51 | 51 | 270 | use warnings; | |||
51 | 99 | ||||||
51 | 1380 | ||||||
4 | 51 | 51 | 265 | use parent 'LINE::Bot::API::Response::Common'; | |||
51 | 108 | ||||||
51 | 335 | ||||||
5 | |||||||
6 | 1 | 1 | 0 | 6 | sub message { $_[0]->{message} } | ||
7 | 1 | 1 | 0 | 11 | sub details { $_[0]->{details} } | ||
8 | |||||||
9 | 1 | 1 | 0 | 7 | sub error { $_[0]->{error} } | ||
10 | 1 | 1 | 0 | 5 | sub error_description { $_[0]->{error_description} } | ||
11 | |||||||
12 | |||||||
13 | 1; |