| 1 | package Test2::Event::Diag; | ||||||||||
| 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 | 1436 | ▶ | sub init { | ||||||||
|
Subroutine
init: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 12 | 1436 | ▶ | $_[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 | 1 | ▶ | sub diagnostics { 1 } | ||||||||
|
Subroutine
diagnostics: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 18 | |||||||||||
| 19 | 2377 | ▶ | sub facet_data { | ||||||||
|
Subroutine
facet_data: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 20 | 2377 | my $self = shift; | |||||||||
| 21 | |||||||||||
| 22 | 2377 | my $out = $self->common_facet_data; | |||||||||
| 23 | |||||||||||
| 24 | $out->{info} = [ | ||||||||||
| 25 | { | ||||||||||
| 26 | tag => 'DIAG', | ||||||||||
| 27 | debug => 1, | ||||||||||
| 28 | 2377 | details => $self->{+MESSAGE}, | |||||||||
| 29 | } | ||||||||||
| 30 | ]; | ||||||||||
| 31 | |||||||||||
| 32 | 2377 | return $out; | |||||||||
| 33 | } | ||||||||||
| 34 | |||||||||||
| 35 | 455 | 1; | |||||||||
| 36 | |||||||||||
| 37 | __END__ | ||||||||||