blib/lib/Catmandu/Importer/Pure/Parser/raw.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 9 | 66.6 |
branch | 0 | 2 | 0.0 |
condition | n/a | ||
subroutine | 2 | 3 | 66.6 |
pod | 0 | 1 | 0.0 |
total | 8 | 15 | 53.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Catmandu::Importer::Pure::Parser::raw; | ||||||
2 | |||||||
3 | 1 | 1 | 671 | use Catmandu::Sane; | |||
1 | 3 | ||||||
1 | 9 | ||||||
4 | 1 | 1 | 277 | use Moo; | |||
1 | 3 | ||||||
1 | 5 | ||||||
5 | |||||||
6 | our $VERSION = '0.03'; | ||||||
7 | |||||||
8 | sub parse { | ||||||
9 | 0 | 0 | 0 | my ($self,$dom) = @_; | |||
10 | |||||||
11 | 0 | 0 | return undef unless defined $dom; | ||||
12 | 0 | $dom->toString; | |||||
13 | } | ||||||
14 | |||||||
15 | 1; |