LCOV - code coverage report
Current view: top level - libgnucash/engine - gnc-numeric.cpp (source / functions) Coverage Total Hit
Test: gnucash.info Lines: 59.4 % 761 452
Test Date: 2025-05-12 14:48:58 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 33
gnc_num_dbg_to_string 36
gnc_numeric_to_double 156
GncNumeric::operator+=(GncNumeric) 188
operator<<(std::ostream&, GncNumeric) 284
gnc_numeric_error 324
double_to_gnc_numeric 362
GncNumeric::GncNumeric(double) 369
gnc_numeric_boxed_free_func(_gnc_numeric*) 461
gnc_numeric_boxed_copy_func(_gnc_numeric*) 513
GncNumeric::inv() const 708
gnc_numeric_invert 708
operator/(GncNumeric, GncNumeric) 1298
gnc_numeric_div 1788
gnc_numeric_neg 2058
gnc_numeric_positive_p 2220
GncNumeric::cmp(GncNumeric) 2680
gnc_numeric_reduce 3291
gnc_numeric_eq 3399
operator*(GncNumeric, GncNumeric) 4285
GncNumeric::reduce() const 4397
gnc_numeric_get_type 4882
gnc_numeric_get_type_once() 69
gnc_numeric_get_type 4813
gnc_numeric_same 5019
gnc_numeric_from_string 5144
fast_numeral_rational(char const*) 5162
gnc_numeric_to_string 8138
gnc_numeric_mul 8296
gnc_numeric_equal 11641
gnc_numeric_compare 24199
GncNumeric::to_decimal(unsigned int) const 32109
GncNumeric::is_decimal() const 32389
powten(unsigned int) 51444
gnc_numeric_abs 66857
GncNumeric::operator-() const 70580
operator-(GncNumeric, GncNumeric) 70580
gnc_numeric_sub 70587
gnc_numeric_to_decimal 129698
gnc_numeric_convert 175152
gnc_numeric_zero_p 187299
gnc_numeric_negative_p 214210
GncNumeric::GncNumeric(GncRational) 267727
gnc_numeric_add 270015
operator+(GncNumeric, GncNumeric) 333709
denom_lcd(_gnc_numeric, _gnc_numeric, long, int) 350679
GncNumeric::prepare_conversion(long) const 514589
GncNumeric convert<GncNumeric, long>(GncNumeric, long, int) 519596
GncRational convert(GncRational, long, int) 5007
GncNumeric convert(GncNumeric, long, int) 514589
GncNumeric::operator _gnc_numeric() const 550717
gnc_numeric_check 1783714

Generated by: LCOV version 2.0-1