| 1 | package Tangerine::HookData; | ||||||||||||||||||||||||||||||||
| 2 | 15 | $Tangerine::HookData::VERSION = '0.21'; | |||||||||||||||||||||||||||||||
| 3 | 15 | ▶ | use strict; | ||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||
| 4 | 15 | ▶ | use warnings; | ||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||
| 5 | 15 | ▶ | use Tangerine::Utils qw/accessor/; | ||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||
| 6 | |||||||||||||||||||||||||||||||||
| 7 | sub new { | ||||||||||||||||||||||||||||||||
| 8 | 178 | ▶ | my $class = shift; | ||||||||||||||||||||||||||||||
|
Subroutine
new: called CC=4 SCAR=13.9
Pod
undocumented
| |||||||||||||||||||||||||||||||||
| 9 | 178 | my %args = @_; | |||||||||||||||||||||||||||||||
| 10 | bless { | ||||||||||||||||||||||||||||||||
| 11 | _children => $args{children} // [], | ||||||||||||||||||||||||||||||||
| 12 | _hooks => $args{hooks} // [], | ||||||||||||||||||||||||||||||||
| 13 | _modules => $args{modules} // {}, | ||||||||||||||||||||||||||||||||
| 14 | _type => $args{type}, | ||||||||||||||||||||||||||||||||
| 15 | 178 | ▶ | }, $class | ||||||||||||||||||||||||||||||
|
Condition100%6/6
$args{"children"} // []
$args{"hooks"} // []
$args{"modules"} // {}
MC/DC100%1/1
$args{"children"} // []
$args{"children"}
MC/DC100%1/1
$args{"hooks"} // []
$args{"hooks"}
MC/DC100%1/1
$args{"modules"} // {}
$args{"modules"}
Truth table100%2/2
A
A= $args{"children"}
Truth table100%2/2
A
A= $args{"hooks"}
Truth table100%2/2
A
A= $args{"modules"}
| |||||||||||||||||||||||||||||||||
| 16 | } | ||||||||||||||||||||||||||||||||
| 17 | |||||||||||||||||||||||||||||||||
| 18 | 200 | ▶ | sub children { accessor _children => @_ } | ||||||||||||||||||||||||||||||
|
Subroutine
children: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||||||||||||||||||||||
| 19 | 192 | ▶ | sub hooks { accessor _hooks => @_ } | ||||||||||||||||||||||||||||||
|
Subroutine
hooks: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||||||||||||||||||||||
| 20 | 178 | ▶ | sub modules { accessor _modules => @_ } | ||||||||||||||||||||||||||||||
|
Subroutine
modules: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||||||||||||||||||||||
| 21 | 22 | ▶ | sub type { accessor _type => @_ } | ||||||||||||||||||||||||||||||
|
Subroutine
type: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||||||||||||||||||||||
| 22 | |||||||||||||||||||||||||||||||||
| 23 | 15 | 1; | |||||||||||||||||||||||||||||||
| 24 | |||||||||||||||||||||||||||||||||
| 25 | __END__ | ||||||||||||||||||||||||||||||||