LCOV - code coverage report
Current view: top level - python - unit.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 34 63 54.0 %
Date: 2024-11-17 01:47:58 Functions: 11 15 73.3 %

Function Name Sort by function name Hit count Sort by hit count
get_time_unit(pybind11::buffer const&, pybind11::object const&, scipp::units::Unit) 0
get_time_unit(std::optional<scipp::units::Unit>, std::optional<scipp::units::Unit>, scipp::units::Unit) 0
to_numpy_time_string(std::variant<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::units::Unit, pybind11::none, DefaultUnit> const&)::{lambda(scipp::units::Unit const&)#1}::operator()(scipp::units::Unit const&) const 0
auto to_numpy_time_string(std::variant<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::units::Unit, pybind11::none, DefaultUnit> const&)::{lambda(auto:1 const&)#3}::operator()<pybind11::none>(pybind11::none const&) const 0
auto to_numpy_time_string(std::variant<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::units::Unit, pybind11::none, DefaultUnit> const&)::{lambda(auto:1 const&)#3}::operator()<DefaultUnit>(DefaultUnit const&) const 1
to_numpy_time_string(std::variant<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::units::Unit, pybind11::none, DefaultUnit> const&)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#2}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 14
to_numpy_time_string(std::variant<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::units::Unit, pybind11::none, DefaultUnit> const&) 15
to_numpy_time_string[abi:cxx11](scipp::units::Unit) 209
std::tuple<scipp::units::Unit, scipp::units::Unit> common_unit<scipp::core::time_point>(pybind11::object const&, scipp::units::Unit) 613
(anonymous namespace)::temporal_or_dimensionless(scipp::units::Unit) 613
unit_or_default(std::variant<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::units::Unit, pybind11::none, DefaultUnit> const&, scipp::core::DType)::{lambda(pybind11::none const&)#2}::operator()(pybind11::none const&) const 1418
unit_or_default(std::variant<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::units::Unit, pybind11::none, DefaultUnit> const&, scipp::core::DType)::{lambda(DefaultUnit)#1}::operator()(DefaultUnit) const 1753
unit_or_default(std::variant<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::units::Unit, pybind11::none, DefaultUnit> const&, scipp::core::DType)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#3}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 14016
unit_or_default(std::variant<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::units::Unit, pybind11::none, DefaultUnit> const&, scipp::core::DType)::{lambda(scipp::units::Unit const&)#4}::operator()(scipp::units::Unit const&) const 35587
unit_or_default(std::variant<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::units::Unit, pybind11::none, DefaultUnit> const&, scipp::core::DType) 52774

Generated by: LCOV version 1.14