LCOV - code coverage report
Current view: top level - units - unit.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 141 142 99.3 %
Date: 2024-12-01 01:56:34 Functions: 46 46 100.0 %

Function Name Sort by function name Hit count Sort by hit count
scipp::units::hyperbolic(scipp::units::Unit const&) 24
scipp::units::(anonymous namespace)::expect_not_none(scipp::units::Unit const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 337684
scipp::units::(anonymous namespace)::is_special_unit(llnl::units::precise_unit const&) 28017
scipp::units::(anonymous namespace)::map_unit_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 28017
scipp::units::trigonometric(scipp::units::Unit const&) 163
scipp::units::add_unit_alias(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, scipp::units::Unit const&) 39
scipp::units::clear_unit_aliases() 129
scipp::units::inverse_trigonometric(scipp::units::Unit const&) 51
scipp::units::abs(scipp::units::Unit const&) 522
scipp::units::cos(scipp::units::Unit const&) 24
scipp::units::pow(scipp::units::Unit const&, long) 667
scipp::units::sin(scipp::units::Unit const&) 120
scipp::units::tan(scipp::units::Unit const&) 19
scipp::units::Unit::Unit(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 28017
scipp::units::Unit::operator/=(scipp::units::Unit const&) 100
scipp::units::Unit::operator-=(scipp::units::Unit const&) 122
scipp::units::Unit::operator*=(scipp::units::Unit const&) 2800
scipp::units::Unit::operator+=(scipp::units::Unit const&) 15860
scipp::units::Unit::operator%=(scipp::units::Unit const&) 20
scipp::units::acos(scipp::units::Unit const&) 17
scipp::units::asin(scipp::units::Unit const&) 17
scipp::units::atan(scipp::units::Unit const&) 17
scipp::units::ceil(scipp::units::Unit const&) 5
scipp::units::cosh(scipp::units::Unit const&) 3
scipp::units::rint(scipp::units::Unit const&) 6
scipp::units::sinh(scipp::units::Unit const&) 7
scipp::units::sqrt(scipp::units::Unit const&) 200
scipp::units::tanh(scipp::units::Unit const&) 3
scipp::units::acosh(scipp::units::Unit const&) 5
scipp::units::asinh(scipp::units::Unit const&) 3
scipp::units::atan2(scipp::units::Unit const&, scipp::units::Unit const&) 28
scipp::units::atanh(scipp::units::Unit const&) 3
scipp::units::floor(scipp::units::Unit const&) 7
scipp::units::identical(scipp::units::Unit const&, scipp::units::Unit const&) 11
scipp::units::operator/(scipp::units::Unit const&, scipp::units::Unit const&) 9518
scipp::units::operator-(scipp::units::Unit const&, scipp::units::Unit const&) 34721
scipp::units::operator*(scipp::units::Unit const&, scipp::units::Unit const&) 160790
scipp::units::operator-(scipp::units::Unit const&) 32099
scipp::units::operator+(scipp::units::Unit const&, scipp::units::Unit const&) 321566
scipp::units::operator%(scipp::units::Unit const&, scipp::units::Unit const&) 100
scipp::units::Unit::has_same_base(scipp::units::Unit const&) const 554
scipp::units::Unit::isCountDensity() const 8
scipp::units::Unit::name[abi:cxx11]() const 3348
scipp::units::Unit::isCounts() const 19
scipp::units::Unit::operator==(scipp::units::Unit const&) const 2946687
scipp::units::Unit::operator!=(scipp::units::Unit const&) const 2279477

Generated by: LCOV version 1.14