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 CC 1 SCAR 2.5
CC
1
Cov
80%
asstring
2.0
count
2.0
BEGIN
1.0
CRAP 1.3
« 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.18';
13  
14 3 ▶sub type {
Subroutine type: called CC=1 SCAR=0.0
Pod undocumented
15 3 return 4;
16 }
17  
18 20 ▶sub length {
Subroutine length: called CC=1 SCAR=0.0
Pod undocumented
19 20 return 0;
20 }
21  
22 0 ▶sub asstring { as_string(@_) }
Subroutine asstring: not called CC=1 SCAR=6.9
Pod undocumented
23  
24 64 ▶sub as_string {
Subroutine as_string: called CC=1 SCAR=0.0
Pod undocumented
25 64 return '(' . shift->SUPER::as_string . ')';
26 }
27  
28 0 ▶sub count {
Subroutine count: not called CC=1 SCAR=6.9
Pod undocumented
29 0 my $self = shift;
30  
31 0 return scalar($self->SUPER::count);
32 }
33  
34 7 1;
35  
« BGP/ASPath/AS_CONFED_SEQUENCE.pm ↑ Summary BGP.pm »