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 16810 if (nearZero(m_cells[symbol] += coefficient))
77 9558641 1225667 for (const auto & cellPair : other.m_cells)
80 9558641 0 if (nearZero(m_cells[cellPair.first] += coeff))
3538214 6020427 if (nearZero(m_cells[cellPair.first] += coeff))
81 3538214 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 102064 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);