LCOV - code coverage report
Current view: top level - python - dtype.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 148 163 90.8 %
Date: 2024-11-17 01:47:58 Functions: 19 19 100.0 %

Function Name Sort by function name Hit count Sort by hit count
init_dtype(pybind11::module_&) 3
scipp_dtype(pybind11::dtype const&) 40562
scipp_dtype(pybind11::object const&) 104112
common_dtype(pybind11::object const&, pybind11::object const&, scipp::core::DType, scipp::core::DType) 39764
has_datetime_dtype(pybind11::object const&) 612
cast_dtype_and_unit(pybind11::object const&, std::variant<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::units::Unit, pybind11::none, DefaultUnit> const&) 45003
parse_datetime_dtype(pybind11::object const&) 1420
parse_datetime_dtype(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 1421
dtype_from_scipp_class(pybind11::object const&) 9
ensure_conversion_possible(scipp::core::DType, scipp::core::DType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 4089
dtype_of(pybind11::object const&) 81505
(anonymous namespace)::is_default(std::variant<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::units::Unit, pybind11::none, DefaultUnit> const&) 44997
(anonymous namespace)::operator==(char, (anonymous namespace)::DTypeKind) 115214
(anonymous namespace)::operator==(long, (anonymous namespace)::DTypeSize) 43436
init_dtype(pybind11::module_&)::{lambda(scipp::core::DType const&)#3}::operator()(scipp::core::DType const&) const 1695
init_dtype(pybind11::module_&)::{lambda(scipp::core::DType const&)#4}::operator()(scipp::core::DType const&) const 30
init_dtype(pybind11::module_&)::{lambda(scipp::core::DType const&, pybind11::object const&)#2}::operator()(scipp::core::DType const&, pybind11::object const&) const 32138
init_dtype(pybind11::module_&)::{lambda(pybind11::object const&)#5}::operator()(pybind11::object const&) const 20591
init_dtype(pybind11::module_&)::{lambda(pybind11::object const&)#1}::operator()(pybind11::object const&) const 29

Generated by: LCOV version 1.14