| 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 | 46 | 46 | 341 | use strict; | |||
| 46 | 94 | ||||||
| 46 | 1292 | ||||||
| 3 | 46 | 46 | 226 | use warnings; | |||
| 46 | 90 | ||||||
| 46 | 2319 | ||||||
| 4 | 46 | 46 | 1305 | use parent 'LINE::Bot::API::Response::Common'; | |||
| 46 | 99 | ||||||
| 46 | 2243 | ||||||
| 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 | 12 | sub count { $_[0]->{count} } | ||
| 18 | |||||||
| 19 | 1; |