Cache.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 18 / 18 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« SizeAwareFileCache.pm ↑ Summary SizeAwareCache.pm »
1 #####################################################################
2 # $Id: Cache.pm,v 1.43 2005/07/13 22:29:33 dclinton Exp $
3 # Copyright (C) 2001-2003 DeWitt Clinton All Rights Reserved
4 #
5 # Software distributed under the License is distributed on an "AS
6 # IS" basis, WITHOUT WARRANTY OF ANY KIND, either expressed or
7 # implied. See the License for the specific language governing
8 # rights and limitations under the License.
9 ######################################################################
10  
11  
12 package Cache::Cache;
13  
14  
15 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 5 ▶use vars qw( @ISA @EXPORT_OK $VERSION $EXPIRES_NOW $EXPIRES_NEVER );
Subroutine BEGIN: called CC=1 SCAR=0.0
17 5 ▶use Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19 5 @ISA = qw( Exporter );
20  
21 5 @EXPORT_OK = qw( $VERSION $EXPIRES_NOW $EXPIRES_NEVER );
22  
23 5 $VERSION = "1.07";
24 5 $EXPIRES_NOW = 'now';
25 5 $EXPIRES_NEVER = 'never';
26  
27  
28 sub Clear;
29  
30 sub Purge;
31  
32 sub Size;
33  
34 sub new;
35  
36 sub clear;
37  
38 sub get;
39  
40 sub get_object;
41  
42 sub purge;
43  
44 sub remove;
45  
46 sub set;
47  
48 sub set_object;
49  
50 sub size;
51  
52 sub get_default_expires_in;
53  
54 sub get_namespace;
55  
56 sub set_namespace;
57  
58 sub get_keys;
59  
60 sub get_auto_purge_interval;
61  
62 sub set_auto_purge_interval;
63  
64 sub get_auto_purge_on_set;
65  
66 sub set_auto_purge_on_set;
67  
68 sub get_namespaces;
69  
70 sub get_identifiers; # deprecated
71  
72  
73 5 1;
74  
75  
76 __END__
« SizeAwareFileCache.pm ↑ Summary SizeAwareCache.pm »