File Coverage

blib/lib/DDG.pm
Criterion Covered Total %
statement 12 13 92.3
branch n/a
condition n/a
subroutine 4 5 80.0
pod 0 1 0.0
total 16 19 84.2


line stmt bran cond sub pod time code
1             package DDG;
2             our $AUTHORITY = 'cpan:DDG';
3             # ABSTRACT: DuckDuckGo Search Engines Open Source Parts
4             $DDG::VERSION = '1016';
5              
6 1     1   17147 use strict;
  1         1  
  1         24  
7 1     1   3 use warnings;
  1         2  
  1         27  
8              
9 1     1   413 use File::ShareDir::ProjectDistDir;
  1         17299  
  1         6  
10              
11 1     1   316 use Exporter 'import';
  1         1  
  1         71  
12              
13             our @EXPORT = qw( templates_dir );
14              
15 0     0 0   sub templates_dir { File::Spec->rel2abs( File::Spec->catfile(dist_dir('DDG'), 'templates') ) }
16              
17             1;
18              
19             __END__