File Coverage

blib/lib/Catmandu/Importer/Pure/Parser/struct.pm
Criterion Covered Total %
statement 9 12 75.0
branch 0 2 0.0
condition n/a
subroutine 3 4 75.0
pod 0 1 0.0
total 12 19 63.1


line stmt bran cond sub pod time code
1             package Catmandu::Importer::Pure::Parser::struct;
2              
3 1     1   652 use Catmandu::Sane;
  1         3  
  1         7  
4 1     1   204 use Moo;
  1         2  
  1         6  
5 1     1   906 use XML::Struct qw(readXML);
  1         34792  
  1         169  
6              
7             our $VERSION = '0.05';
8              
9             sub parse {
10 0     0 0   my ($self,$dom) = @_;
11              
12 0 0         return undef unless defined $dom;
13 0           readXML($dom);
14             }
15              
16             1;