Postini/Constants.pm

filter: Statementstmt 100% 50 / 50 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 15 / 15 Podpod n/a totaltotal 100% 65 / 65 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Postini/UserAgent.pm ↑ Summary Postini/Exception/AssertionFailure.pm »
1 package WWW::Postini::Constants;
2
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5
6 1 ▶use Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
7
8 1 ▶use vars qw( @ISA @EXPORT_OK %EXPORT_TAGS $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
9
10 1 ▶use constant SHOW_ALL => 0;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use constant SHOW_QUARANTINED => 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use constant SHOW_DELIVERED => 2;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 1 ▶use constant SHOW_DELETED => 3;
Subroutine BEGIN: called CC=1 SCAR=0.0
14
15 1 ▶use constant SORT_NONE => 0;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 1 ▶use constant SORT_RECIPIENT => 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 1 ▶use constant SORT_SENDER => 3;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use constant SORT_SUBJECT => 4;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶use constant SORT_FILTER => 5;
Subroutine BEGIN: called CC=1 SCAR=0.0
20
21 1 ▶use constant RECIPIENT_USER => 0;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 1 ▶use constant RECIPIENT_ADMIN => 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
23
24 1 $VERSION = '0.01';
25
26 1 @ISA = qw( Exporter );
27
28 1 @EXPORT_OK = qw(
29 SHOW_ALL
30 SHOW_QUARANTINED
31 SHOW_DELIVERED
32 SHOW_DELETED
33
34 SORT_NONE
35 SORT_RECIPIENT
36 SORT_SENDER
37 SORT_SUBJECT
38 SORT_FILTER
39
40 RECIPIENT_USER
41 RECIPIENT_ADMIN
42 );
43
44 1 %EXPORT_TAGS = (
45 'all' => [qw(
46 SHOW_ALL
47 SHOW_QUARANTINED
48 SHOW_DELIVERED
49 SHOW_DELETED
50 SORT_NONE
51 SORT_RECIPIENT
52 SORT_SENDER
53 SORT_SUBJECT
54 SORT_FILTER
55 RECIPIENT_USER
56 RECIPIENT_ADMIN
57 )],
58 'show' => [qw(
59 SHOW_ALL
60 SHOW_QUARANTINED
61 SHOW_DELIVERED
62 SHOW_DELETED
63 )],
64 'sort' => [qw(
65 SORT_NONE
66 SORT_RECIPIENT
67 SORT_SUBJECT
68 SORT_FILTER
69 )],
70 'recipient' => [qw(
71 RECIPIENT_USER
72 RECIPIENT_ADMIN
73 )]
74 );
75
76 1 1;
77
78 __END__
« Postini/UserAgent.pm ↑ Summary Postini/Exception/AssertionFailure.pm »