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 | 571 | use Catmandu::Sane; | |||
1 | 2 | ||||||
1 | 8 | ||||||
4 | 1 | 1 | 241 | use Moo; | |||
1 | 3 | ||||||
1 | 5 | ||||||
5 | |||||||
6 | our $VERSION = '0.04'; | ||||||
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; |