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: 2025-06-07 07:31:59 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) 530125
GncRational::GncRational(_gnc_numeric) 23554
GncRational::abs() const 0
GncRational::cmp(GncRational) 2669
GncRational::inv() const 0
GncRational::is_big() const 5065
GncRational::operator _gnc_numeric() const 11995
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 6146
GncRational::reduce() const 101762
GncRational::round_to_numeric() const 6615
GncRational::sigfigs_denom(unsigned int) const 0
GncRational::valid() const 559444
operator*(GncRational, GncRational) 5105
operator+(GncRational, GncRational) 264343
operator-(GncRational, GncRational) 7
operator/(GncRational, GncRational) 1773

Generated by: LCOV version 2.0-1