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 SCAR 0.3
CC
1
Cov
71%
asstring
2.0
count
2.0
remove_tail
2.0
CRAP 1.0
« 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.16';
15  
16 sub type {
17 7 ▶ return 3;
Subroutine type: called CC=1 SCAR=0.0
Pod undocumented
18 }
19  
20 sub length {
21 28 ▶ return 0;
Subroutine length: called CC=1 SCAR=0.0
Pod undocumented
22 }
23  
24 0 ▶sub asstring { as_string(@_) }
Subroutine asstring: not called CC=1 SCAR=6.9
Pod undocumented
25  
26 sub as_string {
27 207 ▶ return '(' . shift->SUPER::as_string . ')';
Subroutine as_string: called CC=1 SCAR=0.0
Pod undocumented
28 }
29  
30 sub count {
31 0 ▶ my $self = shift;
Subroutine count: not called CC=1 SCAR=6.9
Pod undocumented
32  
33 0 return scalar($self->SUPER::count);
34 }
35  
36 sub remove_tail {
37 0 ▶ my $self = shift;
Subroutine remove_tail: not called CC=1 SCAR=6.9
Pod undocumented
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 »