Farly/Builder.pm

filter: Statementstmt 100% 25 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod 0.0% 0 / 3 totaltotal 91.6% 33 / 36 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Farly/Director.pm ↑ Summary Farly/ASA/ICMPFormatter.pm »
1 package Farly::Builder;
2
3 9 ▶use 5.008008;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 9 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 9 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 9 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 9 ▶use Log::Any qw($log);
Subroutine BEGIN: called CC=1 SCAR=0.0
8
9 9 our $VERSION = '0.26';
10
11 7 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
12 7 my $class = shift;
13
14 7 my $self = {
15 FILE => undef,
16 CONTAINER => undef,
17 };
18 7 bless( $self, $class );
19
20 7 $log->info("$self NEW");
21
22 7 return $self;
23 }
24
25 5 ▶sub set_file {
Subroutine set_file: called CC=1 SCAR=0.0
Pod undocumented
26 5 my ( $self, $file ) = @_;
27
28 5 $self->{FILE} = $file;
29
30 5 $log->info( "$self SET FILE TO " . $self->{FILE} );
31 }
32
33 5 ▶sub file {
Subroutine file: called CC=1 SCAR=0.0
Pod undocumented
34 5 return $_[0]->{FILE};
35 }
36
37 9 1;
38 __END__
« Farly/Director.pm ↑ Summary Farly/ASA/ICMPFormatter.pm »