CljPerl/Logger.pm

filter: Statementstmt 50.0% 8 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 2 / 6 Podpod 0.0% 0 / 4 totaltotal 38.4% 10 / 26 CC 1 SCAR 5.1
CC
1
Cov
50%
error
2.0
info
2.0
warn
2.0
CRAP 1.7
« CljPerl/Atom.pm ↑ Summary CljPerl/Var.pm »
1 package CljPerl::Logger;
2
3 2 ▶ use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶ use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5
6 2 our $VERSION = '0.10';
7
8 0 ▶ sub error {
Subroutine error: not called CC=1 SCAR=6.9
Pod undocumented
9 0 my $msg = shift;
10 0 die "[E] $msg";
11 }
12
13 0 ▶ sub info {
Subroutine info: not called CC=1 SCAR=6.9
Pod undocumented
14 0 my $msg = shift;
15 0 print "[I] $msg";
16 }
17
18 0 ▶ sub warn {
Subroutine warn: not called CC=1 SCAR=6.9
Pod undocumented
19 0 my $msg = shift;
20 0 print "[W] $msg";
21 }
22
23 0 ▶ sub debug {
Subroutine debug: not called CC=1 SCAR=6.9
Pod undocumented
24 0 my $msg = shift;
25 0 print "[D] $msg";
26 }
27
28 2 1;
29
« CljPerl/Atom.pm ↑ Summary CljPerl/Var.pm »