DWH_File/Registry/Class.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond 33.3% 1 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 82.7% 24 / 29 CC 2 SCAR 3.2
CC
2
Cov
90%
class_id
2.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
« DWH_File/Tie/Foreign.pm ↑ Summary DWH_File/Value.pm »
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
l!l&&r!l&&!r
5600
MC/DC0%0/2
ref $that || $that
ref $that $that
Truth table33%1/3
A || B
A= ref $thatB= $that
ABresult
1X1
011
000
14 56 return $self->get_key( $the_class );
15 }
16  
17 9 1;
18  
19 __END__
« DWH_File/Tie/Foreign.pm ↑ Summary DWH_File/Value.pm »