blib/lib/XML/Pastor/Builtin/hexBinary.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/XML/Pastor/Builtin/SimpleType.pm ↑ Summary blib/lib/XML/Pastor/ComplexType.pm »
1 10 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 10 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 10 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 10 ▶no warnings qw(uninitialized);
Subroutine BEGIN: called CC=1 SCAR=0.0
5
6
7 #======================================================================
8 package XML::Pastor::Builtin::hexBinary;
9
10 10 ▶use XML::Pastor::Builtin::Scalar;
Subroutine BEGIN: called CC=1 SCAR=0.0
11
12 10 our @ISA = qw(XML::Pastor::Builtin::Scalar);
13
14 10 XML::Pastor::Builtin::hexBinary->XmlSchemaType( bless( {
15 'class' => 'XML::Pastor::Builtin::hexBinary',
16 'contentType' => 'simple',
17 'derivedBy' => 'restriction',
18 'name' => 'hexBinary|http://www.w3.org/2001/XMLSchema',
19 'regex' => qr/^([0-9a-fA-F][0-9a-fA-F])+$/, # Regex shamelessly copied from XML::Validator::Schema by Sam Tregar
20 }, 'XML::Pastor::Schema::SimpleType' ) );
21
22
23
24 10 1;
25
26 __END__
« blib/lib/XML/Pastor/Builtin/SimpleType.pm ↑ Summary blib/lib/XML/Pastor/ComplexType.pm »