Log4perl/Layout.pm

filter: Statementstmt 66.6% 10 / 15 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 3 / 6 Podpod 0.0% 0 / 3 totaltotal 50.0% 13 / 26 CC 2 SCAR 9.4
CC
2
Cov
59%
appender_name
6.0
render
2.0
BEGIN
1.0
CRAP 2.6
« Log4perl/Appender/TestArrayBuffer.pm ↑ Summary Log4perl/Layout/PatternLayout/Multiline.pm »
1 package Log::Log4perl::Layout;
2  
3  
4 54 ▶use Log::Log4perl::Layout::SimpleLayout;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 54 ▶use Log::Log4perl::Layout::PatternLayout;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 54 ▶use Log::Log4perl::Layout::PatternLayout::Multiline;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8  
9 ####################################################
10 0 ▶sub appender_name {
Subroutine appender_name: not called CC=2 SCAR=17.9
Pod undocumented
11 ####################################################
12 0 my ($self, $arg) = @_;
13  
14 0 ▶ if ($arg) {
Branch: 1 branch
BranchTrueFalseTotal
if ($arg) 0 0 0
15 0 die "setting appender_name unimplemented until it makes sense";
16 }
17 0 return $self->{appender_name};
18 }
19  
20  
21 ##################################################
22 0 ▶sub define {
Subroutine define: not called CC=1 SCAR=0.0
Pod undocumented
23 ##################################################
24 ; #subclasses may implement
25 }
26  
27  
28 ##################################################
29 0 ▶sub render {
Subroutine render: not called CC=1 SCAR=6.9
Pod undocumented
30 ##################################################
31 0 die "subclass must implement render";
32 }
33  
34 54 1;
35  
36 __END__
« Log4perl/Appender/TestArrayBuffer.pm ↑ Summary Log4perl/Layout/PatternLayout/Multiline.pm »