corpus/structs.pl

filter: Statementstmt 100% 1 / 1 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 100% 1 / 1 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« blib/lib/Dist/Metadata/Tar.pm ↑ Summary
1 #
2 # This file is part of Dist-Metadata
3 #
4 # This software is copyright (c) 2011 by Randy Stauner.
5 #
6 # This is free software; you can redistribute it and/or modify it under
7 # the same terms as the Perl 5 programming language system itself.
8 #
9 1 $Dist::Metadata::Test::Structs = {
10 'index_like_pause' => {
11 'Dist-Metadata-Test-LikePause-0.1/README' => 'This "dist" is for testing Dist::Metadata.
12 ',
13 'Dist-Metadata-Test-LikePause-0.1/lib/Dist/Metadata/Test/LikePause.pm' => 'package Dist::Metadata::Test::LikePause;
14  
15 # ABSTRACT: Fake dist for testing metadata determination
16  
17 our $VERSION = \'0.1\';
18  
19 # This should be excluded unless "include_inner_packages" is true
20 package ExtraPackage;
21  
22 our $VERSION = \'0.2\';
23 '
24 },
25 'metafile' => {
26 'Dist-Metadata-Test-MetaFile-2.2/META.json' => '{
27 "abstract" : "Fake dist for testing metadata determination",
28 "author" : [
29 "Randy Stauner <rwstauner@cpan.org>"
30 ],
31 "dynamic_config" : 0,
32 "generated_by" : "hand",
33 "license" : [
34 "perl_5"
35 ],
36 "meta-spec" : {
37 "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
38 "version" : "2"
39 },
40 "name" : "Dist-Metadata-Test-MetaFile",
41 "no_index" : {
42 "directory" : [
43 "corpus",
44 "examples",
45 "inc",
46 "share",
47 "t",
48 "xt"
49 ]
50 },
51 "provides" : {
52 "Dist::Metadata::Test::MetaFile" : {
53 "file" : "lib/Dist/Metadata/Test/MetaFile.pm",
54 "version" : "2.1"
55 },
56 "Dist::Metadata::Test::MetaFile::PM" : {
57 "file" : "lib/Dist/Metadata/Test/MetaFile/PM.pm",
58 "version" : "2.0"
59 }
60 },
61 "release_status" : "stable",
62 "version" : "2.2"
63 }
64  
65 ',
66 'Dist-Metadata-Test-MetaFile-2.2/META.yml' => '---
67 abstract: Fake dist for testing metadata determination
68 author:
69 - Randy Stauner <rwstauner@cpan.org>
70 dynamic_config: 0
71 generated_by: hand
72 license:
73 - perl_5
74 meta-spec:
75 url: http://search.cpan.org/perldoc?CPAN::Meta::Spec
76 version: \'2\'
77 name: Dist-Metadata-Test-MetaFile
78 no_index:
79 directory:
80 - corpus
81 - examples
82 - inc
83 - share
84 - t
85 - xt
86 provides:
87 Dist::Metadata::Test::MetaFile:
88 file: lib/Dist/Metadata/Test/MetaFile.pm
89 version: \'2.05\'
90 Dist::Metadata::Test::MetaFile::PM:
91 file: lib/Dist/Metadata/Test/MetaFile/PM.pm
92 version: \'2.04\'
93 release_status: stable
94 version: \'2.2\'
95 ',
96 'Dist-Metadata-Test-MetaFile-2.2/lib/Dist/Metadata/Test/MetaFile.pm' => 'package Dist::Metadata::Test::MetaFile;
97 # ABSTRACT: Fake dist for testing metadata determination
98  
99 # does not match META file but we trust the META file
100 our $VERSION = \'1.5\';
101 ',
102 'Dist-Metadata-Test-MetaFile-2.2/lib/Dist/Metadata/Test/MetaFile/PM.pm' => 'package Dist::Metadata::Test::MetaFile::PM;
103 # ABSTRACT: Just a file to be indexed
104  
105 our $VERSION = \'1.1\';
106 ',
107 'Dist-Metadata-Test-MetaFile-2.2/README' => 'This "dist" is for testing Dist::Metadata.
108 '
109 },
110 'subdir' => {
111 'Dist-Metadata-Test-SubDir-1.5/README' => 'This "dist" is for testing Dist::Metadata.
112 ',
113 'Dist-Metadata-Test-SubDir-1.5/lib/Dist/Metadata/Test/SubDir.pm' => 'package Dist::Metadata::Test::SubDir;
114 # ABSTRACT: Fake dist for testing metadata determination
115  
116 our $VERSION = \'1.1\';
117 ',
118 'Dist-Metadata-Test-SubDir-1.5/lib/Dist/Metadata/Test/SubDir/PM.pm' => 'package Dist::Metadata::Test::SubDir::PM;
119 # ABSTRACT: Just a file to be indexed
120  
121 our $VERSION = \'1.0\';
122 '
123 },
124 'metafile_incomplete' => {
125 'Dist-Metadata-Test-MetaFile-Incomplete-2.1/META.yml' => '---
126 abstract: Fake dist for testing metadata determination
127 author:
128 - Randy Stauner <rwstauner@cpan.org>
129 dynamic_config: 0
130 generated_by: hand
131 license:
132 - perl_5
133 meta-spec:
134 url: http://search.cpan.org/perldoc?CPAN::Meta::Spec
135 version: \'2\'
136 name: Dist-Metadata-Test-MetaFile-Incomplete
137 no_index:
138 directory:
139 - examples
140 - share
141 - xt
142 provides: {}
143 release_status: stable
144 version: \'2.2\'
145 ',
146 'Dist-Metadata-Test-MetaFile-Incomplete-2.1/README' => 'This "dist" is for testing Dist::Metadata.
147 ',
148 'Dist-Metadata-Test-MetaFile-Incomplete-2.1/META.json' => '{
149 "abstract" : "Fake dist for testing metadata determination",
150 "author" : [
151 "Randy Stauner <rwstauner@cpan.org>"
152 ],
153 "dynamic_config" : 0,
154 "generated_by" : "hand",
155 "license" : [
156 "perl_5"
157 ],
158 "meta-spec" : {
159 "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
160 "version" : "2"
161 },
162 "name" : "Dist-Metadata-Test-MetaFile-Incomplete",
163 "no_index" : {
164 "directory" : [
165 "examples",
166 "share",
167 "xt"
168 ]
169 },
170 "provides" : {},
171 "release_status" : "stable",
172 "version" : "2.1"
173 }
174  
175 ',
176 'Dist-Metadata-Test-MetaFile-Incomplete-2.1/lib/Dist/Metadata/Test/MetaFile/Incomplete.pm' => 'package Dist::Metadata::Test::MetaFile::Incomplete;
177 # ABSTRACT: Just a file to be indexed
178  
179 our $VERSION = \'2.1\';
180 ',
181 'Dist-Metadata-Test-MetaFile-Incomplete-2.1/inc/NotThis.pm' => 'package NotThis;
182 # ABSTRACT: Not to be indexed
183 1;
184 ',
185 'Dist-Metadata-Test-MetaFile-Incomplete-2.1/t/lib/Never.pm' => 'package Never;
186 # ABSTRACT: Never index this
187  
188 1;
189 '
190 },
191 'noroot' => {
192 'lib/Dist/Metadata/Test/NoRoot/PM.pm' => 'package Dist::Metadata::Test::NoRoot::PM;
193 # ABSTRACT: Just a file to be indexed
194  
195 our $VERSION = \'3.25\';
196 ',
197 'README' => 'This "dist" is for testing Dist::Metadata.
198 ',
199 'lib/Dist/Metadata/Test/NoRoot.pm' => 'package Dist::Metadata::Test::NoRoot;
200 # ABSTRACT: Fake dist for testing metadata determination
201  
202 our $VERSION = \'3.3\';
203 '
204 },
205 'nometafile' => {
206 'Dist-Metadata-Test-NoMetaFile-0.1/README' => 'This "dist" is for testing Dist::Metadata.
207 ',
208 'Dist-Metadata-Test-NoMetaFile-0.1/lib/Dist/Metadata/Test/NoMetaFile/PM.pm' => 'package Dist::Metadata::Test::NoMetaFile::PM;
209 # ABSTRACT: Just a file to be indexed
210  
211 our $VERSION = \'0.1\';
212 ',
213 'Dist-Metadata-Test-NoMetaFile-0.1/lib/Dist/Metadata/Test/NoMetaFile.pm' => 'package Dist::Metadata::Test::NoMetaFile;
214 # ABSTRACT: Fake dist for testing metadata determination
215  
216 our $VERSION = \'0.1\';
217 '
218 },
219 'nometafile_dev_release' => {
220 'Dist-Metadata-Test-NoMetaFile-DevRelease-0.1_1/README' => 'This "dist" is for testing Dist::Metadata.
221 ',
222 'Dist-Metadata-Test-NoMetaFile-DevRelease-0.1_1/lib/Dist/Metadata/Test/NoMetaFile/DevRelease.pm' => 'package Dist::Metadata::Test::NoMetaFile::DevRelease;
223 # ABSTRACT: Fake dist for testing metadata determination
224  
225 our $VERSION = \'0.1_1\';
226 '
227 }
228 };
« blib/lib/Dist/Metadata/Tar.pm ↑ Summary