lib/App/I18N/Logger.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 13 | 46.1 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 6 | 33.3 |
pod | 0 | 4 | 0.0 |
total | 8 | 23 | 34.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package App::I18N::Logger; | ||||||
2 | 1 | 1 | 4 | use warnings; | |||
1 | 2 | ||||||
1 | 28 | ||||||
3 | 1 | 1 | 5 | use strict; | |||
1 | 1 | ||||||
1 | 159 | ||||||
4 | |||||||
5 | sub new { | ||||||
6 | 0 | 0 | 0 | return bless {} , shift; | |||
7 | } | ||||||
8 | |||||||
9 | sub info { | ||||||
10 | 0 | 0 | 0 | my $class = shift; | |||
11 | 0 | print @_ , "\n"; | |||||
12 | } | ||||||
13 | |||||||
14 | sub debug { | ||||||
15 | 0 | 0 | 0 | my $class = shift; | |||
16 | 0 | print @_ , "\n"; | |||||
17 | } | ||||||
18 | |||||||
19 | sub error { | ||||||
20 | 0 | 0 | 0 | my $class = shift; | |||
21 | 0 | print @_, "\n"; | |||||
22 | } | ||||||
23 | |||||||
24 | 1; |