Branch Coverage

lib/XML/Compile/WSS.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
40 0 0 @_ == 1 ? :
49 0 0 unless my $version = $args->{'wss_version'} || $args->{'version'}
52 0 0 if $version eq 'http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd'
55 0 0 unless $versions{$version}
60 0 0 if (my $schema = $self->{'XCW_schema'} = $args->{'schema'})
72 0 0 $how eq 'NONE' ? :
0 0 $how eq 'WRITER' ? :
0 0 $how eq 'READER' ? :
0 0 $how eq 'ALL' ? :
79 0 0 if $w
80 0 0 if $r
97 0 0 unless $self->{'XCW_prepare_w'}
105 0 0 unless $self->{'XCW_prepare_r'}
114 0 0 if not defined $time or ref $time
117 0 0 if (not $time =~ /[^0-9.]/) { }
0 0 elsif ($dateTime->{'check'}->($time)) { }
130 0 0 if $schema->{'XCW_wss_loaded'}++
132 0 0 unless $schema->isa('XML::Compile::Cache')
198 0 0 unless defined $id
202 0 0 if (my $has = $node->getAttributeNS('http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd', 'Id') || $node->getAttribute('wsu:Id'))
204 0 0 unless $has eq $id