line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test2::Event::TAP::Version; |
2
|
1
|
|
|
1
|
|
585
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
32
|
|
3
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
48
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '1.302180'; |
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
7
|
use Carp qw/croak/; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
94
|
|
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
8
|
BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } |
|
1
|
|
|
|
|
46
|
|
10
|
1
|
|
|
1
|
|
7
|
use Test2::Util::HashBase qw/version/; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
11
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub init { |
13
|
2
|
|
|
2
|
0
|
4
|
my $self = shift; |
14
|
2
|
100
|
|
|
|
223
|
defined $self->{+VERSION} or croak "'version' is a required attribute"; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
3
|
|
|
3
|
1
|
16
|
sub summary { 'TAP version ' . $_[0]->{+VERSION} } |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub facet_data { |
20
|
1
|
|
|
1
|
1
|
3
|
my $self = shift; |
21
|
|
|
|
|
|
|
|
22
|
1
|
|
|
|
|
9
|
my $out = $self->common_facet_data; |
23
|
|
|
|
|
|
|
|
24
|
1
|
|
|
|
|
4
|
$out->{about}->{details} = $self->summary; |
25
|
|
|
|
|
|
|
|
26
|
1
|
|
|
|
|
3
|
push @{$out->{info}} => { |
|
1
|
|
|
|
|
6
|
|
27
|
|
|
|
|
|
|
tag => 'INFO', |
28
|
|
|
|
|
|
|
debug => 0, |
29
|
|
|
|
|
|
|
details => $self->summary, |
30
|
|
|
|
|
|
|
}; |
31
|
|
|
|
|
|
|
|
32
|
1
|
|
|
|
|
5
|
return $out; |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
__END__ |