| 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 |
||||||
| 4 | |||||||
| 5 | 13 | 13 | 448 | use strict; | |||
| 13 | 21 | ||||||
| 13 | 320 | ||||||
| 6 | 13 | 13 | 53 | use warnings; | |||
| 13 | 19 | ||||||
| 13 | 463 | ||||||
| 7 | |||||||
| 8 | package Raisin::Decoder; | ||||||
| 9 | $Raisin::Decoder::VERSION = '0.94'; | ||||||
| 10 | 13 | 13 | 61 | use parent 'Raisin::Encoder'; | |||
| 13 | 23 | ||||||
| 13 | 63 | ||||||
| 11 | |||||||
| 12 | sub builtin { | ||||||
| 13 | { | ||||||
| 14 | 41 | 41 | 1 | 168 | json => 'Raisin::Encoder::JSON', | ||
| 15 | yaml => 'Raisin::Encoder::YAML', | ||||||
| 16 | form => 'Raisin::Encoder::Form', | ||||||
| 17 | }; | ||||||
| 18 | } | ||||||
| 19 | |||||||
| 20 | 1; | ||||||
| 21 | |||||||
| 22 | __END__ |