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 | 31 | use strict; | |||
4 | 11 | ||||||
4 | 523 | ||||||
2 | 4 | 50 | 4 | 27 | BEGIN{ if (not $] < 5.006) { require warnings; warnings->import } } | ||
4 | 22 | ||||||
4 | 401 | ||||||
3 | package Test::Reporter::Transport::Null; | ||||||
4 | our $VERSION = '1.60'; # VERSION | ||||||
5 | |||||||
6 | 4 | 4 | 23 | use base 'Test::Reporter::Transport'; | |||
4 | 11 | ||||||
4 | 25765 | ||||||
7 | |||||||
8 | sub new { | ||||||
9 | 0 | 0 | 1 | return bless {}, shift; | |||
10 | } | ||||||
11 | |||||||
12 | sub send { | ||||||
13 | 0 | 0 | 1 | return 1; # do nothing | |||
14 | } | ||||||
15 | |||||||
16 | 1; | ||||||
17 | |||||||
18 | # ABSTRACT: Null transport for Test::Reporter | ||||||
19 | |||||||
20 | __END__ |