| /usr/local/lib/perl5/site_perl/5.26.1/x86_64-linux/auto/share/dist/Alien-Kiwisolver/include/kiwi/constraint.h | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 12 | 58.3 |
| line | true | false | branch |
|---|---|---|---|
| 35 | 3220 | 0 | double strength = strength::required) : m_data(new ConstraintData(expr, op, strength)) {} |
| 37 | 1100 | 0 | Constraint(const Constraint &other, double strength) : m_data(new ConstraintData(other, strength)) {} |
| 73 | 6132 | 3220 | for (const auto & term : expr.terms()) |
| 74 | 6132 | 0 | vars[term.variable()] += term.coefficient(); |
| 76 | 3220 | 0 | std::vector<Term> terms(vars.begin(), vars.end()); |
| 94 | 1100 | 0 | m_op(other.op()) {} |