| 1 | package Graph::MoreUtils::Smooth::Intermediate; | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | # ABSTRACT: Container for intermediate vertices | ||||||||||||||||||||||||||||
| 4 | 9 | our $VERSION = '0.3.0'; # VERSION | |||||||||||||||||||||||||||
| 5 | |||||||||||||||||||||||||||||
| 6 | 9 | ▶ | use strict; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 7 | 9 | ▶ | use warnings; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||
| 9 | 9 | ▶ | use Scalar::Util qw( blessed ); | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||
| 11 | 2 | ▶ | sub new { | ||||||||||||||||||||||||||
|
Subroutine
new: called CC=3 SCAR=12.0
Pod
undocumented
| |||||||||||||||||||||||||||||
| 12 | 2 | my $class = shift; | |||||||||||||||||||||||||||
| 13 | 2 | ▶ | my $self = [ map { blessed $_ && | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
builtin::blessed($_) and $_->isa("Graph::MoreUtils::Smooth::Intermediate")
MC/DC0%0/2
builtin::blessed($_) and $_->isa("Graph::MoreUtils::Smooth::Intermediate")
builtin::blessed($_)
$_->isa("Graph::MoreUtils::Smooth::Intermediate")
Truth table33%1/3
A and B
A= builtin::blessed($_)B= $_->isa("Graph::MoreUtils::Smooth::Intermediate")
| |||||||||||||||||||||||||||||
| 14 | $_->isa( Graph::MoreUtils::Smooth::Intermediate:: ) ? @$_ : $_ } @_ ]; | ||||||||||||||||||||||||||||
| 15 | 2 | return bless $self, $class; | |||||||||||||||||||||||||||
| 16 | } | ||||||||||||||||||||||||||||
| 17 | |||||||||||||||||||||||||||||
| 18 | 0 | ▶ | sub reverse { | ||||||||||||||||||||||||||
|
Subroutine
reverse: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||
| 19 | 0 | my( $self ) = @_; | |||||||||||||||||||||||||||
| 20 | 0 | @$self = reverse @$self; | |||||||||||||||||||||||||||
| 21 | 0 | return $self; | |||||||||||||||||||||||||||
| 22 | } | ||||||||||||||||||||||||||||
| 23 | |||||||||||||||||||||||||||||
| 24 | 9 | 1; | |||||||||||||||||||||||||||