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 | 50 | 50 | 342 | use strict; | |||
50 | 108 | ||||||
50 | 1494 | ||||||
3 | 50 | 50 | 257 | use warnings; | |||
50 | 101 | ||||||
50 | 1469 | ||||||
4 | 50 | 50 | 280 | use parent 'LINE::Bot::API::Response::Common'; | |||
50 | 98 | ||||||
50 | 245 | ||||||
5 | |||||||
6 | 1 | 1 | 0 | 7 | sub display_name { $_[0]->{displayName} } | ||
7 | 1 | 1 | 0 | 6 | sub user_id { $_[0]->{userId} } | ||
8 | 1 | 1 | 0 | 6 | sub picture_url { $_[0]->{pictureUrl} } | ||
9 | 1 | 1 | 0 | 6 | sub status_message { $_[0]->{statusMessage} } | ||
10 | 1 | 1 | 0 | 7 | sub language { $_[0]->{language} } | ||
11 | |||||||
12 | 1; |