File Coverage

lib/Google/RestApi/Setup.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Google::RestApi::Setup;
2              
3 1     1   6 use strict;
  1         2  
  1         32  
4 1     1   4 use warnings;
  1         2  
  1         86  
5              
6             our $VERSION = '1.0.4';
7              
8 1     1   7 use parent 'ToolSet';
  1         2  
  1         7  
9              
10             ToolSet->use_pragma('strict');
11             ToolSet->use_pragma('warnings');
12             ToolSet->use_pragma(qw( feature state ));
13              
14             ToolSet->no_pragma('autovivification');
15              
16             ToolSet->export(
17             'autodie' => [],
18             'Log::Log4perl' => ':easy',
19             'namespace::autoclean' => [],
20             'Type::Params' => 'compile compile_named multisig validate',
21             'Types::Standard' => 'Undef Defined Value Bool Str StrMatch Int Num ArrayRef HashRef Dict CodeRef Object HasMethods slurpy Any Maybe Optional',
22             'Types::Common::Numeric' => 'PositiveNum PositiveOrZeroNum PositiveInt PositiveOrZeroInt',
23             'YAML::Any' => 'Dump',
24             'Google::RestApi::Utils' => ':all',
25             'Google::RestApi::Types' => ':all',
26             'Google::RestApi::SheetsApi4::Types' => ':all', # TODO: really should only be used for spreadsheet code. leave for now.
27             );
28              
29             1;
30              
31             __END__
32              
33             =head1 NAME
34              
35             Google::RestApi::Setup.pm - Common set of perl dependencies and imports.