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
160 48 6 6 not defined $prev_bond_is_single and is_single_bond($moiety, $current, $prev{$current}) || is_double_bond($moiety, $current, $prev{$current})
24 0 24 $prev_bond_is_single and is_double_bond($moiety, $current, $prev{$current})
0 0 24 not $prev_bond_is_single and is_single_bond($moiety, $current, $prev{$current})

or 3 conditions

line l !l&&r !l&&!r condition
153 6 6 12 $u == $start or $v == $start
160 6 6 0 is_single_bond($moiety, $current, $prev{$current}) || is_double_bond($moiety, $current, $prev{$current})
12 24 24 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})
24 24 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})