File Coverage

blib/lib/Raisin/Decoder.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 1 1 100.0
total 15 15 100.0


line stmt bran cond sub pod time code
1             #!perl
2             #PODNAME: Raisin::Decoder
3             #ABSTRACT: A helper for L over decoder modules
4              
5 13     13   523 use strict;
  13         25  
  13         429  
6 13     13   68 use warnings;
  13         20  
  13         596  
7              
8             package Raisin::Decoder;
9             $Raisin::Decoder::VERSION = '0.92';
10 13     13   72 use parent 'Raisin::Encoder';
  13         33  
  13         87  
11              
12             sub builtin {
13             {
14 28     28 1 130 json => 'Raisin::Encoder::JSON',
15             yaml => 'Raisin::Encoder::YAML',
16             };
17             }
18              
19             1;
20              
21             __END__