CHI/t/Driver/Subcache.pm

filter: Statementstmt 100% 30 / 30 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 11 / 11 Podpod 0.0% 0 / 4 totaltotal 89.3% 42 / 47 SCAR 6.9
CC
2
Cov
97%
set_standard_keys_and_values
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.0
« CHI/t/Driver/Subcache/l1_cache.pm ↑ Summary CHI/t/Util.pm »
1 package CHI::t::Driver::Subcache;
2 2 $CHI::t::Driver::Subcache::VERSION = '0.59';
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use CHI::Test;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶use base qw(CHI::t::Driver);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 sub set_standard_keys_and_values {
9 2 ▶ my ($self) = @_;
Subroutine set_standard_keys_and_values: called CC=2 SCAR=7.0
Pod undocumented
10  
11 2 my ( $keys, $values ) = $self->SUPER::set_standard_keys_and_values();
12  
13 # keys for file driver have max length of 255 or so
14 # but on windows xp, the full pathname is limited to 255 chars as well
15 2 ▶ $keys->{'large'} = scalar( 'ab' x ( $^O eq 'MSWin32' ? 64 : 120 ) );
Branch: 1 branch
BranchTrueFalseTotal
$^O eq 'MSWin32' ? : 0 2 2
16  
17 2 return ( $keys, $values );
18 }
19  
20 # Skip these tests - the logging will be wrong
21 #
22 sub test_l1_cache : Tests {
23 2 ▶ ok(1);
Subroutine test_l1_cache: called CC=1 SCAR=0.0
Pod undocumented
24 2 ▶}
Subroutine BEGIN: called CC=1 SCAR=0.0
25  
26 sub test_mirror_cache : Tests {
27 2 ▶ ok(1);
Subroutine test_mirror_cache: called CC=1 SCAR=0.0
Pod undocumented
28 2 ▶}
Subroutine BEGIN: called CC=1 SCAR=0.0
29  
30 sub test_logging : Tests {
31 2 ▶ ok(1);
Subroutine test_logging: called CC=1 SCAR=0.0
Pod undocumented
32 2 ▶}
Subroutine BEGIN: called CC=1 SCAR=0.0
33  
34 2 1;
« CHI/t/Driver/Subcache/l1_cache.pm ↑ Summary CHI/t/Util.pm »