lib/XML/Schema/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 24 | 50 | 48.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
220 | 98 | 0 | 1 | @_ and ref $self |
285 | 6851 | 319 | 332 | $$options{'first'} and @$arg |
297 | 3169 | 0 | 0 | $$options{'first'} and %{$$args{$name};} |
312 | 7375 | 0 | 0 | $XML::Schema::Base::DEBUG and @$isa |
335 | 7 | 0 | 22 | @$args and defined $$args[0] |
line | l | !l | condition |
---|---|---|---|
104 | 53 | 2 | $self->_mandatory($mand, $config) or return |
190 | 2 | 0 | $error ||= '' |
505 | 0 | 0 | $level ||= 0 |
599 | 0 | 0 | shift() || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
68 | 1 | 1 | 845 | $$config{'factory'} || $$config{'FACTORY'} |
70 | 797 | 0 | 50 | $self->init($config) || $class->error($self->error) |
193 | 1 | 0 | 1 | ${"${class}::ETYPE";} || $XML::Schema::Base::ETYPE |
223 | 91 | 7 | 0 | $factory ||= do { require XML::Schema; $XML::Schema::FACTORY } |
227 | 98 | 0 | 0 | $factory || $self->error('no factory defined') |
259 | 1591 | 9 | 0 | ref $class || $class |
417 | 0 | 0 | 0 | ref $self || $self |
419 | 0 | 0 | 0 | ${"${class}::ETYPE";} || $self |
561 | 0 | 0 | 0 | $length ||= $XML::Schema::Base::SNIPPET |