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   627 use Catmandu::Sane;
  1         2  
  1         6  
4 1     1   199 use Moo;
  1         2  
  1         6  
5 1     1   889 use XML::Struct qw(readXML);
  1         32622  
  1         139  
6              
7             our $VERSION = '0.03';
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;