Test/DistManifest.pm

filter: Statementstmt 100% 21 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 1 totaltotal 96.4% 27 / 28 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary DistManifestTests.pm »
1 2 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Dist::Zilla::Plugin::Test::DistManifest; # git description: v2.000005-6-g278719c
6 # ABSTRACT: Release tests for the manifest
7  
8 2 our $VERSION = '2.000006';
9  
10 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 2 extends 'Dist::Zilla::Plugin::InlineFiles';
12 2 with 'Dist::Zilla::Role::PrereqSource';
13  
14 sub register_prereqs
15 2 ▶{
Subroutine register_prereqs: called CC=1 SCAR=0.0
Pod undocumented
16 2 my $self = shift;
17 2 $self->zilla->register_prereqs(
18 {
19 type => 'requires',
20 phase => 'develop',
21 },
22 'Test::DistManifest' => 0,
23 );
24 }
25  
26 2 __PACKAGE__->meta->make_immutable;
27 2 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
28 2 1;
29  
30 #pod =head1 SYNOPSIS
31 #pod
32 #pod In C<dist.ini>:
33 #pod
34 #pod [Test::DistManifest]
35 #pod
36 #pod =for test_synopsis
37 #pod 1;
38 #pod __END__
39 #pod
40 #pod =head1 DESCRIPTION
41 #pod
42 #pod This is an extension of L<Dist::Zilla::Plugin::InlineFiles>, providing the
43 #pod following file:
44 #pod
45 #pod xt/release/dist-manifest.t - a standard Test::DistManifest test
46 #pod
47 #pod =for Pod::Coverage register_prereqs
48 #pod
49 #pod =cut
50  
51 =pod
52  
53 =encoding UTF-8
54  
55 =head1 NAME
56  
57 Dist::Zilla::Plugin::Test::DistManifest - Release tests for the manifest
58  
59 =head1 VERSION
60  
61 version 2.000006
62  
63 =head1 SYNOPSIS
64  
65 In C<dist.ini>:
66  
67 [Test::DistManifest]
68  
69 =head1 DESCRIPTION
70  
71 This is an extension of L<Dist::Zilla::Plugin::InlineFiles>, providing the
72 following file:
73  
74 xt/release/dist-manifest.t - a standard Test::DistManifest test
75  
76 =for test_synopsis 1;
77 __END__
↑ Summary DistManifestTests.pm »