blib/lib/CPAN/MirrorMerger/Logger/Null.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 13 | 13 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 7 | 71.4 |
pod | 0 | 3 | 0.0 |
total | 18 | 23 | 78.2 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package CPAN::MirrorMerger::Logger::Null; | ||||||
2 | 2 | 2 | 12 | use strict; | |||
2 | 4 | ||||||
2 | 47 | ||||||
3 | 2 | 2 | 9 | use warnings; | |||
2 | 4 | ||||||
2 | 49 | ||||||
4 | 2 | 2 | 10 | use feature qw/say/; | |||
2 | 4 | ||||||
2 | 195 | ||||||
5 | |||||||
6 | 2 | 2 | 440 | use parent qw/CPAN::MirrorMerger::Logger/; | |||
2 | 251 | ||||||
2 | 37 | ||||||
7 | |||||||
8 | my $_INSTANCE = __PACKAGE__->new(level => 'error'); | ||||||
9 | |||||||
10 | 2 | 2 | 0 | 6 | sub instance { $_INSTANCE } | ||
11 | |||||||
12 | 0 | 0 | sub write_log {} # nop | ||||
13 | 0 | 0 | sub format_log {} # nop | ||||
14 | |||||||
15 | 1; | ||||||
16 | __END__ |