| line |
!l |
l&&!r |
l&&r |
condition |
|
74
|
35 |
210 |
0 |
defined $options && ref $options eq 'CODE' |
|
75
|
35 |
0 |
210 |
defined $options and ref $options eq "HASH" |
|
452
|
20 |
230 |
1006 |
$graph and $options->{'unsprout_hydrogens'} |
|
|
230 |
8 |
998 |
$graph and $options->{'unsprout_hydrogens'} and $atom ne "H" |
|
458
|
230 |
11 |
1015 |
$is_simple and $graph |
|
|
241 |
558 |
457 |
$is_simple and $graph and not $raw |
|
|
569 |
0 |
457 |
$is_simple and $graph and not $raw and $Chemistry::OpenSMILES::Writer::normal_valence{ucfirst $atom} |
|
|
558 |
2 |
455 |
$is_simple and $graph and not $raw and $Chemistry::OpenSMILES::Writer::normal_valence{ucfirst $atom} and not $vertex->{'charge'} |
|
|
2 |
26 |
429 |
$is_simple and $graph and not $raw and $Chemistry::OpenSMILES::Writer::normal_valence{ucfirst $atom} and not $vertex->{'charge'} and not $vertex->{'class'} |
|
474
|
582 |
590 |
84 |
$raw and exists $vertex->{'hcount'} |
|
503
|
182 |
0 |
144 |
$bond eq ":" and $n_aromatic |
|
|
182 |
0 |
144 |
$bond eq ":" and $n_aromatic and not $options->{'explicit_aromatic_bonds'} |
|
515
|
4 |
1084 |
654 |
defined &$order_by_vertex($vertex) and $$rings{&$order_by_vertex($vertex)} |
|
534
|
0 |
1 |
407 |
$derived_valence && $derived_valence == $normal_valence |
|
545
|
1 |
2 |
364 |
defined $_ && /^[0-3]$/ |
|
643
|
24050 |
16842 |
9614 |
$Chemistry::OpenSMILES::Writer::TB[$_]{'order'} eq $order and $Chemistry::OpenSMILES::Writer::TB[$_]{'axis'}[0] == $axis_location[0] + 1 |
|
703
|
28803 |
7201 |
7201 |
$target[0] == $sides[0] and $target[1] == $sides[1] |
|
|
28803 |
0 |
7201 |
$target[0] == $sides[0] and $target[1] == $sides[2] |
|
|
14401 |
7202 |
7200 |
$target[0] == $sides[1] and $target[1] == $sides[0] |
|
|
14401 |
0 |
7202 |
$target[0] == $sides[1] and $target[1] == $sides[2] |
|
|
0 |
7201 |
7200 |
$target[0] == $sides[2] and $target[1] == $sides[0] |
|
|
0 |
0 |
7201 |
$target[0] == $sides[2] and $target[1] == $sides[1] |
|
720
|
432035 |
108008 |
129611 |
$Chemistry::OpenSMILES::Writer::OH[$_]{'shape'} eq $shape and $Chemistry::OpenSMILES::Writer::OH[$_]{'order'} eq $order |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
218
|
69 |
6 |
15 |
&is_chiral_tetrahedral($atom) or &is_chiral_planar($atom) |
|
|
75 |
8 |
7 |
&is_chiral_tetrahedral($atom) or &is_chiral_planar($atom) or &is_chiral_trigonal_bipyramidal($atom) |
|
|
14 |
5 |
2 |
&is_chiral_tetrahedral($atom) or &is_chiral_planar($atom) or &is_chiral_trigonal_bipyramidal($atom) or &is_chiral_octahedral($atom) |
|
226
|
0 |
0 |
75 |
scalar @neighbours < 3 or scalar @neighbours > 4 |
|
236
|
0 |
0 |
8 |
scalar @neighbours < 4 or scalar @neighbours > 5 |
|
246
|
0 |
0 |
5 |
scalar @neighbours < 5 or scalar @neighbours > 6 |
|
343
|
122 |
263 |
610 |
$options->{'explicit_parentheses'} or _has_more_unseen_children($discovered_from{$vertex}, $i, $order_by_vertex, $graph, $rings) |
|
393
|
122 |
263 |
606 |
$options->{'explicit_parentheses'} or _has_more_unseen_children($discovered_from{$vertex}, $i, $order_by_vertex, $graph, $rings) |
|
433
|
931 |
172 |
153 |
$atom =~ /^[bcnosp]$/i || $atom =~ /^(F|Cl|Br|I|\*)$/ |
|
544
|
2 |
3 |
89 |
scalar @_ != 4 or &any(sub {
not defined $_ && /^[0-3]$/;
}
, @_) |
|
|
5 |
0 |
89 |
scalar @_ != 4 or &any(sub {
not defined $_ && /^[0-3]$/;
}
, @_) or join(",", sort(@_)) ne "0,1,2,3" |
|
552
|
32 |
24 |
89 |
$_[2] == 0 or $_[3] == 0 |