Condition Coverage

blib/lib/Chemistry/OpenSMILES/Aromaticity.pm
Criterion Covered Total %
condition 16 21 76.1


and 3 conditions

line !l l&&!r l&&r condition
150 144 16 20 not defined $prev_bond_is_single and is_single_bond($moiety, $current, $prev{$current}) || is_double_bond($moiety, $current, $prev{$current})
72 0 72 $prev_bond_is_single and is_double_bond($moiety, $current, $prev{$current})
0 0 72 not $prev_bond_is_single and is_single_bond($moiety, $current, $prev{$current})

or 3 conditions

line l !l&&r !l&&!r condition
143 18 18 76 $u == $start or $v == $start
150 16 20 0 is_single_bond($moiety, $current, $prev{$current}) || is_double_bond($moiety, $current, $prev{$current})
36 72 72 not defined $prev_bond_is_single and is_single_bond($moiety, $current, $prev{$current}) || is_double_bond($moiety, $current, $prev{$current}) or $prev_bond_is_single and is_double_bond($moiety, $current, $prev{$current})
72 72 0 not defined $prev_bond_is_single and is_single_bond($moiety, $current, $prev{$current}) || is_double_bond($moiety, $current, $prev{$current}) or $prev_bond_is_single and is_double_bond($moiety, $current, $prev{$current}) or not $prev_bond_is_single and is_single_bond($moiety, $current, $prev{$current})