BGP/ASPath/AS_CONFED_SET.pm

filter: Statementstmt 80.0% 12 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 71.4% 5 / 7 Podpod 0.0% 0 / 5 totaltotal 62.9% 17 / 27 SCAR 0.1
CC
1
Cov
80%
asstring
2.0
count
2.0
BEGIN
1.0
CRAP 1.0
« BGP/ASPath/AS_CONFED_SEQUENCE.pm ↑ Summary BGP.pm »
1 #!/usr/bin/perl
2  
3 package Net::BGP::ASPath::AS_CONFED_SET;
4  
5 7 ▶use Net::BGP::ASPath::AS_SET;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 7 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 ## Inheritance and Versioning ##
10  
11 7 @Net::BGP::ASPath::AS_CONFED_SET::ISA = qw( Net::BGP::ASPath::AS_SET );
12 7 our $VERSION = '0.16';
13  
14 sub type {
15 3 ▶ return 4;
Subroutine type: called CC=1 SCAR=0.0
Pod undocumented
16 }
17  
18 sub length {
19 21 ▶ return 0;
Subroutine length: called CC=1 SCAR=0.0
Pod undocumented
20 }
21  
22 0 ▶sub asstring { as_string(@_) }
Subroutine asstring: not called CC=1 SCAR=6.9
Pod undocumented
23  
24 sub as_string {
25 64 ▶ return '(' . shift->SUPER::as_string . ')';
Subroutine as_string: called CC=1 SCAR=0.0
Pod undocumented
26 }
27  
28 sub count {
29 0 ▶ my $self = shift;
Subroutine count: not called CC=1 SCAR=6.9
Pod undocumented
30  
31 0 return scalar($self->SUPER::count);
32 }
33  
34 7 1;
35  
« BGP/ASPath/AS_CONFED_SEQUENCE.pm ↑ Summary BGP.pm »