Condition Coverage

blib/lib/Net/SAML2/XML/Sig.pm
Criterion Covered Total %
condition 8 30 26.6


and 3 conditions

line !l l&&!r l&&r condition
74 6 0 0 exists $params->{'sig_hash'} and grep {$_ eq $params->{'sig_hash'};} "sha224", "sha256", "sha384", "sha512"
82 6 0 0 exists $params->{'digest_hash'} and grep {$_ eq $params->{'digest_hash'};} "sha1", "sha224", "sha256", "sha384", "sha512"
90 3 3 0 defined $self->{'key_type'} and $self->{'key_type'} eq "dsa"
91 0 0 0 defined $params->{'sig_hash'} and grep {$_ eq $params->{'sig_hash'};} "sha1", "sha256"
99 2 0 4 exists $params->{'no_xml_declaration'} and $params->{'no_xml_declaration'} == 1
401 0 0 3 $keyinfo_nodeset and $keyinfo_nodeset->size > 0
986 0 0 0 defined $self->{'dsig_prefix'} and length $self->{'dsig_prefix'}
1368 0 0 4 $self->{'sig_hash'} eq "sha1" and $self->{'key_type'} ne "ecdsa"
0 0 0 $self->{'key_type'} eq "dsa" and $self->{'sig_hash'} eq "sha256"

or 3 conditions

line l !l&&r !l&&!r condition
1406 0 0 0 $self->{'digest_hash'} eq "sha224" or $self->{'digest_hash'} eq "sha384"