| 1 | package Test2::Event::Note; | ||||||||||
| 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 | |||||||||||
| 8 | 455 | ▶ | BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 455 | ▶ | use Test2::Util::HashBase qw/message/; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | |||||||||||
| 11 | 982 | ▶ | sub init { | ||||||||
|
Subroutine
init: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 12 | 982 | ▶ | $_[0]->{+MESSAGE} = 'undef' unless defined $_[0]->{+MESSAGE}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | } | ||||||||||
| 14 | |||||||||||
| 15 | 2 | ▶ | sub summary { $_[0]->{+MESSAGE} } | ||||||||
|
Subroutine
summary: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 16 | |||||||||||
| 17 | 6361 | ▶ | sub facet_data { | ||||||||
|
Subroutine
facet_data: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 18 | 6361 | my $self = shift; | |||||||||
| 19 | |||||||||||
| 20 | 6361 | my $out = $self->common_facet_data; | |||||||||
| 21 | |||||||||||
| 22 | $out->{info} = [ | ||||||||||
| 23 | { | ||||||||||
| 24 | tag => 'NOTE', | ||||||||||
| 25 | debug => 0, | ||||||||||
| 26 | 6361 | details => $self->{+MESSAGE}, | |||||||||
| 27 | } | ||||||||||
| 28 | ]; | ||||||||||
| 29 | |||||||||||
| 30 | 6361 | return $out; | |||||||||
| 31 | } | ||||||||||
| 32 | |||||||||||
| 33 | 455 | 1; | |||||||||
| 34 | |||||||||||
| 35 | __END__ | ||||||||||