tests/_all-2 | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 16 | 19 | 84.2 |
branch | 1 | 2 | 50.0 |
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | n/a | ||
total | 22 | 26 | 84.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | #!/usr/bin/perl -w | ||||||
2 | |||||||
3 | # The script verifies pod in all classes. | ||||||
4 | |||||||
5 | 1 | 1 | 7 | use strict; | |||
1 | 2 | ||||||
1 | 43 | ||||||
6 | |||||||
7 | 1 | 1 | 9073 | use FindBin; | |||
1 | 1354 | ||||||
1 | 61 | ||||||
8 | 1 | 1 | 891 | use lib "$FindBin::Bin/../perllib"; | |||
1 | 753 | ||||||
1 | 8 | ||||||
9 | |||||||
10 | 1 | 1 | 13760 | use Test::More; | |||
1 | 33638 | ||||||
1 | 13 | ||||||
11 | |||||||
12 | 1 | 3 | my $test_pod_class = "Test::Pod 1.14"; | ||||
13 | 1 | 1 | 81 | eval "use $test_pod_class"; | |||
1 | 397 | ||||||
0 | |||||||
0 | |||||||
14 | 1 | 50 | 10 | plan skip_all => "$test_pod_class required for testing POD" if $@; | |||
15 | 0 | 0 | all_pod_files_ok(); |