File Coverage

blib/lib/TableData/Perl/CPAN/Release/Static/2024.pm
Criterion Covered Total %
statement 22 22 100.0
branch n/a
condition n/a
subroutine 8 8 100.0
pod n/a
total 30 30 100.0


line stmt bran cond sub pod time code
1             package ## no critic: Modules::RequireFilenameMatchesPackage
2             # hide from PAUSE
3             TableDataRole::Perl::CPAN::Release::Static::2024;
4              
5 1     1   497970 use 5.010001;
  1         5  
6 1     1   7 use strict;
  1         2  
  1         38  
7 1     1   6 use warnings;
  1         4  
  1         76  
8              
9 1     1   1005 use Role::Tiny;
  1         12458  
  1         9  
10             with 'TableDataRole::Source::CSVInFile';
11              
12             around new => sub {
13             my $orig = shift;
14              
15             require File::Basename;
16             my $filename = File::Basename::dirname(__FILE__) . '/../../../../../../share/2024.csv';
17             unless (-f $filename) {
18             require File::ShareDir;
19             $filename = File::ShareDir::dist_file('TableData-Perl-CPAN-Release-Static-2024', '2024.csv');
20             }
21             $orig->(@_, filename=>$filename);
22             };
23              
24             package TableData::Perl::CPAN::Release::Static::2024;
25              
26 1     1   538 use 5.010001;
  1         4  
27 1     1   6 use strict;
  1         3  
  1         22  
28 1     1   4 use warnings;
  1         3  
  1         495  
29              
30 1     1   774 use Role::Tiny::With;
  1         399  
  1         163  
31              
32             our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
33             our $DATE = '2024-06-12'; # DATE
34             our $DIST = 'TableData-Perl-CPAN-Release-Static-2024'; # DIST
35             our $VERSION = '20240612.0'; # VERSION
36              
37             with 'TableDataRole::Perl::CPAN::Release::Static::2024';
38              
39             our %STATS = ("num_columns",9,"num_rows",6177); # STATS
40              
41             1;
42             # ABSTRACT: CPAN releases for the year 2024
43              
44             __END__