Condition Coverage

blib/lib/Chemistry/FormulaPattern.pm
Criterion Covered Total %
condition 12 20 60.0


and 3 conditions

line !l l&&!r l&&r condition
148 11 0 5 $$self{'matched'} and $$self{'matched'} eq $mol
160 6 0 9 $$have_formula{$symbol} >= $$want_formula{$symbol}{'low'} and $$have_formula{$symbol} <= $$want_formula{$symbol}{'high'}
168 6 5 0 $good == @want_keys and $good == @have_keys || $$self{'options'}{'allow_others'}
231 15 0 2 defined $extract and $extract ne ''

or 2 conditions

line l !l condition
159 15 0 $$have_formula{$symbol} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
114 0 15 0 ref $class || $class
168 4 1 0 $good == @have_keys || $$self{'options'}{'allow_others'}