| 1 | package Test2::Formatter; | ||||||||||
| 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 | my %ADDED; | |||||||||
| 9 | 183 | ▶ | sub import { | ||||||||
|
Subroutine
import: called CC=3 SCAR=11.3
| |||||||||||
| 10 | 183 | my $class = shift; | |||||||||
| 11 | 183 | ▶ | return if $class eq __PACKAGE__; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 12 | 183 | ▶ | return if $ADDED{$class}++; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | 183 | require Test2::API; | |||||||||
| 14 | 183 | Test2::API::test2_formatter_add($class); | |||||||||
| 15 | } | ||||||||||
| 16 | |||||||||||
| 17 | 473 | ▶ | sub new_root { | ||||||||
|
Subroutine
new_root: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 18 | 473 | my $class = shift; | |||||||||
| 19 | 473 | return $class->new(@_); | |||||||||
| 20 | } | ||||||||||
| 21 | |||||||||||
| 22 | 0 | ▶ | sub supports_tables { 0 } | ||||||||
|
Subroutine
supports_tables: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 23 | |||||||||||
| 24 | 0 | ▶ | sub hide_buffered { 1 } | ||||||||
|
Subroutine
hide_buffered: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 25 | |||||||||||
| 26 | 31 | ▶ | sub terminate { } | ||||||||
|
Subroutine
terminate: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 27 | |||||||||||
| 28 | 499 | ▶ | sub finalize { } | ||||||||
|
Subroutine
finalize: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 29 | |||||||||||
| 30 | 455 | 1; | |||||||||
| 31 | |||||||||||
| 32 | __END__ | ||||||||||