| 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
MC/DC0%0/2
ref $ref || $ref
ref $ref
$ref
Truth table0%0/3
A || B
A= ref $refB= $ref
| |||||||||||||||||||||
| 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__ | ||||||||||||||||||||