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-10-06 13:57:51 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) 495705
GncRational::GncRational(_gnc_numeric) 19251
GncRational::abs() const 0
GncRational::cmp(GncRational) 2678
GncRational::inv() const 0
GncRational::is_big() const 2818
GncRational::operator _gnc_numeric() const 9879
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 3496
GncRational::reduce() const 33665
GncRational::round_to_numeric() const 6675
GncRational::sigfigs_denom(unsigned int) const 0
GncRational::valid() const 518485
operator*(GncRational, GncRational) 2547
operator+(GncRational, GncRational) 248672
operator-(GncRational, GncRational) 7
operator/(GncRational, GncRational) 1704

Generated by: LCOV version 2.0-1