blib/lib/LINE/Bot/API/Response/RoomMemberProfile.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 6 | 6 | 100.0 |
pod | 0 | 3 | 0.0 |
total | 18 | 21 | 85.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package LINE::Bot::API::Response::RoomMemberProfile; | ||||||
2 | 46 | 46 | 301 | use strict; | |||
46 | 92 | ||||||
46 | 1273 | ||||||
3 | 46 | 46 | 269 | use warnings; | |||
46 | 90 | ||||||
46 | 1103 | ||||||
4 | 46 | 46 | 242 | use parent 'LINE::Bot::API::Response::Common'; | |||
46 | 108 | ||||||
46 | 244 | ||||||
5 | |||||||
6 | 1 | 1 | 0 | 5 | sub display_name { $_[0]->{displayName} } | ||
7 | 1 | 1 | 0 | 4 | sub user_id { $_[0]->{userId} } | ||
8 | 1 | 1 | 0 | 4 | sub picture_url { $_[0]->{pictureUrl} } | ||
9 | |||||||
10 | 1; | ||||||
11 |