PlayTab/Output/Dump.pm

filter: Statementstmt 63.1% 12 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 57.1% 4 / 7 Podpod 0.0% 0 / 3 totaltotal 55.1% 16 / 29 CC 1 SCAR 3.6
CC
1
Cov
63%
new
2.0
finish
2.0
generate
2.0
CRAP 1.4
« PlayTab/NoteMap.pm ↑ Summary PlayTab/Output/PostScript/Preamble.pm »
1 #! perl
2  
3 # Author : Johan Vromans
4 # Created On : Fri Mar 28 19:42:24 2014
5 # Last Modified By: Johan Vromans
6 # Last Modified On: Sat Apr 16 22:45:34 2016
7 # Update Count : 27
8 # Status : Unknown, Use with caution!
9  
10 package App::Music::PlayTab::Output::Dump;
11  
12 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 1 our $VERSION = "0.001";
16  
17 1 ▶use Data::Dumper;
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19 1 ▶sub import { __PACKAGE__ };
Subroutine import: called CC=1 SCAR=0.0
20  
21 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
22 0 bless { raw => 1 }, shift;
23 }
24  
25  
26 0 ▶sub finish {
Subroutine finish: not called CC=1 SCAR=6.9
Pod undocumented
27 0 my $self = shift;
28 }
29  
30 0 ▶sub generate {
Subroutine generate: not called CC=1 SCAR=6.9
Pod undocumented
31 0 my ( $self, $args ) = @_;
32 0 my $opus = $args->{opus};
33  
34 0 $Data::Dumper::Indent = 1;
35 0 $Data::Dumper::Sortkeys = 1;
36 0 $self->{fh}->print( Data::Dumper->Dump([$opus], ["opus"]) );
37  
38 }
39  
40 1 1;
41  
42 __END__
« PlayTab/NoteMap.pm ↑ Summary PlayTab/Output/PostScript/Preamble.pm »