line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test2::Event::Diag; |
2
|
246
|
|
|
246
|
|
2174
|
use strict; |
|
246
|
|
|
|
|
512
|
|
|
246
|
|
|
|
|
7942
|
|
3
|
246
|
|
|
246
|
|
1468
|
use warnings; |
|
246
|
|
|
|
|
540
|
|
|
246
|
|
|
|
|
14314
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '1.302180'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
|
8
|
246
|
|
|
246
|
|
1536
|
BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } |
|
246
|
|
|
|
|
10215
|
|
9
|
246
|
|
|
246
|
|
1720
|
use Test2::Util::HashBase qw/message/; |
|
246
|
|
|
|
|
541
|
|
|
246
|
|
|
|
|
1735
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub init { |
12
|
1223
|
100
|
|
1223
|
0
|
3581
|
$_[0]->{+MESSAGE} = 'undef' unless defined $_[0]->{+MESSAGE}; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
2
|
|
|
2
|
1
|
14
|
sub summary { $_[0]->{+MESSAGE} } |
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
1
|
1
|
6
|
sub diagnostics { 1 } |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub facet_data { |
20
|
1934
|
|
|
1934
|
1
|
3014
|
my $self = shift; |
21
|
|
|
|
|
|
|
|
22
|
1934
|
|
|
|
|
4696
|
my $out = $self->common_facet_data; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
$out->{info} = [ |
25
|
|
|
|
|
|
|
{ |
26
|
|
|
|
|
|
|
tag => 'DIAG', |
27
|
|
|
|
|
|
|
debug => 1, |
28
|
1934
|
|
|
|
|
6792
|
details => $self->{+MESSAGE}, |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
]; |
31
|
|
|
|
|
|
|
|
32
|
1934
|
|
|
|
|
4787
|
return $out; |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
__END__ |