LCOV - code coverage report
Current view: top level - python - bind_units.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 125 144 86.8 %
Date: 2024-11-17 01:47:58 Functions: 23 25 92.0 %

Function Name Sort by function name Hit count Sort by hit count
(anonymous namespace)::repr_pretty(scipp::units::Unit const&, pybind11::object&, bool) 0
(anonymous namespace)::repr_html(scipp::units::Unit const&) 0
init_units(pybind11::module_&)::{lambda(scipp::units::Unit const&)#4}::operator()(scipp::units::Unit const&) const 1
init_units(pybind11::module_&)::{lambda(scipp::units::Unit const&)#5}::operator()(scipp::units::Unit const&) const 1
init_units(pybind11::module_&)::{lambda(scipp::units::Unit const&)#8}::operator()(scipp::units::Unit const&) const 1
init_units(pybind11::module_&)::{lambda(scipp::units::Unit const&)#9}::operator()(scipp::units::Unit const&) const 1
init_units(pybind11::module_&)::{lambda(scipp::units::Unit const&, double)#7}::operator()(scipp::units::Unit const&, double) const 1
init_units(pybind11::module_&)::{lambda(scipp::units::Unit const&, long)#6}::operator()(scipp::units::Unit const&, long) const 1
init_units(pybind11::module_&) 3
init_units(pybind11::module_&)::{lambda(scipp::units::Unit const&, scipp::units::Unit const&)#10}::operator()(scipp::units::Unit const&, scipp::units::Unit const&) const 11
init_units(pybind11::module_&)::{lambda(DefaultUnit const&)#1}::operator()(DefaultUnit const&) const 36
(anonymous namespace)::assert_supported_unit_for_dict(scipp::units::Unit const&) 138
(anonymous namespace)::to_dict(scipp::units::Unit const&) 138
(anonymous namespace)::repr(scipp::units::Unit const&) 144
(anonymous namespace)::assert_dict_version_supported(pybind11::dict const&) 152
(anonymous namespace)::from_dict(pybind11::typing::Dict<pybind11::str, pybind11::typing::Union<int, double, bool, pybind11::typing::Dict<pybind11::str, double> > > const&) 152
(anonymous namespace)::is_supported_unit(scipp::units::Unit const&) 282
auto (anonymous namespace)::to_dict(scipp::units::Unit const&)::{lambda(char const*, auto:1)#1}::operator()<bool>(char const*, bool) 552
auto (anonymous namespace)::repr(scipp::units::Unit const&)::{lambda(char const*, auto:1)#2}::operator()<bool>(char const*, bool) 576
bool (anonymous namespace)::get<bool>(pybind11::dict const&, char const*) 608
init_units(pybind11::module_&)::{lambda(scipp::units::Unit const&, long)#3}::operator()(scipp::units::Unit const&, long) const 640
init_units(pybind11::module_&)::{lambda(scipp::units::Unit const&)#2}::operator()(scipp::units::Unit const&) const 673
auto (anonymous namespace)::to_dict(scipp::units::Unit const&)::{lambda(char const*, auto:1)#2}::operator()<int>(char const*, int) 1380
auto (anonymous namespace)::repr(scipp::units::Unit const&)::{lambda(char const*, auto:1)#1}::operator()<int>(char const*, int) 1440
int (anonymous namespace)::get<int>(pybind11::dict const&, char const*) 1520

Generated by: LCOV version 1.14