blib/lib/Test2/Plugin/IOSync.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 13 | 69.2 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | n/a | ||
total | 12 | 17 | 70.5 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Test2::Plugin::IOSync; | ||||||
2 | 1 | 1 | 223047 | use strict; | |||
1 | 2 | ||||||
1 | 23 | ||||||
3 | 1 | 1 | 4 | use warnings; | |||
1 | 2 | ||||||
1 | 32 | ||||||
4 | |||||||
5 | our $VERSION = '0.000008'; | ||||||
6 | |||||||
7 | 1 | 1 | 317 | use Test2::Plugin::OpenFixPerlIO; | |||
1 | 4 | ||||||
1 | 105 | ||||||
8 | require Test2::Plugin::IOMuxer; | ||||||
9 | require Test2::Plugin::IOEvents; | ||||||
10 | |||||||
11 | sub import { | ||||||
12 | 0 | 0 | my $class = shift; | ||||
13 | 0 | my ($mux_file) = @_; | |||||
14 | 0 | Test2::Plugin::IOMuxer->import($mux_file); | |||||
15 | 0 | Test2::Plugin::IOEvents->import(); | |||||
16 | } | ||||||
17 | |||||||
18 | 1; | ||||||
19 | |||||||
20 | __END__ |