blib/lib/IO/Concurrent/Runner.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 16 | 75.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 5 | 80.0 |
pod | 0 | 1 | 0.0 |
total | 16 | 22 | 72.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package IO::Concurrent::Runner; | ||||||
2 | 1 | 1 | 5 | use strict; | |||
1 | 1 | ||||||
1 | 23 | ||||||
3 | 1 | 1 | 4 | use warnings; | |||
1 | 1 | ||||||
1 | 20 | ||||||
4 | |||||||
5 | 1 | 1 | 341 | use IO::Concurrent::Runner::Select; | |||
1 | 3 | ||||||
1 | 22 | ||||||
6 | |||||||
7 | 1 | 1 | 423 | use Module::Load (); | |||
1 | 890 | ||||||
1 | 53 | ||||||
8 | |||||||
9 | sub engine { | ||||||
10 | 0 | 0 | 0 | my (undef, $name) = @_; | |||
11 | 0 | my $class = 'IO::Concurrent::Runner::'.$name; | |||||
12 | 0 | Module::Load::load($class); | |||||
13 | 0 | return $class; | |||||
14 | } | ||||||
15 | |||||||
16 | 1; | ||||||
17 | __END__ |