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 | 51 | ||||||
3 | 2 | 2 | 8 | use warnings; | |||
2 | 3 | ||||||
2 | 50 | ||||||
4 | 2 | 2 | 8 | use feature qw/say/; | |||
2 | 3 | ||||||
2 | 200 | ||||||
5 | |||||||
6 | 2 | 2 | 389 | use parent qw/CPAN::MirrorMerger::Logger/; | |||
2 | 236 | ||||||
2 | 36 | ||||||
7 | |||||||
8 | my $_INSTANCE = __PACKAGE__->new(level => 'error'); | ||||||
9 | |||||||
10 | 2 | 2 | 0 | 5 | sub instance { $_INSTANCE } | ||
11 | |||||||
12 | 0 | 0 | sub write_log {} # nop | ||||
13 | 0 | 0 | sub format_log {} # nop | ||||
14 | |||||||
15 | 1; | ||||||
16 | __END__ |