DBIx/Class/CDBICompat/NoObjectIndex.pm

filter: Statementstmt 87.5% 7 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 28.5% 2 / 7 Podpod 0.0% 0 / 5 totaltotal 45.0% 9 / 20 CC 1 SCAR 1.3
CC
1
Cov
88%
nocache
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« SQL/Translator/Producer/DBIx/Class/File.pm ↑ Summary DBIx/Class/ResultSourceProxy.pm »
1 package # hide from PAUSE
2 DBIx::Class::CDBICompat::NoObjectIndex;
3  
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  
7 =head1 NAME
8  
9 DBIx::Class::CDBICompat::NoObjectIndex - Defines empty methods for object indexing. They do nothing
10  
11 =head1 SYNOPSIS
12  
13 Part of CDBICompat
14  
15 =head1 DESCRIPTION
16  
17 Defines empty methods for object indexing. They do nothing.
18  
19 Using NoObjectIndex instead of LiveObjectIndex and nocache(1) is a little
20 faster because it removes code from the object insert and retrieve chains.
21  
22 =cut
23  
24 0 ▶sub nocache { return 1 }
Subroutine nocache: not called CC=1 SCAR=6.9
Pod undocumented
25  
26 ▶sub purge_object_index_every {}
Subroutine purge_object_index_every: not called CC=1 SCAR=0.0
Pod undocumented
27  
28 ▶sub purge_dead_from_object_index {}
Subroutine purge_dead_from_object_index: not called CC=1 SCAR=0.0
Pod undocumented
29  
30 ▶sub remove_from_object_index {}
Subroutine remove_from_object_index: not called CC=1 SCAR=0.0
Pod undocumented
31  
32 ▶sub clear_object_index {}
Subroutine clear_object_index: not called CC=1 SCAR=0.0
Pod undocumented
33  
34 1 1;
« SQL/Translator/Producer/DBIx/Class/File.pm ↑ Summary DBIx/Class/ResultSourceProxy.pm »