| 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
MC/DC0%0/2
ref $class || $class
ref $class
$class
Truth table0%0/3
A || B
A= ref $classB= $class
| |||||||||||||||||||||
| 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; | |||||||||||||||||||