blib/lib/YATT/Lite/Util/AllowRedundantSprintf.pm

filter: Statementstmt 100% 8 / 8 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 92.3% 12 / 13 CC 2 SCAR 4.5
CC
2
Cov
90%
import
2.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.6
« blib/lib/YATT/Lite/CLI.pm ↑ Summary t/scripts/genperl.ytmpl/1/ytmpl/layout.ytmpl »
1 package YATT::Lite::Util::AllowRedundantSprintf;
2 12 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 12 ▶use warnings qw(FATAL all NONFATAL misc);
Subroutine BEGIN: called CC=1 SCAR=0.0
4 12 ▶sub import {
Subroutine import: called CC=2 SCAR=7.6
5 12 ▶ warnings->unimport(qw/redundant/) if $] >= 5.021002; # for sprintf
Branch: 1 branch
BranchTrueFalseTotal
if $] >= "5.021002" 12 0 12
6 }
7 12 1;
« blib/lib/YATT/Lite/CLI.pm ↑ Summary t/scripts/genperl.ytmpl/1/ytmpl/layout.ytmpl »