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-03-23 10:40:18 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::abs() const 0
GncRational::inv() const 0
GncRational::operator*=(GncRational) 0
GncRational::operator+=(GncRational) 0
GncRational::operator-=(GncRational) 0
GncRational::operator/=(GncRational) 0
GncRational::sigfigs_denom(unsigned int) const 0
GncRational::operator-() const 7
operator-(GncRational, GncRational) 7
operator/(GncRational, GncRational) 1708
operator*(GncRational, GncRational) 2551
GncRational::cmp(GncRational) 2690
GncRational::is_big() const 2822
GncRational::prepare_conversion(GncInt128) const 3500
GncRational::round_to_numeric() const 6719
GncRational::operator _gnc_numeric() const 9927
GncRational::GncRational(_gnc_numeric) 19347
GncRational::reduce() const 33782
operator+(GncRational, GncRational) 200565
GncRational::GncRational(GncNumeric) 399443
GncRational::valid() const 422339

Generated by: LCOV version 2.0-1