Condition Coverage

blib/lib/Chemistry/OpenSMILES.pm
Criterion Covered Total %
condition 22 27 81.4


and 3 conditions

line !l l&&!r l&&r condition
96 241 2 18 $what->{'chirality'} && $what->{'chirality'} =~ /^\@\@?$/
105 35 10 16 $moiety->has_edge_attribute($a, $b, 'bond') && $moiety->get_edge_attribute($a, $b, 'bond') =~ m[^[\\/]$]
112 21 5 34 $moiety->has_edge_attribute($a, $b, 'bond') && $moiety->get_edge_attribute($a, $b, 'bond') eq '='
153 4 0 0 exists $distance{$b} && $distance{$b} <= $max_length
191 0 0 5 $moiety->degree($atom) == 4 and $color_sub
215 6 111 24 not &is_chiral($atom) and $moiety->degree($atom) == 4
250 1 2 1 $bond_types{$_} and @{$bond_types{$_};} > 1
300 20 11 7 $bond_type =~ m[^[\\/]$] and $atom->{'number'} > $neighbour->{'number'}

or 3 conditions

line l !l&&r !l&&!r condition
159 77 0 40 !$moiety->has_edge_attribute($a, $b, 'bond') || $moiety->get_edge_attribute($a, $b, 'bond') eq '-'