| 1 | package DWH_File::Registry::Class; | ||||||||||||||||||||
| 2 | |||||||||||||||||||||
| 3 | 9 | ▶ | use warnings; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 4 | 9 | ▶ | use strict; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 5 | 9 | ▶ | use vars qw( @ISA $VERSION ); | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 6 | 9 | ▶ | use DWH_File::Registry; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 7 | |||||||||||||||||||||
| 8 | 9 | @ISA = qw( DWH_File::Registry ); | |||||||||||||||||||
| 9 | 9 | $VERSION = 0.01; | |||||||||||||||||||
| 10 | |||||||||||||||||||||
| 11 | 56 | ▶ | sub class_id { | ||||||||||||||||||
|
Subroutine
class_id: called CC=2 SCAR=7.6
Pod
undocumented
| |||||||||||||||||||||
| 12 | 56 | my ( $self, $that ) = @_; | |||||||||||||||||||
| 13 | 56 | ▶ | my $the_class = 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
| |||||||||||||||||||||
| 14 | 56 | return $self->get_key( $the_class ); | |||||||||||||||||||
| 15 | } | ||||||||||||||||||||
| 16 | |||||||||||||||||||||
| 17 | 9 | 1; | |||||||||||||||||||
| 18 | |||||||||||||||||||||
| 19 | __END__ | ||||||||||||||||||||