API/Event/BeaconDetection.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 0.0% 0 / 4 totaltotal 84.0% 21 / 25 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« API/Response/Profile.pm ↑ Summary API/Response/Error.pm »
1 package LINE::Bot::API::Event::BeaconDetection;
2 53 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 53 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 53 ▶use parent 'LINE::Bot::API::Event::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶sub is_beacon_detection_event { 1 }
Subroutine is_beacon_detection_event: called CC=1 SCAR=0.0
Pod undocumented
7  
8 1 ▶sub beacon_hwid { $_[0]->{beacon}{hwid} }
Subroutine beacon_hwid: called CC=1 SCAR=0.0
Pod undocumented
9 1 ▶sub beacon_type { $_[0]->{beacon}{type} }
Subroutine beacon_type: called CC=1 SCAR=0.0
Pod undocumented
10 1 ▶sub beacon_device_message { pack 'H*', $_[0]->{beacon}{dm} }
Subroutine beacon_device_message: called CC=1 SCAR=0.0
Pod undocumented
11  
12 53 1;
« API/Response/Profile.pm ↑ Summary API/Response/Error.pm »