blib/lib/Chemistry/Atom.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 35 | 60.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
219 | 2 | 0 | 0 | eval { do { require Chemistry::Isotope } } and my $m = Chemistry::Isotope::isotope_mass($$self{'mass_number'}, $$self{'Z'}) |
420 | 9 | 8 | 4 | $symbol =~ /^(?:[NOSFI]|Cl|Br)$/ and $charge == -1 |
12 | 1 | 4 | $symbol =~ /^[NOSP]$/ and $charge == 1 | |
5 | 6 | 2 | $symbol eq 'C' and $charge | |
10 | 0 | 1 | $symbol eq 'B' and $charge == -1 | |
593 | 24 | 0 | 0 | $from and $$b{'to'} eq $from |
611 | 35 | 0 | 0 | $from and $$b{'to'} eq $from |
635 | 0 | 0 | 0 | $from and $$b{'to'} eq $from |
line | l | !l | condition |
---|---|---|---|
382 | 2 | 0 | $self->implicit_hydrogens || 0 |
497 | 2 | 1 | $self->hydrogens || 0 |
758 | 0 | 0 | $indent ||= 0 |
805 | 3 | 0 | $format ||= '%f' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
431 | 1 | 2 | 18 | $radical == 1 or $radical == 3 |