Debian Codegraph @

xt/author/pod-coverage.t

raw symbols SCIP
1 #!perl
2 # This file was automatically generated by Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable 0.07.
3
4 use Test::Pod::Coverage 1.08scip-perl cpan List-AllUtils 0.19 Test/Pod/`Coverage 1.08`/;
5 use Test::More 0.88scip-perl cpan List-AllUtils 0.19 Test/`More 0.88`/;
6
7 BEGIN {
8 if ( $]scip-perl cpan List-AllUtils 0.19 main/`$]`. <= 5.008008 ) {
9 planscip-perl cpan List-AllUtils 0.19 main/plan(). skip_all => 'These tests require Pod::Coverage::TrustPod, which only works with Perl 5.8.9+';
10 }
11 }
12 use Pod::Coverage::TrustPodscip-perl cpan List-AllUtils 0.19 Pod/Coverage/TrustPod/;
13
14 my %skip = mapscip-perl cpan List-AllUtils 0.19 main/map(). { $_scip-perl cpan List-AllUtils 0.19 main/$_. => 1 } qw( );
15
16 my @modules;
17 for my $module ( all_modulesscip-perl cpan List-AllUtils 0.19 main/all_modules().() ) {
18 next if $skip{$module};
19
20 pushscip-perl cpan List-AllUtils 0.19 main/push(). @modules, $module;
21 }
22
23 planscip-perl cpan List-AllUtils 0.19 main/plan(). skip_all => 'All the modules we found were excluded from POD coverage test.'
24 unless @modules;
25
26 planscip-perl cpan List-AllUtils 0.19 main/plan(). tests => scalarscip-perl cpan List-AllUtils 0.19 main/scalar(). @modules;
27
28 my %trustme = ();
29
30 my @also_private;
31
32 for my $module ( sortscip-perl cpan List-AllUtils 0.19 main/sort(). @modules ) {
33 pod_coverage_okscip-perl cpan List-AllUtils 0.19 main/pod_coverage_ok().(
34 $module,
35 {
36 coverage_class => 'Pod::Coverage::TrustPod',
37 also_private => \@also_private,
38 trustme => $trustme{$module} || [],
39 },
40 "pod coverage for $module"
41 );
42 }
43
44 done_testingscip-perl cpan List-AllUtils 0.19 main/done_testing().();