blib/lib/OrePAN2/Logger.pm

filter: Statementstmt 83.3% 5 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 2 totaltotal 63.6% 7 / 11 CC 1 SCAR 2.9
CC
1
Cov
83%
warn
2.0
BEGIN
1.0
info
1.0
CRAP 1.3
« blib/lib/OrePAN2/CLI/Indexer.pm ↑ Summary script/orepan2-merge-index »
1 package OrePAN2::Logger;
2  
3 14 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 # trace
6 # debug
7 # info (inform)
8 3 ▶sub info { print STDERR "[INFO] $_[1]\n" }
Subroutine info: called CC=1 SCAR=0.0
Pod undocumented
9  
10 # notice
11 # warning (warn)
12 0 ▶sub warn { print STDERR "[WARN] $_[1]\n" }
Subroutine warn: not called CC=1 SCAR=6.9
Pod undocumented
13  
14 # error (err)
15 # critical (crit, fatal)
16 # alert
17 # emergency
18  
19 14 1;
« blib/lib/OrePAN2/CLI/Indexer.pm ↑ Summary script/orepan2-merge-index »