Memcached/t/CHIDriverTests/libmemcached.pm

filter: Statementstmt 86.3% 19 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 77.7% 7 / 9 Podpod 0.0% 0 / 4 totaltotal 74.2% 26 / 35 SCAR 0.0
CC
1
Cov
86%
test_driver_class
2.0
right_memcached_loaded
2.0
BEGIN
1.0
CRAP 1.0
« Memcached/t/CHIDriverTests/Fast.pm ↑ Summary Memcached/t/CHIDriverTests/Memcached.pm »
1 package CHI::Driver::Memcached::t::CHIDriverTests::libmemcached;
2 1 $CHI::Driver::Memcached::t::CHIDriverTests::libmemcached::VERSION = '0.15';
3 1 ▶use Test::More;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use base qw(CHI::Driver::Memcached::t::CHIDriverTests::Base);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶sub testing_driver_class { 'CHI::Driver::Memcached::libmemcached' }
Subroutine testing_driver_class: called CC=1 SCAR=0.0
Pod undocumented
9 0 ▶sub test_driver_class { 'CHI::Driver::Memcached::Test::Driver::libmemcached' }
Subroutine test_driver_class: not called CC=1 SCAR=6.9
Pod undocumented
10 1 ▶sub memcached_class { 'Cache::Memcached::libmemcached' }
Subroutine memcached_class: called CC=1 SCAR=0.0
Pod undocumented
11  
12 sub right_memcached_loaded : Test(shutdown => 2) {
13 ok(
14 0 ▶ exists( $INC{'Cache/Memcached/libmemcached.pm'} ),
Subroutine right_memcached_loaded: not called CC=1 SCAR=6.9
Pod undocumented
15 "Cache::Memcached::libmemcached loaded"
16 );
17 0 ok( !exists( $INC{'Cache/Memcached.pm'} ), "Cache::Memcached not loaded" );
18 1 ▶}
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 1 1;
« Memcached/t/CHIDriverTests/Fast.pm ↑ Summary Memcached/t/CHIDriverTests/Memcached.pm »