corpus/log_commandline/sample7.pl

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« corpus/log_commandline/sample6.pl ↑ Summary corpus/log_commandline/sample8.pl »
1 5 ▶use Log::Log4perl qw(:easy);
Subroutine BEGIN: called CC=1 SCAR=0.0
2 5 ▶use Clustericious::Log::CommandLine ':all',
Subroutine BEGIN: called CC=1 SCAR=0.0
3 ':loginit' => q(
4 log4perl.logger = WARN, screen
5 log4perl.appender.screen=Log::Log4perl::Appender::Screen
6 log4perl.appender.screen.layout=Log::Log4perl::Layout::PatternLayout
7 log4perl.appender.screen.layout.ConversionPattern=[%-5p] %c %m%n
8 5 );
9  
10 5 ▶use lib '.';
Subroutine BEGIN: called CC=1 SCAR=0.0
11 5 ▶use SampleModule;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 5 SampleModule::test();
14  
15 5 TRACE "trace message";
16 5 DEBUG "debug message";
17 5 INFO "info message";
18 5 WARN "warn message";
19 5 ERROR "error message";
20 5 FATAL "fatal message";
« corpus/log_commandline/sample6.pl ↑ Summary corpus/log_commandline/sample8.pl »