line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test2::Formatter; |
2
|
245
|
|
|
245
|
|
2766
|
use strict; |
|
245
|
|
|
|
|
1959
|
|
|
245
|
|
|
|
|
8440
|
|
3
|
245
|
|
|
245
|
|
1300
|
use warnings; |
|
245
|
|
|
|
|
482
|
|
|
245
|
|
|
|
|
45905
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '1.302180'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
my %ADDED; |
9
|
|
|
|
|
|
|
sub import { |
10
|
162
|
|
|
162
|
|
433
|
my $class = shift; |
11
|
162
|
50
|
|
|
|
695
|
return if $class eq __PACKAGE__; |
12
|
162
|
50
|
|
|
|
850
|
return if $ADDED{$class}++; |
13
|
162
|
|
|
|
|
992
|
require Test2::API; |
14
|
162
|
|
|
|
|
726
|
Test2::API::test2_formatter_add($class); |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub new_root { |
18
|
264
|
|
|
264
|
0
|
758
|
my $class = shift; |
19
|
264
|
|
|
|
|
1170
|
return $class->new(@_); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
0
|
|
|
0
|
0
|
|
sub supports_tables { 0 } |
23
|
|
|
|
|
|
|
|
24
|
0
|
|
|
0
|
0
|
|
sub hide_buffered { 1 } |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
21
|
0
|
|
sub terminate { } |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
334
|
0
|
|
sub finalize { } |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
__END__ |