Branch Coverage

lib/XML/Schema/Type/Complex.pm
Criterion Covered Total %
branch 14 24 58.3


line true false branch
46 0 28 unless $self->SUPER::init($config)
62 0 28 unless $self->init_scheduler($config)
70 1 27 if ($content = $$config{'content'}) { }
71 0 1 if ($factory->isa('content', $content)) { }
1 0 elsif ($content = $factory->create('content', $content)) { }
85 0 27 unless $factory->load($ctype)
90 0 27 unless $factory->load($ptype)
94 24 3 if (grep /^$regex$/, keys %$config)
145 24 2 unless @_
178 0 1 if $XML::Schema::Type::Complex::DEBUG
207 0 1 if $XML::Schema::Type::Complex::DEBUG
265 0 0 @_ ? :