PS1/Daemon.pm

filter: Statementstmt 76.9% 20 / 26 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 100% 1 / 1 totaltotal 75.0% 27 / 36 CC 2 SCAR 8.1
CC
2
Cov
71%
new
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.2
« PS1/Plugin/Perl.pm ↑ Summary PS1/Plugin/Uptime.pm »
1 package App::PS1::Daemon;
2  
3 # Created on: 2011-06-21 09:47:54
4 # Create by: Ivan Wills
5 # $Id$
6 # $Revision$, $HeadURL$, $Date$
7 # $Revision$, $Source$, $Date$
8  
9 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use Data::Dumper qw/Dumper/;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 1 ▶use English qw/ -no_match_vars /;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use base qw/Class::Accessor::Fast/;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 1 our $VERSION = 0.08;
17  
18 0 ▶sub new {
Subroutine new: not called CC=2 SCAR=17.9
Pod documented
19 0 my $caller = shift;
20 0 ▶ my $class = ref $caller ? ref $caller : $caller;
Branch: 1 branch
BranchTrueFalseTotal
ref $caller ? : 0 0 0
21 0 my %param = @_;
22 0 my $self = \%param;
23  
24 0 bless $self, $class;
25  
26 0 return $self;
27 }
28  
29 1 1;
30  
31 __END__
« PS1/Plugin/Perl.pm ↑ Summary PS1/Plugin/Uptime.pm »