blib/lib/Astro/App/Satpass2/FormatValue/Formatter.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod 100% 3 / 3 totaltotal 100% 33 / 33 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Astro/App/Satpass2/FormatTime/Strftime.pm ↑ Summary
1 package Astro::App::Satpass2::FormatValue::Formatter;
2  
3 11 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 11 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 11 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 11 ▶use Astro::App::Satpass2::FormatValue;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 11 ▶use Astro::App::Satpass2::Utils qw{ has_method @CARP_NOT };
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 11 our $VERSION = '0.059';
12  
13 1 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
14 1 my ( $class, $info ) = @_;
15  
16 1 return bless {
17 info => $info,
18 code => Astro::App::Satpass2::FormatValue
19 ->__make_formatter_code( $info ),
20 }, $class;
21  
22 }
23  
24 1 ▶sub code {
Subroutine code: called CC=1 SCAR=0.0
Pod documented
25 1 my ( $self ) = @_;
26 1 return $self->{code};
27 }
28  
29 3 ▶sub name {
Subroutine name: called CC=1 SCAR=0.0
Pod documented
30 3 my ( $self ) = @_;
31 3 return $self->{info}{name};
32 }
33  
34 11 1;
35  
36 __END__
« blib/lib/Astro/App/Satpass2/FormatTime/Strftime.pm ↑ Summary