blib/lib/LaBrea/Tarpit/Util.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod n/a totaltotal 95.8% 23 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« DShield/t/chk_config.t ↑ Summary
1 #!/usr/bin/perl
2 package LaBrea::Tarpit::Util;
3 #
4 # 5-17-02, michael@bizsystems.com
5 #
6 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 #use diagnostics;
8 2 ▶use vars qw($VERSION @ISA @EXPORT_OK);
Subroutine BEGIN: called CC=1 SCAR=0.0
9 2 ▶use AutoLoader 'AUTOLOAD';
Subroutine BEGIN: called CC=1 SCAR=0.0
10 2 ▶use Fcntl qw(:DEFAULT :flock);
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 2 $VERSION = do { my @r = (q$Revision: 0.06 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
13  
14 2 require Exporter;
15  
16 2 @ISA = qw(Exporter);
17 2 @EXPORT_OK = qw (
18 cache_is_valid
19 update_cache
20 upd_cache
21 daemon2_cache
22 page_is_current
23 share_open
24 ex_open
25 close_file
26 http_date
27 script_name
28 reap_kids
29 labrea_whoami
30 );
31  
32 # autoload declarations
33  
34 sub cache_is_valid;
35 sub update_cache;
36 sub upd_cache;
37 sub daemon2_cache;
38 sub share_open;
39 sub ex_open;
40 sub close_file;
41 sub http_date;
42 sub script_name;
43 sub page_is_current;
44 sub reap_kids;
45 sub labrea_whoami;
46 0 ▶sub DESTROY {};
Subroutine DESTROY: not called CC=1 SCAR=0.0
47  
48 2 1;
49 __END__
« DShield/t/chk_config.t ↑ Summary