API/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
« API/Controller/Report.pm ↑ Summary
1 11 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package CPAN::Testers::API::Base;
3 11 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/API/MyModule.pm
9 #pod package CPAN::Testers::API::MyModule;
10 #pod use CPAN::Testers::API::Base;
11 #pod
12 #pod # t/mytest.t
13 #pod use CPAN::Testers::API::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::API> 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 =over
28 #pod
29 #pod =item L<Import::Base>
30 #pod
31 #pod =back
32 #pod
33 #pod =cut
34  
35 11 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
36 11 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
37 11 ▶use base 'Import::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
38  
39 11 our @IMPORT_MODULES = (
40 'strict', 'warnings',
41 feature => [qw( :5.24 signatures refaliasing )],
42 '-warnings' => [qw( experimental::signatures experimental::refaliasing )],
43 );
44  
45 11 our %IMPORT_BUNDLES = (
46 Test => [
47 'Test::More', 'Test::Lib', 'Test::Mojo',
48 'Local::Schema' => [qw( prepare_temp_schema )],
49 'Local::App' => [qw( prepare_test_app )],
50 ],
51 );
52  
53 11 1;
54  
55 __END__
56  
57 =pod
58  
59 =head1 NAME
60  
61 CPAN::Testers::API::Base - Base module for importing standard modules, features, and subs
62  
63 =head1 VERSION
64  
65 version 0.025
66  
67 =head1 SYNOPSIS
68  
69 # lib/CPAN/Testers/API/MyModule.pm
70 package CPAN::Testers::API::MyModule;
71 use CPAN::Testers::API::Base;
72  
73 # t/mytest.t
74 use CPAN::Testers::API::Base 'Test';
75  
76 =head1 DESCRIPTION
77  
78 This module collectively imports all the required features and modules
79 into your module. This module should be used by all modules in the
80 L<CPAN::Testers::API> distribution. This module should not be used by
81 modules in other distributions.
82  
83 This module imports L<strict>, L<warnings>, and L<the sub signatures
84 feature|perlsub/Signatures>.
85  
86 =head1 SEE ALSO
87  
88 =over
89  
90 =item L<Import::Base>
91  
92 =back
93  
94 =head1 AUTHOR
95  
96 Doug Bell <preaction@cpan.org>
97  
98 =head1 COPYRIGHT AND LICENSE
99  
100 This software is copyright (c) 2018 by Doug Bell.
101  
102 This is free software; you can redistribute it and/or modify it under
103 the same terms as the Perl 5 programming language system itself.
104  
105 =cut
« API/Controller/Report.pm ↑ Summary