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-04-07 16:51:19 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) 392132
GncRational::GncRational(_gnc_numeric) 19311
GncRational::abs() const 0
GncRational::cmp(GncRational) 2691
GncRational::inv() const 0
GncRational::is_big() const 2822
GncRational::operator _gnc_numeric() const 9909
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 3499
GncRational::reduce() const 33697
GncRational::round_to_numeric() const 6701
GncRational::sigfigs_denom(unsigned int) const 0
GncRational::valid() const 414977
operator*(GncRational, GncRational) 2551
operator+(GncRational, GncRational) 196893
operator-(GncRational, GncRational) 7
operator/(GncRational, GncRational) 1708

Generated by: LCOV version 2.0-1