blib/lib/YATT/Lite/Util/AllowRedundantSprintf.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 7 | 85.7 |
branch | 0 | 2 | 0.0 |
condition | n/a | ||
subroutine | 2 | 3 | 66.6 |
pod | n/a | ||
total | 8 | 12 | 66.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package YATT::Lite::Util::AllowRedundantSprintf; | ||||||
2 | 1 | 1 | 1797 | use strict; | |||
1 | 3 | ||||||
1 | 30 | ||||||
3 | 1 | 1 | 5 | use warnings qw(FATAL all NONFATAL misc); | |||
1 | 3 | ||||||
1 | 59 | ||||||
4 | sub import { | ||||||
5 | 0 | 0 | 0 | warnings->unimport(qw/redundant/) if $] >= 5.021002; # for sprintf | |||
6 | } | ||||||
7 | 1; |