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 | 47 | 47 | 312 | use strict; | |||
47 | 99 | ||||||
47 | 1288 | ||||||
3 | 47 | 47 | 220 | use warnings; | |||
47 | 95 | ||||||
47 | 1131 | ||||||
4 | 47 | 47 | 236 | use parent 'LINE::Bot::API::Response::Common'; | |||
47 | 92 | ||||||
47 | 269 | ||||||
5 | |||||||
6 | 1 | 1 | 0 | 7 | sub message { $_[0]->{message} } | ||
7 | 1 | 1 | 0 | 9 | sub details { $_[0]->{details} } | ||
8 | |||||||
9 | 1 | 1 | 0 | 5 | sub error { $_[0]->{error} } | ||
10 | 1 | 1 | 0 | 5 | sub error_description { $_[0]->{error_description} } | ||
11 | |||||||
12 | |||||||
13 | 1; |