Packet/CDP/Type.pm

filter: Statementstmt 93.7% 15 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 90.4% 19 / 21 CC 1 SCAR 2.2
CC
1
Cov
94%
getLength
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Packet/DescL2.pm ↑ Summary Packet.pm »
1 #
2 # $Id: Type.pm 2002 2015-02-15 16:50:35Z gomor $
3 #
4 package Net::Packet::CDP::Type;
5 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 require Net::Packet::Layer4;
9 1 our @ISA = qw(Net::Packet::Layer4);
10  
11 1 our @AS = qw(
12 type
13 length
14 );
15 1 __PACKAGE__->cgBuildIndices;
16 1 __PACKAGE__->cgBuildAccessorsScalar(\@AS);
17  
18 1 ▶no strict 'vars';
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 0 ▶sub getLength { shift->[$__length] }
Subroutine getLength: not called CC=1 SCAR=6.9
Pod documented
21  
22 1 1;
23  
24 __END__
« Packet/DescL2.pm ↑ Summary Packet.pm »