web/cgi-bin/yatt.lib/YATT/Util/redundant_sprintf.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 7 | 7 | 100.0 |
branch | 1 | 2 | 50.0 |
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 11 | 12 | 91.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package YATT::Util::redundant_sprintf; | ||||||
2 | 12 | 12 | 61 | use strict; | |||
12 | 23 | ||||||
12 | 371 | ||||||
3 | 12 | 12 | 61 | use warnings qw(FATAL all NONFATAL misc); | |||
12 | 19 | ||||||
12 | 843 | ||||||
4 | |||||||
5 | sub import { | ||||||
6 | 17 | 50 | 17 | 34386 | warnings->unimport(qw/redundant/) if $] >= 5.021002; | ||
7 | } | ||||||
8 | |||||||
9 | 1; |