RFXCOM/Encoder.pm

filter: Statementstmt 100% 26 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 100% 1 / 1 totaltotal 100% 34 / 34 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« RFXCOM/Response/Sensor.pm ↑ Summary RFXCOM/Response/DateTime.pm »
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 package Device::RFXCOM::Encoder;
4 1 $Device::RFXCOM::Encoder::VERSION = '1.142010';
5 # ABSTRACT: Device::RFXCOM::Encoder base class for encoding RF messages
6  
7  
8 1 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use constant DEBUG => $ENV{DEVICE_RFXCOM_ENCODER_DEBUG};
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use Carp qw/croak/;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 ▶use Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 1 our @ISA = qw(Exporter);
15 1 our %EXPORT_TAGS = ( 'all' => [ qw() ] );
16 1 our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
17 1 our @EXPORT = qw();
18  
19  
20 sub new {
21 12 ▶ my $pkg = shift;
Subroutine new: called CC=1 SCAR=0.0
Pod documented
22 12 bless { @_ }, $pkg;
23 }
24  
25 1 1;
26  
27 __END__
« RFXCOM/Response/Sensor.pm ↑ Summary RFXCOM/Response/DateTime.pm »