Branch Coverage

blib/lib/Chemistry/Reaction.pm
Criterion Covered Total %
branch 25 40 62.5


line true false branch
105 0 4 if $substrate->formula ne $product->formula
118 0 4 if $order1 != $order2
122 0 21 if $atom->symbol ne $$mapping{$atom}->symbol
135 0 21 if $atom->attr('reaction/mapped')
167 0 14 unless $atoms[0] lt $atoms[1]
180 2 16 unless $atoms[0] lt $atoms[1]
181 7 11 unless defined $bonds{$a1}{$a2}
192 3 18 unless defined $$a[1]
220 2 16 unless $atoms[0] lt $atoms[1]
222 7 11 if ($a[0] == 0)
248 28 56 if ($bond->attr('reaction/before') == 0) { }
274 0 0 if ($bond->attr('reaction/after') == 0) { }
321 36 122 if ($aa eq $occ{$a2})
326 36 43 if ($b)
328 36 17 if ($b) { }
332 3 33 if ($b->order == 0)
375 0 0 if ($aa eq $occ{$a2})
380 0 0 if ($b)
382 0 0 if ($b) { }
386 0 0 if ($b->order == 0)