LCOV - code coverage report
Current view: top level - libgnucash/engine - gnc-rational.cpp (source / functions) Coverage Total Hit
Test: gnucash.info Lines: 63.4 % 175 111
Test Date: 2026-06-14 17:52:35 Functions: 66.7 % 21 14
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

Function Name Sort by function name Hit count Sort by function hit count
GncRational::GncRational(GncNumeric) 392178
GncRational::GncRational(_gnc_numeric) 19241
GncRational::abs() const 0
GncRational::cmp(GncRational) 2687
GncRational::inv() const 0
GncRational::is_big() const 2796
GncRational::operator _gnc_numeric() const 9865
GncRational::operator*=(GncRational) 0
GncRational::operator+=(GncRational) 0
GncRational::operator-() const 7
GncRational::operator-=(GncRational) 0
GncRational::operator/=(GncRational) 0
GncRational::prepare_conversion(GncInt128) const 3473
GncRational::reduce() const 33715
GncRational::round_to_numeric() const 6701
GncRational::sigfigs_denom(unsigned int) const 0
GncRational::valid() const 414891
operator*(GncRational, GncRational) 2551
operator+(GncRational, GncRational) 196893
operator-(GncRational, GncRational) 7
operator/(GncRational, GncRational) 1700

Generated by: LCOV version 2.0-1