blib/lib/Net/BGP/ASPath.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 29 | 79.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
152 | 30 | 9 | 0 | CORE::length $buffer and (CORE::length($buffer) - 2) % $size |
180 | 4 | 1 | 0 | CORE::length $buffer2 and (CORE::length($buffer2) - 2) % 4 |
234 | 4 | 20 | 1 | not $args->{'as4'} and $has_as4 |
363 | 0 | 4 | 21 | $ok &&= ref($_) =~ /_SEQUENCE$/ |
line | l | !l | condition |
---|---|---|---|
48 | 0 | 111 | $options->{'as4'} ||= 0 |
103 | 165 | 190 | $3 || '' |
136 | 4 | 27 | $options->{'as4'} ||= 0 |
223 | 4 | 21 | $args->{'as4'} ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
96 | 130 | 73 | 152 | $value =~ /^(\([^\)]*\))( (.*))?$/ or $value =~ /^(\{[^\}]*\})( (.*))?$/ |
203 | 152 | 0 | $value =~ /^(\([^\)]*\))( (.*))?$/ or $value =~ /^(\{[^\}]*\})( (.*))?$/ or $value =~ /^(([0-9]+\s*){1,255})(.*)?$/ | |
113 | 161 | 1 | 0 | ref $proto || $proto |