t/pod-coverage.t

filter: Statementstmt 69.5% 16 / 23 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 64.7% 22 / 34 SCAR 0.7
CC
1
Cov
59%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« blib/lib/ElasticEmail/WebApiClient.pm ↑ Summary t/manifest.t »
1 #!perl -T
2 1 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Test::More;
Subroutine BEGIN: called CC=1 SCAR=0.0
6
7 1 ▶unless ( $ENV{RELEASE_TESTING} ) {
Branch: 1 branch
BranchTrueFalseTotal
unless ($ENV{"RELEASE_TESTING"}) 1 0 1
8 1 plan( skip_all => "Author tests not required for installation" );
9 }
10
11 # Ensure a recent version of Test::Pod::Coverage
12 0 my $min_tpc = 1.08;
13 0 eval "use Test::Pod::Coverage $min_tpc";
14 0 ▶plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage"
Branch: 1 branch
BranchTrueFalseTotal
if $@ 0 0 0
15 if $@;
16
17 # Test::Pod::Coverage doesn't require a minimum Pod::Coverage version,
18 # but older versions don't recognize some common documentation styles
19 0 my $min_pc = 0.18;
20 0 eval "use Pod::Coverage $min_pc";
21 0 ▶plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage"
Branch: 1 branch
BranchTrueFalseTotal
if $@ 0 0 0
22 if $@;
23
24 0 all_pod_coverage_ok();
« blib/lib/ElasticEmail/WebApiClient.pm ↑ Summary t/manifest.t »