File Coverage

blib/lib/XML/Validator/Schema/ElementLibrary.pm
Criterion Covered Total %
statement 12 15 80.0
branch n/a
condition n/a
subroutine 4 5 80.0
pod 0 1 0.0
total 16 21 76.1


line stmt bran cond sub pod time code
1             package XML::Validator::Schema::ElementLibrary;
2 5     5   25 use strict;
  5         7  
  5         154  
3 5     5   25 use warnings;
  5         7  
  5         137  
4              
5 5     5   25 use XML::Validator::Schema::Util qw(XSD _err);
  5         8  
  5         247  
6 5     5   26 use base 'XML::Validator::Schema::Library';
  5         9  
  5         628  
7              
8             =head1 NAME
9              
10             XML::Validator::Schema::ElementLibrary
11              
12             =head1 DESCRIPTION
13              
14             Internal module used to implement a library of elements.
15              
16             =cut
17              
18             sub new {
19 0     0 0   my $pkg = shift;
20 0           my $self = $pkg->SUPER::new(what => 'element', @_);
21              
22 0           return $self;
23             }
24              
25              
26              
27             1;
28