DVDProfiler/DVD.pm

filter: Statementstmt 14.2% 1 / 7 Branchbran n/a Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 3 Podpod 100% 3 / 3 totaltotal 22.2% 4 / 18 CC 2 SCAR 13.9
CC
2
Cov
10%
new
6.0
title
2.0
upc
2.0
CRAP 4.0
« DVDProfiler.pm ↑ Summary
1 package Net::DVDProfiler::DVD;
2  
3 0 ▶sub new {
Subroutine new: not called CC=2 SCAR=17.9
Pod documented
4 0 my $ref = shift;
5 0 ▶ my $class = ref( $ref ) || $ref;
Condition0%0/3
ref $ref || $ref
l!l&&r!l&&!r
000
MC/DC0%0/2
ref $ref || $ref
ref $ref $ref
Truth table0%0/3
A || B
A= ref $refB= $ref
ABresult
1X1
011
000
6  
7 0 my $self = bless {
8 title => undef,
9 upc => undef,
10 @_
11 }, $class;
12  
13 0 return $self;
14 }
15  
16 0 ▶sub title {
Subroutine title: not called CC=1 SCAR=6.9
Pod documented
17 0 return $_[0]->{title};
18 }
19  
20 0 ▶sub upc {
Subroutine upc: not called CC=1 SCAR=6.9
Pod documented
21 0 return $_[0]->{upc};
22 }
23 1 1;
24  
25 __END__
« DVDProfiler.pm ↑ Summary