Condition Coverage

blib/lib/Chemistry/File/CML.pm
Criterion Covered Total %
condition 7 29 24.1


and 3 conditions

line !l l&&!r l&&r condition
90 0 0 2 $element->hasAttribute("x3") and $element->hasAttribute("y3")
0 0 2 $element->hasAttribute("x3") and $element->hasAttribute("y3") and $element->hasAttribute("z3")
102 2 0 0 $atomParity and $atomParity->hasAttribute("atomRefs4")
2 0 0 $atomParity and $atomParity->hasAttribute("atomRefs4") and $atomParity->textContent =~ /^-?1$/
137 0 0 0 $mol_bond->can("cistrans") and $bondStereo
0 0 0 $mol_bond->can("cistrans") and $bondStereo and $bondStereo->hasAttribute("atomRefs4")
0 0 0 $mol_bond->can("cistrans") and $bondStereo and $bondStereo->hasAttribute("atomRefs4") and $bondStereo->textContent =~ /^[CT]$/

or 2 conditions

line l !l condition
47 0 2 $opts{'mol_class'} || 'Chemistry::Mol'

or 3 conditions

line l !l&&r !l&&!r condition
48 0 2 0 $opts{'atom_class'} || $mol_class->atom_class
49 0 2 0 $opts{'bond_class'} || $mol_class->bond_class