TT/Object/Contact.pm

filter: Statementstmt 81.2% 13 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 100% 1 / 1 totaltotal 81.8% 18 / 22 CC 1 SCAR 1.8
CC
1
Cov
81%
BUILD
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« TT/Utils.pm ↑ Summary TT/Identifier.pm »
1 package Monitoring::TT::Object::Contact;
2  
3 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 4 ▶use base 'Monitoring::TT::Object';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 #####################################################################
9  
10 =head1 NAME
11  
12 Monitoring::TT::Object::Contact - Object representation of a contact
13  
14 =head1 DESCRIPTION
15  
16 contains generic methods which can be used in templates for each contact
17  
18 =cut
19  
20 #####################################################################
21  
22 =head1 METHODS
23  
24 =head2 BUILD
25  
26 return new object
27  
28 =cut
29 sub BUILD {
30 0 ▶ my($class, $self) = @_;
Subroutine BUILD: not called CC=1 SCAR=6.9
Pod documented
31 0 bless $self, $class;
32 0 return $self;
33 }
34  
35 #####################################################################
36  
37 =head1 AUTHOR
38  
39 Sven Nierlein, 2013, <sven.nierlein@consol.de>
40  
41 =cut
42  
43 4 1;
« TT/Utils.pm ↑ Summary TT/Identifier.pm »