TPath/StderrLog.pm

filter: Statementstmt 83.3% 10 / 12 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 63.1% 12 / 19 CC 2 SCAR 12.5
CC
2
Cov
71%
put
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.5
« TPath/Context.pm ↑ Summary TPath/Selector/Id.pm »
1 package TPath::StderrLog;
2 1 $TPath::StderrLog::VERSION = '1.007';
3 # ABSTRACT: implementation of TPath::LogStream that simply prints to STDERR
4  
5  
6 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 with 'TPath::LogStream';
10  
11 0 ▶sub put {
Subroutine put: not called CC=2 SCAR=17.9
Pod undocumented
12 0 my ( $self, $message ) = @_;
13 0 ▶ print STDERR $message // '', "\n";
Condition0%0/2
$message // ""
l!l
00
MC/DC0%0/1
$message // ""
$message
Truth table0%0/2
A
A= $message
Aresult
11
00
14 }
15  
16 1 __PACKAGE__->meta->make_immutable;
17  
18 1 1;
19  
20 __END__
« TPath/Context.pm ↑ Summary TPath/Selector/Id.pm »