corpus/lib/Alien/foomake.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 0 | 2 | 0.0 |
total | 14 | 16 | 87.5 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Alien::foomake; | ||||||
2 | |||||||
3 | 1 | 1 | 8 | use strict; | |||
1 | 1 | ||||||
1 | 38 | ||||||
4 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 158 | ||||||
5 | |||||||
6 | our $VERSION = '0.25'; | ||||||
7 | |||||||
8 | 2 | 2 | 0 | 14 | sub exe { 'foomake.exe' } | ||
9 | |||||||
10 | sub alien_helper | ||||||
11 | { | ||||||
12 | return { | ||||||
13 | 1 | 1 | 3 | foomake1 => sub { Alien::foomake->exe }, | |||
14 | 1 | 1 | 0 | 8 | foomake2 => 'Alien::foomake->exe', | ||
15 | }; | ||||||
16 | } | ||||||
17 | |||||||
18 | 1; |