File Coverage

blib/lib/App/JSON/to/perl.pm
Criterion Covered Total %
statement 16 16 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 1 0.0
total 20 21 95.2


line stmt bran cond sub pod time code
1 1     1   4 use strict;
  1         1  
  1         37  
2 1     1   3 use warnings;
  1         1  
  1         48  
3              
4             package App::JSON::to::perl;
5              
6             our $VERSION = '1.000';
7              
8 1     1   736 use Data::Dumper ();
  1         4905  
  1         75  
9              
10              
11             sub dump
12             {
13 2     2 0 3 my $data = $_[1];
14              
15 2         2 local $Data::Dumper::Indent = 0;
16 2         3 local $Data::Dumper::Purity = 0;
17 2         3 local $Data::Dumper::Terse = 1;
18 2         3 local $Data::Dumper::Sortkeys = 1;
19 2         3 local $Data::Dumper::Quotekeys = 0;
20              
21 2         5 Data::Dumper::Dumper($data) . "\n"
22             }
23              
24             1;