| 1 | ################################################## | ||||||||||||||||||||
| 2 | package Log::Log4perl::Layout::NoopLayout; | ||||||||||||||||||||
| 3 | ################################################## | ||||||||||||||||||||
| 4 | |||||||||||||||||||||
| 5 | |||||||||||||||||||||
| 6 | ################################################## | ||||||||||||||||||||
| 7 | 8 | ▶ | sub new { | ||||||||||||||||||
|
Subroutine
new: called CC=2 SCAR=7.2
Pod
undocumented
| |||||||||||||||||||||
| 8 | ################################################## | ||||||||||||||||||||
| 9 | 8 | my $class = shift; | |||||||||||||||||||
| 10 | 8 | ▶ | $class = ref ($class) || $class; | ||||||||||||||||||
|
Condition33%1/3
ref $class || $class
MC/DC0%0/2
ref $class || $class
ref $class
$class
Truth table33%1/3
A || B
A= ref $classB= $class
| |||||||||||||||||||||
| 11 | |||||||||||||||||||||
| 12 | 8 | my $self = { | |||||||||||||||||||
| 13 | format => undef, | ||||||||||||||||||||
| 14 | info_needed => {}, | ||||||||||||||||||||
| 15 | stack => [], | ||||||||||||||||||||
| 16 | }; | ||||||||||||||||||||
| 17 | |||||||||||||||||||||
| 18 | 8 | bless $self, $class; | |||||||||||||||||||
| 19 | |||||||||||||||||||||
| 20 | 8 | return $self; | |||||||||||||||||||
| 21 | } | ||||||||||||||||||||
| 22 | |||||||||||||||||||||
| 23 | ################################################## | ||||||||||||||||||||
| 24 | 13 | ▶ | sub render { | ||||||||||||||||||
|
Subroutine
render: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||
| 25 | ################################################## | ||||||||||||||||||||
| 26 | #my($self, $message, $category, $priority, $caller_level) = @_; | ||||||||||||||||||||
| 27 | 13 | return $_[1];; | |||||||||||||||||||
| 28 | } | ||||||||||||||||||||
| 29 | |||||||||||||||||||||
| 30 | 4 | 1; | |||||||||||||||||||
| 31 | |||||||||||||||||||||
| 32 | __END__ | ||||||||||||||||||||