| blib/lib/LINE/Bot/API/Response/Count.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 10 | 10 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 4 | 4 | 100.0 |
| pod | 0 | 1 | 0.0 |
| total | 14 | 15 | 93.3 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package LINE::Bot::API::Response::Count; | ||||||
| 2 | 52 | 52 | 344 | use strict; | |||
| 52 | 134 | ||||||
| 52 | 2283 | ||||||
| 3 | 52 | 52 | 271 | use warnings; | |||
| 52 | 95 | ||||||
| 52 | 2802 | ||||||
| 4 | 52 | 52 | 279 | use parent 'LINE::Bot::API::Response::Common'; | |||
| 52 | 124 | ||||||
| 52 | 448 | ||||||
| 5 | |||||||
| 6 | =head1 NAME | ||||||
| 7 | LINE::Bot::API::Response::Count | ||||||
| 8 | |||||||
| 9 | =head1 DESCRIPTION | ||||||
| 10 | |||||||
| 11 | This class correspond to below. | ||||||
| 12 | - "Get members in group count" : See also L |
||||||
| 13 | - "Get members in room count" : See also L |
||||||
| 14 | |||||||
| 15 | =cut | ||||||
| 16 | |||||||
| 17 | 2 | 2 | 0 | 11 | sub count { $_[0]->{count} } | ||
| 18 | |||||||
| 19 | 1; |