t/99.distribution.t | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 16 | 17 | 94.1 |
branch | 1 | 2 | 50.0 |
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | n/a | ||
total | 22 | 24 | 91.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | #!/usr/bin/perl | ||||||
2 | |||||||
3 | 1 | 1 | 6 | use strict; | |||
1 | 2 | ||||||
1 | 44 | ||||||
4 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 39 | ||||||
5 | |||||||
6 | 1 | 1 | 775 | use lib qw(lib t/lib blib/lib); | |||
1 | 641 | ||||||
1 | 4 | ||||||
7 | |||||||
8 | 1 | 1 | 1240 | use Test::More; | |||
1 | 52432 | ||||||
1 | 14 | ||||||
9 | |||||||
10 | BEGIN { | ||||||
11 | 1 | 1 | 477 | eval { | |||
12 | 1 | 394 | require Test::Distribution; | ||||
13 | }; | ||||||
14 | |||||||
15 | 1 | 50 | 6 | if ($@) { | |||
16 | 1 | 5 | plan skip_all => 'Test::Distribution not installed'; | ||||
17 | } | ||||||
18 | else { | ||||||
19 | 0 | import Test::Distribution not => q(podcover); | |||||
20 | } | ||||||
21 | } | ||||||
22 | |||||||
23 |