line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test2::EventFacet; |
2
|
246
|
|
|
246
|
|
1579
|
use strict; |
|
246
|
|
|
|
|
445
|
|
|
246
|
|
|
|
|
7430
|
|
3
|
246
|
|
|
246
|
|
1169
|
use warnings; |
|
246
|
|
|
|
|
435
|
|
|
246
|
|
|
|
|
10317
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '1.302180'; |
6
|
|
|
|
|
|
|
|
7
|
246
|
|
|
246
|
|
110396
|
use Test2::Util::HashBase qw/-details/; |
|
246
|
|
|
|
|
599
|
|
|
246
|
|
|
|
|
1423
|
|
8
|
246
|
|
|
246
|
|
1649
|
use Carp qw/croak/; |
|
246
|
|
|
|
|
489
|
|
|
246
|
|
|
|
|
43181
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
my $SUBLEN = length(__PACKAGE__ . '::'); |
11
|
|
|
|
|
|
|
sub facet_key { |
12
|
32
|
|
33
|
32
|
1
|
162
|
my $key = ref($_[0]) || $_[0]; |
13
|
32
|
|
|
|
|
98
|
substr($key, 0, $SUBLEN, ''); |
14
|
32
|
|
|
|
|
131
|
return lc($key); |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
116
|
|
|
116
|
1
|
342
|
sub is_list { 0 } |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub clone { |
20
|
117
|
|
|
117
|
1
|
217
|
my $self = shift; |
21
|
117
|
|
|
|
|
197
|
my $type = ref($self); |
22
|
117
|
|
|
|
|
614
|
return bless {%$self, @_}, $type; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |