| 1 | package DWH_File::Value::Undef; | ||||||||||||||||||||
| 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 | use overload | ||||||||||||||||||||
| 7 | 9 | ▶ | '""' => \&store_string, | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 8 | 9 | fallback => 1; | |||||||||||||||||||
| 9 | |||||||||||||||||||||
| 10 | 9 | @ISA = qw( DWH_File::Value ); | |||||||||||||||||||
| 11 | 9 | $VERSION = 0.01; | |||||||||||||||||||
| 12 | |||||||||||||||||||||
| 13 | 0 | ▶ | sub new { | ||||||||||||||||||
|
Subroutine
new: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||||||||||||
| 14 | 0 | my ( $this ) = @_; | |||||||||||||||||||
| 15 | 0 | ▶ | my $class = ref $this || $this; | ||||||||||||||||||
|
Condition0%0/3
ref $this || $this
MC/DC0%0/2
ref $this || $this
ref $this
$this
Truth table0%0/3
A || B
A= ref $thisB= $this
| |||||||||||||||||||||
| 16 | 0 | my $none = ''; | |||||||||||||||||||
| 17 | 0 | my $self = \$none; | |||||||||||||||||||
| 18 | 0 | bless $self, $class; | |||||||||||||||||||
| 19 | 0 | return $self; | |||||||||||||||||||
| 20 | } | ||||||||||||||||||||
| 21 | |||||||||||||||||||||
| 22 | 0 | ▶ | sub from_input { | ||||||||||||||||||
|
Subroutine
from_input: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||
| 23 | 0 | my ( $this ) = @_; | |||||||||||||||||||
| 24 | 0 | return $this->new; | |||||||||||||||||||
| 25 | } | ||||||||||||||||||||
| 26 | |||||||||||||||||||||
| 27 | 0 | ▶ | sub from_stored { | ||||||||||||||||||
|
Subroutine
from_stored: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||
| 28 | 0 | my ( $this ) = @_; | |||||||||||||||||||
| 29 | 0 | return $this->new; | |||||||||||||||||||
| 30 | } | ||||||||||||||||||||
| 31 | |||||||||||||||||||||
| 32 | 0 | ▶ | sub store_string { '%' } | ||||||||||||||||||
|
Subroutine
store_string: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||
| 33 | |||||||||||||||||||||
| 34 | 0 | ▶ | sub actual_value { undef } | ||||||||||||||||||
|
Subroutine
actual_value: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||
| 35 | |||||||||||||||||||||
| 36 | 9 | 1; | |||||||||||||||||||
| 37 | |||||||||||||||||||||
| 38 | __END__ | ||||||||||||||||||||