lib/Net/SinFP3/Log.pm

filter: Statementstmt 52.0% 13 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 25.0% 3 / 12 Podpod 100% 9 / 9 totaltotal 54.3% 25 / 46 CC 1 SCAR 5.6
CC
1
Cov
52%
new
2.0
init
2.0
info
2.0
CRAP 1.8
« lib/Net/SinFP3/Worker/Single.pm ↑ Summary lib/Net/SinFP3/Ext/IP/IPv6.pm »
1 #
2 # $Id: Log.pm,v 008243d3e89a 2018/07/21 14:54:07 gomor $
3 #
4 package Net::SinFP3::Log;
5 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶use base qw(Class::Gomor::Array);
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 our @AS = qw(
10 global
11 level
12 );
13 1 __PACKAGE__->cgBuildIndices;
14 1 __PACKAGE__->cgBuildAccessorsScalar(\@AS);
15  
16 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
17 0 my $self = shift->SUPER::new(
18 level => 0,
19 @_,
20 );
21  
22 0 return $self;
23 }
24  
25 0 ▶sub init {
Subroutine init: not called CC=1 SCAR=6.9
Pod documented
26 0 my $self = shift;
27 0 return $self;
28 }
29  
30 0 ▶sub info {
Subroutine info: not called CC=1 SCAR=6.9
Pod documented
31 0 return 'info';
32 }
33  
34 0 ▶sub warning {
Subroutine warning: not called CC=1 SCAR=6.9
Pod documented
35 0 return 'warning';
36 }
37  
38 0 ▶sub error {
Subroutine error: not called CC=1 SCAR=6.9
Pod documented
39 0 return 'error';
40 }
41  
42 0 ▶sub fatal {
Subroutine fatal: not called CC=1 SCAR=6.9
Pod documented
43 0 die("fatal");
44 }
45  
46 0 ▶sub verbose {
Subroutine verbose: not called CC=1 SCAR=6.9
Pod documented
47 0 return 'verbose';
48 }
49  
50 0 ▶sub debug {
Subroutine debug: not called CC=1 SCAR=6.9
Pod documented
51 0 return 'debug';
52 }
53  
54 0 ▶sub post {
Subroutine post: not called CC=1 SCAR=6.9
Pod documented
55 0 my $self = shift;
56 0 return $self;
57 }
58  
59 1 1;
60  
61 __END__
« lib/Net/SinFP3/Worker/Single.pm ↑ Summary lib/Net/SinFP3/Ext/IP/IPv6.pm »