BGP/ASPath/AS_CONFED_SEQUENCE.pm

filter: Statementstmt 70.5% 12 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 62.5% 5 / 8 Podpod 0.0% 0 / 6 totaltotal 54.8% 17 / 31 CC 1 SCAR 3.2
CC
1
Cov
71%
asstring
2.0
count
2.0
remove_tail
2.0
CRAP 1.4
« BGP/ASPath/AS_SEQUENCE.pm ↑ Summary BGP/ASPath/AS_CONFED_SET.pm »
1 #!/usr/bin/perl
2  
3 package Net::BGP::ASPath::AS_CONFED_SEQUENCE;
4  
5 7 ▶use Net::BGP::ASPath::AS_SEQUENCE;
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_SEQUENCE::ISA =
12 qw( Net::BGP::ASPath::AS_SEQUENCE );
13  
14 7 our $VERSION = '0.18';
15  
16 7 ▶sub type {
Subroutine type: called CC=1 SCAR=0.0
Pod undocumented
17 7 return 3;
18 }
19  
20 27 ▶sub length {
Subroutine length: called CC=1 SCAR=0.0
Pod undocumented
21 27 return 0;
22 }
23  
24 0 ▶sub asstring { as_string(@_) }
Subroutine asstring: not called CC=1 SCAR=6.9
Pod undocumented
25  
26 207 ▶sub as_string {
Subroutine as_string: called CC=1 SCAR=0.0
Pod undocumented
27 207 return '(' . shift->SUPER::as_string . ')';
28 }
29  
30 0 ▶sub count {
Subroutine count: not called CC=1 SCAR=6.9
Pod undocumented
31 0 my $self = shift;
32  
33 0 return scalar($self->SUPER::count);
34 }
35  
36 0 ▶sub remove_tail {
Subroutine remove_tail: not called CC=1 SCAR=6.9
Pod undocumented
37 0 my $self = shift;
38  
39 0 return $self->SUPER::remove_tail(@_);
40 }
41  
42 7 1;
43  
« BGP/ASPath/AS_SEQUENCE.pm ↑ Summary BGP/ASPath/AS_CONFED_SET.pm »