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