LCOV - code coverage report
Current view: top level - libgnucash/engine - gnc-numeric.cpp (source / functions) Coverage Total Hit
Test: gnucash.info Lines: 59.3 % 761 451
Test Date: 2025-09-28 08:34:28 Functions: 88.5 % 61 54
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
GncNumeric::abs() const 0
GncNumeric::operator double() const 0
GncNumeric::operator*=(GncNumeric) 0
GncNumeric::operator-=(GncNumeric) 0
GncNumeric::operator/=(GncNumeric) 0
GncNumeric::to_string[abi:cxx11]() const 0
numeric_from_scientific_match(boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >&) 0
gnc_numeric_errorCode_to_string 6
numeric_from_decimal_match(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 14
reduce_number_pair(std::pair<GncInt128, GncInt128>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) 14
GncNumeric::GncNumeric(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) 19
GncNumeric::sigfigs_denom(unsigned int) const 31
gnc_num_dbg_to_string 36
gnc_numeric_boxed_free_func(_gnc_numeric*) 51
gnc_numeric_boxed_copy_func(_gnc_numeric*) 103
gnc_numeric_to_double 132
GncNumeric::operator+=(GncNumeric) 188
double_to_gnc_numeric 212
GncNumeric::GncNumeric(double) 219
operator<<(std::ostream&, GncNumeric) 284
gnc_numeric_error 315
GncNumeric::inv() const 706
gnc_numeric_invert 706
operator/(GncNumeric, GncNumeric) 1158
gnc_numeric_get_type 1171
gnc_numeric_get_type_once() 69
gnc_numeric_get_type 1102
operator*(GncNumeric, GncNumeric) 1368
gnc_numeric_reduce 1514
gnc_numeric_div 1719
gnc_numeric_neg 2087
gnc_numeric_positive_p 2224
GncNumeric::reduce() const 2576
GncNumeric::cmp(GncNumeric) 2689
gnc_numeric_mul 3056
gnc_numeric_eq 3442
gnc_numeric_same 5035
gnc_numeric_from_string 5177
fast_numeral_rational(char const*) 5195
gnc_numeric_to_string 8134
gnc_numeric_equal 11673
gnc_numeric_abs 13648
GncNumeric::operator-() const 14083
operator-(GncNumeric, GncNumeric) 14083
gnc_numeric_sub 14090
GncNumeric::to_decimal(unsigned int) const 14272
GncNumeric::is_decimal() const 14552
gnc_numeric_compare 22265
gnc_numeric_to_decimal 23268
powten(unsigned int) 25668
gnc_numeric_negative_p 54641
gnc_numeric_convert 59105
gnc_numeric_zero_p 68571
GncNumeric::GncNumeric(GncRational) 242490
gnc_numeric_add 264529
operator+(GncNumeric, GncNumeric) 271700
denom_lcd(_gnc_numeric, _gnc_numeric, long, int) 283390
GncNumeric::prepare_conversion(long) const 333326
GncNumeric convert<GncNumeric, long>(GncNumeric, long, int) 336086
GncRational convert(GncRational, long, int) 2760
GncNumeric convert(GncNumeric, long, int) 333326
GncNumeric::operator _gnc_numeric() const 349840
gnc_numeric_check 999250

Generated by: LCOV version 2.0-1