| 1 | package Language::Homespring::River; | ||||||||||||
| 2 | |||||||||||||
| 3 | 4 | $VERSION = 0.01; | |||||||||||
| 4 | |||||||||||||
| 5 | 4 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 6 | 4 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 7 | |||||||||||||
| 8 | 4 | my $river_count = 0; | |||||||||||
| 9 | |||||||||||||
| 10 | 95 | ▶ | sub new { | ||||||||||
|
Subroutine
new: called CC=3 SCAR=11.1
Pod
undocumented
| |||||||||||||
| 11 | 95 | my $class = shift; | |||||||||||
| 12 | 95 | my $self = bless {}, $class; | |||||||||||
| 13 | |||||||||||||
| 14 | 95 | my $options = shift; | |||||||||||
| 15 | 95 | $self->{interp} = $options->{interp}; | |||||||||||
| 16 | 95 | ▶ | $self->{up_node} = $options->{up_node} || undef; | ||||||||||
|
Condition50%1/2
$options->{'up_node'} || undef
MC/DC0%0/1
$options->{'up_node'} || undef
$options->{'up_node'}
Truth table50%1/2
A
A= $options->{'up_node'}
| |||||||||||||
| 17 | 95 | ▶ | $self->{down_node} = $options->{down_node} || undef; | ||||||||||
|
Condition50%1/2
$options->{'down_node'} || undef
MC/DC0%0/1
$options->{'down_node'} || undef
$options->{'down_node'}
Truth table50%1/2
A
A= $options->{'down_node'}
| |||||||||||||
| 18 | 95 | $self->{uid} = ++$river_count; | |||||||||||
| 19 | |||||||||||||
| 20 | 95 | return $self; | |||||||||||
| 21 | } | ||||||||||||
| 22 | |||||||||||||
| 23 | 4 | 1; | |||||||||||