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 | 18 | use strict; | |||
4 | 6 | ||||||
4 | 323 | ||||||
2 | 4 | 50 | 4 | 20 | BEGIN{ if (not $] < 5.006) { require warnings; warnings->import } } | ||
4 | 23 | ||||||
4 | 278 | ||||||
3 | package Test::Reporter::Transport::Null; | ||||||
4 | |||||||
5 | our $VERSION = '1.61'; # TRIAL | ||||||
6 | |||||||
7 | 4 | 4 | 20 | use base 'Test::Reporter::Transport'; | |||
4 | 8 | ||||||
4 | 1790 | ||||||
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__ |