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 | 208 | use strict; | |||
41 | 89 | ||||||
41 | 1079 | ||||||
3 | 41 | 41 | 261 | use warnings; | |||
41 | 84 | ||||||
41 | 1018 | ||||||
4 | |||||||
5 | 41 | 41 | 216 | use Test::Stream::Exporter; | |||
41 | 89 | ||||||
41 | 275 | ||||||
6 | default_exports qw/load_plugin/; | ||||||
7 | 41 | 41 | 216 | no Test::Stream::Exporter; | |||
41 | 82 | ||||||
41 | 185 | ||||||
8 | |||||||
9 | sub load_plugin { | ||||||
10 | 33 | 33 | 0 | 246 | my @caller = caller; | ||
11 | 33 | 267 | Test::Stream->load(\@caller, @_); | ||||
12 | } | ||||||
13 | |||||||
14 | 1; | ||||||
15 | |||||||
16 | __END__ |