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-07-16 14:13:45 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) 1801
GncRational::cmp(GncRational) 2609
GncRational::is_big() const 2799
operator*(GncRational, GncRational) 3169
GncRational::prepare_conversion(GncInt128) const 3477
GncRational::round_to_numeric() const 6800
GncRational::operator _gnc_numeric() const 9970
GncRational::GncRational(_gnc_numeric) 19448
GncRational::reduce() const 34991
operator+(GncRational, GncRational) 200833
GncRational::GncRational(GncNumeric) 401201
GncRational::valid() const 424317

Generated by: LCOV version 2.0-1