Task-Bootstrap-Perl-0.003/t/release-pod-coverage.t

filter: Statementstmt 100% 6 / 6 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 90.0% 9 / 10 CC 2 SCAR 5.2
CC
2
Cov
88%
BEGIN
2.0
BEGIN
1.0
CRAP 1.7
« Task-Bootstrap-Perl-0.003/t/author-pod-syntax.t ↑ Summary t/00-compile.t »
1 #!perl
2  
3 1 ▶BEGIN {
Subroutine BEGIN: called CC=2 SCAR=7.1
4 1 ▶ unless ($ENV{RELEASE_TESTING}) {
Branch: 1 branch
BranchTrueFalseTotal
unless ($ENV{"RELEASE_TESTING"}) 1 0 1
5 1 require Test::More;
6 1 Test::More::plan(skip_all => 'these tests are for release candidate testing');
7 }
8 }
9  
10 # This file was automatically generated by Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable.
11  
12 use Test::Pod::Coverage 1.08;
13 use Test::More 0.88;
14  
15 BEGIN {
16 if ( $] <= 5.008008 ) {
17 plan skip_all => 'These tests require Pod::Coverage::TrustPod, which only works with Perl 5.8.9+';
18 }
19 }
20 use Pod::Coverage::TrustPod;
21  
22 my %skip = map { $_ => 1 } qw( );
23  
24 my @modules;
25 for my $module ( all_modules() ) {
26 next if $skip{$module};
27  
28 push @modules, $module;
29 }
30  
31 plan skip_all => 'All the modules we found were excluded from POD coverage test.'
32 unless @modules;
33  
34 plan tests => scalar @modules;
35  
36 my %trustme = ();
37  
38 my @also_private;
39  
40 for my $module ( sort @modules ) {
41 pod_coverage_ok(
42 $module,
43 {
44 coverage_class => 'Pod::Coverage::TrustPod',
45 also_private => \@also_private,
46 trustme => $trustme{$module} || [],
47 },
48 "pod coverage for $module"
49 );
50 }
51  
52 done_testing();
« Task-Bootstrap-Perl-0.003/t/author-pod-syntax.t ↑ Summary t/00-compile.t »