Asterisk.pm

filter: Statementstmt 46.1% 6 / 13 Branchbran n/a Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 25.0% 1 / 4 Podpod 0.0% 0 / 2 totaltotal 29.1% 7 / 24 CC 2 SCAR 11.6
CC
2
Cov
38%
new
6.0
version
2.0
BEGIN
1.0
CRAP 3.2
« Asterisk/QCall.pm ↑ Summary Asterisk/Conf/IAX.pm »
1 #
2 # $Id$
3 #
4 package Asterisk;
5  
6 12 require 5.004;
7  
8 12 ▶use vars qw($VERSION);
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 12 $VERSION = '1.08';
11  
12 0 ▶sub version { $VERSION; }
Subroutine version: not called CC=1 SCAR=6.9
Pod undocumented
13  
14 0 ▶sub new {
Subroutine new: not called CC=2 SCAR=17.9
Pod undocumented
15 0 my ($class, %args) = @_;
16 0 my $self = {};
17 0 $self->{configfile} = undef;
18 0 $self->{config} = {};
19 0 ▶ bless $self, ref $class || $class;
Condition0%0/3
ref $class || $class
l!l&&r!l&&!r
000
MC/DC0%0/2
ref $class || $class
ref $class $class
Truth table0%0/3
A || B
A= ref $classB= $class
ABresult
1X1
011
000
20 0 return $self;
21 }
22  
23 0 ▶sub DESTROY { }
Subroutine DESTROY: not called CC=1 SCAR=0.0
24  
25 package asterisk::perl;
26  
27 =head1 NAME
28  
29 asterisk::perl
30  
31 This module exists solely to satisfy packaging requirements.
32  
33 =cut
34  
35  
36 12 1;
« Asterisk/QCall.pm ↑ Summary Asterisk/Conf/IAX.pm »