| 1 | package Test2::EventFacet::Parent; | ||||||||||||
| 2 | 455 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 3 | 455 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | |||||||||||||
| 5 | 455 | our $VERSION = '1.302226'; | |||||||||||
| 6 | |||||||||||||
| 7 | 455 | ▶ | use Carp qw/confess/; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 8 | |||||||||||||
| 9 | 455 | ▶ | BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) } | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 10 | 455 | ▶ | use Test2::Util::HashBase qw{-hid -children -buffered -start_stamp -stop_stamp}; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 11 | |||||||||||||
| 12 | 6 | ▶ | sub init { | ||||||||||
|
Subroutine
init: called CC=3 SCAR=12.0
Pod
undocumented
| |||||||||||||
| 13 | confess "Attribute 'hid' must be set" | ||||||||||||
| 14 | 6 | ▶ | unless defined $_[0]->{+HID}; | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 15 | |||||||||||||
| 16 | 6 | ▶ | $_[0]->{+CHILDREN} ||= []; | ||||||||||
|
Condition50%1/2
$_[0]{"children"} ||= []
MC/DC0%0/1
$_[0]{"children"} ||= []
$_[0]{"children"}
Truth table50%1/2
A
A= $_[0]{"children"}
| |||||||||||||
| 17 | } | ||||||||||||
| 18 | |||||||||||||
| 19 | 455 | 1; | |||||||||||
| 20 | |||||||||||||
| 21 | __END__ | ||||||||||||