CHI/Constants.pm

filter: Statementstmt 100% 26 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 32 / 32 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« CHI/Driver/CacheCache.pm ↑ Summary CHI/Driver/Role/IsSubcache.pm »
1 package CHI::Constants;
2 20 $CHI::Constants::VERSION = '0.59';
3 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 20 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 20 ▶use base qw(Exporter);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 20 my @all_constants = do {
8 20 ▶ no strict 'refs';
Subroutine BEGIN: called CC=1 SCAR=0.0
9 20 grep { exists &$_ } keys %{ __PACKAGE__ . '::' };
10 };
11 20 our @EXPORT_OK = (@all_constants);
12 20 our %EXPORT_TAGS = ( all => \@EXPORT_OK );
13  
14 20 ▶use constant CHI_Meta_Namespace => '_CHI_METACACHE';
Subroutine BEGIN: called CC=1 SCAR=0.0
15 20 ▶use constant CHI_Max_Time => 0xffffffff;
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 20 1;
18  
19 __END__
« CHI/Driver/CacheCache.pm ↑ Summary CHI/Driver/Role/IsSubcache.pm »