Condition Coverage

blib/lib/Chemistry/Smiles.pm
Criterion Covered Total %
condition 10 21 47.6


and 3 conditions

line !l l&&!r l&&r condition
100 0 0 1 $opts{'add_atom'} and $opts{'add_bond'}
150 31 13 16 $dig and $dig =~ /$digits_re/g
165 8 0 0 $$dig{'bnd'} and $$self{'digits'}{$$dig{'dig'}}{'bnd'}
8 0 0 $$dig{'bnd'} and $$self{'digits'}{$$dig{'dig'}}{'bnd'} and $$dig{'bnd'} ne $$self{'digits'}{$$dig{'dig'}}{'bnd'}

or 2 conditions

line l !l condition
101 1 0 $opts{'add_atom'} || \&add_atom
1 0 $opts{'add_bond'} || \&add_bond
139 0 4 $hcnt || 0

or 3 conditions

line l !l&&r !l&&!r condition
169 0 0 8 $$dig{'bnd'} || $$self{'digits'}{$$dig{'dig'}}{'bnd'}