blib/lib/Test/Stream/Plugin/LoadPlugin.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 14 | 14 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 19 | 20 | 95.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Test::Stream::Plugin::LoadPlugin; | ||||||
2 | 41 | 41 | 157 | use strict; | |||
41 | 52 | ||||||
41 | 961 | ||||||
3 | 41 | 41 | 137 | use warnings; | |||
41 | 52 | ||||||
41 | 895 | ||||||
4 | |||||||
5 | 41 | 41 | 140 | use Test::Stream::Exporter qw/import default_exports/; | |||
41 | 60 | ||||||
41 | 215 | ||||||
6 | default_exports qw/load_plugin/; | ||||||
7 | 41 | 41 | 169 | no Test::Stream::Exporter; | |||
41 | 53 | ||||||
41 | 129 | ||||||
8 | |||||||
9 | sub load_plugin { | ||||||
10 | 33 | 33 | 0 | 183 | my @caller = caller; | ||
11 | 33 | 146 | Test::Stream->load(\@caller, @_); | ||||
12 | } | ||||||
13 | |||||||
14 | 1; | ||||||
15 | |||||||
16 | __END__ |