blib/lib/LINE/Bot/API/Response/Profile.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 14 | 14 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 8 | 8 | 100.0 |
pod | 0 | 5 | 0.0 |
total | 22 | 27 | 81.4 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package LINE::Bot::API::Response::Profile; | ||||||
2 | 46 | 46 | 310 | use strict; | |||
46 | 96 | ||||||
46 | 1329 | ||||||
3 | 46 | 46 | 290 | use warnings; | |||
46 | 99 | ||||||
46 | 1257 | ||||||
4 | 46 | 46 | 237 | use parent 'LINE::Bot::API::Response::Common'; | |||
46 | 90 | ||||||
46 | 217 | ||||||
5 | |||||||
6 | 1 | 1 | 0 | 6 | sub display_name { $_[0]->{displayName} } | ||
7 | 1 | 1 | 0 | 5 | sub user_id { $_[0]->{userId} } | ||
8 | 1 | 1 | 0 | 5 | sub picture_url { $_[0]->{pictureUrl} } | ||
9 | 1 | 1 | 0 | 5 | sub status_message { $_[0]->{statusMessage} } | ||
10 | 1 | 1 | 0 | 5 | sub language { $_[0]->{language} } | ||
11 | |||||||
12 | 1; |