blib/lib/Test/Reporter/Transport/Null.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 11 | 81.8 |
branch | 1 | 2 | 50.0 |
condition | n/a | ||
subroutine | 3 | 5 | 60.0 |
pod | 2 | 2 | 100.0 |
total | 15 | 20 | 75.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 4 | 4 | 14 | use strict; | |||
4 | 5 | ||||||
4 | 241 | ||||||
2 | 4 | 50 | 4 | 16 | BEGIN{ if (not $] < 5.006) { require warnings; warnings->import } } | ||
4 | 14 | ||||||
4 | 196 | ||||||
3 | package Test::Reporter::Transport::Null; | ||||||
4 | |||||||
5 | our $VERSION = '1.62'; | ||||||
6 | |||||||
7 | 4 | 4 | 18 | use base 'Test::Reporter::Transport'; | |||
4 | 4 | ||||||
4 | 1457 | ||||||
8 | |||||||
9 | sub new { | ||||||
10 | 0 | 0 | 1 | return bless {}, shift; | |||
11 | } | ||||||
12 | |||||||
13 | sub send { | ||||||
14 | 0 | 0 | 1 | return 1; # do nothing | |||
15 | } | ||||||
16 | |||||||
17 | 1; | ||||||
18 | |||||||
19 | # ABSTRACT: Null transport for Test::Reporter | ||||||
20 | |||||||
21 | __END__ |