Wizard/Elem/HTML.pm

filter: Statementstmt 36.3% 4 / 11 Branchbran n/a Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 33.3% 1 / 3 Podpod 0.0% 0 / 2 totaltotal 23.8% 5 / 21 CC 2 SCAR 13.2
CC
2
Cov
29%
new
6.0
Display
2.0
BEGIN
1.0
CRAP 3.8
« Wizard/Elem/Shell.pm ↑ Summary Wizard/Elem/Data/HTML.pm »
1 # -*- perl -*-
2 #
3 # Wizard - A Perl package for implementing system administration
4 # applications in the style of Windows wizards.
5 #
6 #
7 # This module is
8 #
9 # Copyright (C) 1999 Jochen Wiedmann
10 # Am Eisteich 9
11 # 72555 Metzingen
12 # Germany
13 #
14 # Email: joe@ispsoft.de
15 # Phone: +49 7123 14887
16 #
17 # and Amarendran R. Subramanian
18 # Grundstr. 32
19 # 72810 Gomaringen
20 # Germany
21 #
22 # Email: amar@ispsoft.de
23 # Phone: +49 7072 920696
24 #
25 # All Rights Reserved.
26 #
27 # You may distribute under the terms of either the GNU General Public
28 # License or the Artistic License, as specified in the Perl README file.
29 #
30 # $Id$
31 #
32  
33 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
34  
35  
36 package Wizard::Elem::HTML;
37  
38 0 ▶sub new {
Subroutine new: not called CC=2 SCAR=17.9
Pod undocumented
39 0 my $proto = shift; my $form = shift;
40 0 my $self = { @_ };
41 0 ▶ bless($self, (ref($proto) || $proto));
Condition0%0/3
ref $proto || $proto
l!l&&r!l&&!r
000
MC/DC0%0/2
ref $proto || $proto
ref $proto $proto
Truth table0%0/3
A || B
A= ref $protoB= $proto
ABresult
1X1
011
000
42 0 $self;
43 }
44  
45 0 ▶sub Display {
Subroutine Display: not called CC=1 SCAR=6.9
Pod undocumented
46 0 my($self, $wiz, $form, $state) = @_;
47 0 $form->object($self->{'name'}, $self);
48 }
49  
50 1 1;
« Wizard/Elem/Shell.pm ↑ Summary Wizard/Elem/Data/HTML.pm »