Scoreboard.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 5 totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
add
2.0
delete
2.0
CRAP 2.0
1 package Proc::Scoreboard;
2  
3 $Proc::Scoreboard::VERSION = (split " ", '# $Id: Scoreboard.pm,v 1.1 2000/08/23 16:59:05 mkul Exp $ ')[3];;
4  
5 =head1 NAME
6  
7 Proc::Scoreboard - interface scoreboard class
8  
9 =head1 SYNOPSIS
10  
11 use Proc::Scoreboard;
12 my $scoreboard = new Proc::Scoreboard ( ... );
13 my @idList = $scoreboard->list ();
14 $scoreboard->add ( $id );
15 $scoreboard->delete ( $id );
16 $scoreboard->modify ( $id, %hash );
17  
18 =head1 DESCRIPTION
19  
20 Intertface class for scoreboard.
21  
22 =cut
23  
24 =head2 new
25  
26 The constructor
27  
28 =cut
29  
30 sub new
31 {
32 my ( $class, %params ) = @_;
33 bless { %params }, $class;
34 }
35  
36 =head2 add
37  
38 $sb->add ( $id );
39  
40 add new board with id $id to scoreboard
41  
42 =cut
43  
44 sub add
45 {
46 }
47  
48 =head2 delete
49  
50 $sb->delete ( $id );
51  
52 delete board with id $id from scoreboard
53  
54 =cut
55  
56 sub delete
57 {
58 }
59  
60 =head2 modify
61  
62 $db->modify ( $id, %hash );
63  
64 modify board with id $id by passed parameters
65  
66 =cut
67  
68 sub modify
69 {
70 }
71  
72 =head2 list
73  
74 return list of all known scoreboards id's
75  
76 =cut
77  
78 sub list
79 {
80 my $this = shift;
81 }
82  
83 1;
84  
85 __END__