Branch Coverage

/usr/local/lib/perl5/site_perl/5.26.1/x86_64-linux/auto/share/dist/Alien-Kiwisolver/include/kiwi/row.h
Criterion Covered Total %
branch 24 34 70.5


line true false branch
27 3221 0 Row(double constant) : m_constant(constant) {}
62 0 16809 if (nearZero(m_cells[symbol] += coefficient))
77 9558644 1225668 for (const auto & cellPair : other.m_cells)
80 9558644 0 if (nearZero(m_cells[cellPair.first] += coeff))
3538215 6020429 if (nearZero(m_cells[cellPair.first] += coeff))
81 3538215 0 m_cells.erase(cellPair.first);
90 172254 0 auto it = m_cells.find(symbol);
91 24289 147965 if (it != m_cells.end())
92 24289 0 m_cells.erase(it);
101 2932 578 for (auto &cellPair : m_cells)
121 102065 10753 for (auto &cellPair : m_cells)
149 952848 0 CellMap::const_iterator it = m_cells.find(symbol);
150 587894 364954 if (it == m_cells.end())
166 3078111 0 auto it = m_cells.find(symbol);
167 1223028 1855083 if (it != m_cells.end())
170 1223028 0 m_cells.erase(it);
171 1223028 0 insert(row, coefficient);