blib/lib/Chemistry/Smiles.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 16 | 75.0 |
line | true | false | branch |
---|---|---|---|
100 | 0 | 1 | unless $opts{'add_atom'} and $opts{'add_bond'} |
128 | 5 | 49 | if ($all eq '(') { } |
5 | 44 | elsif ($all eq ')') { } | |
40 | 4 | elsif ($sym) { } | |
4 | 0 | elsif ($sym2) { } | |
160 | 37 | 7 | if ($$self{'stack'}[-1]) |
164 | 8 | 8 | if ($$self{'digits'}{$$dig{'dig'}}) { } |
165 | 0 | 0 | if ($$dig{'bnd'} and $$self{'digits'}{$$dig{'dig'}}{'bnd'} and $$dig{'bnd'} ne $$self{'digits'}{$$dig{'dig'}}{'bnd'}) |