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 | 50 | 50 | 337 | use strict; | |||
50 | 114 | ||||||
50 | 1465 | ||||||
3 | 50 | 50 | 245 | use warnings; | |||
50 | 99 | ||||||
50 | 1212 | ||||||
4 | 50 | 50 | 253 | use parent 'LINE::Bot::API::Response::Common'; | |||
50 | 99 | ||||||
50 | 246 | ||||||
5 | |||||||
6 | 1 | 1 | 0 | 6 | sub display_name { $_[0]->{displayName} } | ||
7 | 1 | 1 | 0 | 7 | sub user_id { $_[0]->{userId} } | ||
8 | 1 | 1 | 0 | 5 | sub picture_url { $_[0]->{pictureUrl} } | ||
9 | |||||||
10 | 1; | ||||||
11 |