blib/lib/CPAN/Testers/Schema/Base.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 20 / 20 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« /dev/null ↑ Summary blib/lib/CPAN/Testers/Schema/Result/LatestIndex.pm »
1 28 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package CPAN::Testers::Schema::Base;
3 28 our $VERSION = '0.025';
4 # ABSTRACT: Base module for importing standard modules, features, and subs
5  
6 #pod =head1 SYNOPSIS
7 #pod
8 #pod # lib/CPAN/Testers/Schema/MyModule.pm
9 #pod package CPAN::Testers::Schema::MyModule;
10 #pod use CPAN::Testers::Schema::Base;
11 #pod
12 #pod # t/mytest.t
13 #pod use CPAN::Testers::Schema::Base 'Test';
14 #pod
15 #pod =head1 DESCRIPTION
16 #pod
17 #pod This module collectively imports all the required features and modules
18 #pod into your module. This module should be used by all modules in the
19 #pod L<CPAN::Testers::Schema> distribution. This module should not be used by
20 #pod modules in other distributions.
21 #pod
22 #pod This module imports L<strict>, L<warnings>, and L<the sub signatures
23 #pod feature|perlsub/Signatures>.
24 #pod
25 #pod =head1 SEE ALSO
26 #pod
27 #pod L<Import::Base>
28 #pod
29 #pod =cut
30  
31 28 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
32 28 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
33 28 ▶use base 'Import::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
34  
35 28 our @IMPORT_MODULES = (
36 'strict', 'warnings',
37 feature => [qw( :5.24 signatures )],
38 '>-warnings' => [qw( experimental::signatures )],
39 );
40  
41 28 our %IMPORT_BUNDLES = (
42 Result => [
43 'DBIx::Class::Candy',
44 ],
45 ResultSet => [
46 'DBIx::Class::Candy::ResultSet',
47 ],
48 Test => [
49 'Test::More', 'Test::Lib',
50 'Local::Schema' => [qw( prepare_temp_schema )],
51 ],
52 );
53  
54 28 1;
55  
56 __END__
57  
58 =pod
59  
60 =head1 NAME
61  
62 CPAN::Testers::Schema::Base - Base module for importing standard modules, features, and subs
63  
64 =head1 VERSION
65  
66 version 0.025
67  
68 =head1 SYNOPSIS
69  
70 # lib/CPAN/Testers/Schema/MyModule.pm
71 package CPAN::Testers::Schema::MyModule;
72 use CPAN::Testers::Schema::Base;
73  
74 # t/mytest.t
75 use CPAN::Testers::Schema::Base 'Test';
76  
77 =head1 DESCRIPTION
78  
79 This module collectively imports all the required features and modules
80 into your module. This module should be used by all modules in the
81 L<CPAN::Testers::Schema> distribution. This module should not be used by
82 modules in other distributions.
83  
84 This module imports L<strict>, L<warnings>, and L<the sub signatures
85 feature|perlsub/Signatures>.
86  
87 =head1 SEE ALSO
88  
89 L<Import::Base>
90  
91 =head1 AUTHORS
92  
93 =over 4
94  
95 =item *
96  
97 Oriol Soriano <oriolsoriano@gmail.com>
98  
99 =item *
100  
101 Doug Bell <preaction@cpan.org>
102  
103 =back
104  
105 =head1 COPYRIGHT AND LICENSE
106  
107 This software is copyright (c) 2018 by Oriol Soriano, Doug Bell.
108  
109 This is free software; you can redistribute it and/or modify it under
110 the same terms as the Perl 5 programming language system itself.
111  
112 =cut
« /dev/null ↑ Summary blib/lib/CPAN/Testers/Schema/Result/LatestIndex.pm »