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 | 174746 | use strict; | |||
1 | 3 | ||||||
1 | 75 | ||||||
3 | 1 | 1 | 6 | use warnings; | |||
1 | 2 | ||||||
1 | 35 | ||||||
4 | |||||||
5 | our $VERSION = '0.000007'; | ||||||
6 | |||||||
7 | 1 | 1 | 301 | use Test2::Plugin::OpenFixPerlIO; | |||
1 | 3 | ||||||
1 | 63 | ||||||
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__ |