| 1 | # | ||||||||||||||||||||
| 2 | # (c) Jan Gehring <jan.gehring@gmail.com> | ||||||||||||||||||||
| 3 | # | ||||||||||||||||||||
| 4 | # vim: set ts=3 sw=3 tw=0: | ||||||||||||||||||||
| 5 | # vim: set expandtab: | ||||||||||||||||||||
| 6 | |||||||||||||||||||||
| 7 | package Rex::Endpoint::HTTP::Interface::System::Base; | ||||||||||||||||||||
| 8 | |||||||||||||||||||||
| 9 | 5 | ▶ | use strict; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 10 | 5 | ▶ | use warnings; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 11 | |||||||||||||||||||||
| 12 | 5 | ▶ | sub new { | ||||||||||||||||||
|
Subroutine
new: called CC=2 SCAR=7.2
Pod
undocumented
| |||||||||||||||||||||
| 13 | 5 | my $that = shift; | |||||||||||||||||||
| 14 | 5 | ▶ | my $proto = ref($that) || $that; | ||||||||||||||||||
|
Condition33%1/3
ref $that || $that
MC/DC0%0/2
ref $that || $that
ref $that
$that
Truth table33%1/3
A || B
A= ref $thatB= $that
| |||||||||||||||||||||
| 15 | 5 | my $self = { @_ }; | |||||||||||||||||||
| 16 | |||||||||||||||||||||
| 17 | 5 | bless($self, $proto); | |||||||||||||||||||
| 18 | |||||||||||||||||||||
| 19 | 5 | return $self; | |||||||||||||||||||
| 20 | } | ||||||||||||||||||||
| 21 | |||||||||||||||||||||
| 22 | 5 | ▶ | sub set_routes { | ||||||||||||||||||
|
Subroutine
set_routes: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||
| 23 | 5 | my ($self, $r) = @_; | |||||||||||||||||||
| 24 | } | ||||||||||||||||||||
| 25 | |||||||||||||||||||||
| 26 | 5 | 1; | |||||||||||||||||||