LCOV - code coverage report
Current view: top level - libgnucash/engine - gnc-numeric.cpp (source / functions) Coverage Total Hit
Test: gnucash.info Lines: 60.3 % 730 440
Test Date: 2025-02-07 16:25:45 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 323
double_to_gnc_numeric 350
GncNumeric::GncNumeric(double) 357
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 1785
gnc_numeric_neg 2000
gnc_numeric_positive_p 2220
GncNumeric::cmp(GncNumeric) 2680
gnc_numeric_reduce 3291
gnc_numeric_eq 3397
operator*(GncNumeric, GncNumeric) 4282
GncNumeric::reduce() const 4382
gnc_numeric_get_type 4845
gnc_numeric_get_type_once() 69
gnc_numeric_get_type 4776
gnc_numeric_same 4951
gnc_numeric_from_string 5144
fast_numeral_rational(char const*) 5162
gnc_numeric_to_string 8138
gnc_numeric_mul 8293
gnc_numeric_equal 11573
gnc_numeric_compare 24137
GncNumeric::to_decimal(unsigned int) const 32061
GncNumeric::is_decimal() const 32341
powten(unsigned int) 51315
gnc_numeric_abs 66821
GncNumeric::operator-() const 70542
operator-(GncNumeric, GncNumeric) 70542
gnc_numeric_sub 70549
gnc_numeric_to_decimal 129626
gnc_numeric_convert 174675
gnc_numeric_zero_p 186951
gnc_numeric_negative_p 213966
GncNumeric::GncNumeric(GncRational) 256875
gnc_numeric_add 259009
operator+(GncNumeric, GncNumeric) 322734
denom_lcd(_gnc_numeric, _gnc_numeric, long, int) 339629
GncNumeric::prepare_conversion(long) const 503122
GncNumeric convert<GncNumeric, long>(GncNumeric, long, int) 508126
GncRational convert(GncRational, long, int) 5004
GncNumeric convert(GncNumeric, long, int) 503122
GncNumeric::operator _gnc_numeric() const 539203
gnc_numeric_check 1759285

Generated by: LCOV version 2.0-1