LCOV - code coverage report
Current view: top level - variable - variable.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 202 210 96.2 %
Date: 2024-12-01 01:56:34 Functions: 46 47 97.9 %

Function Name Sort by function name Hit count Sort by hit count
scipp::variable::equals_nan(scipp::variable::Variable const&, scipp::variable::Variable const&) 3859
scipp::variable::(anonymous namespace)::check_nested_in_assign(scipp::variable::Variable const&, scipp::variable::Variable const&) 1804412
bool scipp::variable::(anonymous namespace)::is_default_dimensionless<double, float, long, int, scipp::core::time_point, Eigen::Matrix<double, 3, 1, 0, 3, 1>, Eigen::Matrix<double, 3, 3, 0, 3, 3>, Eigen::Transform<double, 3, 2, 0>, scipp::core::Quaternion, scipp::core::Translation>(scipp::core::DType, std::tuple<double, float, long, int, scipp::core::time_point, Eigen::Matrix<double, 3, 1, 0, 3, 1>, Eigen::Matrix<double, 3, 3, 0, 3, 3>, Eigen::Transform<double, 3, 2, 0>, scipp::core::Quaternion, scipp::core::Translation>) 202585
scipp::variable::(anonymous namespace)::compare(scipp::variable::Variable const&, scipp::variable::Variable const&, bool) 424263
scipp::variable::default_unit_for(scipp::core::DType) 202585
scipp::variable::detail::throw_keyword_arg_constructor_bad_dtype(scipp::core::DType) 0
scipp::variable::Variable::set_aligned(bool) 414351
scipp::variable::Variable::setVariances(scipp::variable::Variable const&) 3585
scipp::variable::Variable::setDataHandle(std::shared_ptr<scipp::variable::VariableConcept>) 164276
scipp::variable::Variable::setUnit(scipp::units::Unit const&) 867315
scipp::variable::Variable::setSlice(scipp::core::Slice, scipp::variable::Variable const&) 3929
scipp::variable::Variable::Variable(llnl::units::precise_measurement const&) 2
scipp::variable::Variable::Variable(scipp::core::Dimensions const&, std::shared_ptr<scipp::variable::VariableConcept>) 1714731
scipp::variable::Variable::Variable(scipp::variable::Variable const&, scipp::core::Dimensions const&) 43329
scipp::variable::Variable::operator=(scipp::variable::Variable&&) 1804387
scipp::variable::Variable::operator=(scipp::variable::Variable const&) 884
scipp::variable::Variable::is_aligned() const 364724
scipp::variable::Variable::bin_indices() const 968073
scipp::variable::Variable::data_handle() const 211189
scipp::variable::Variable::is_readonly() const 137723
scipp::variable::Variable::rename_dims(std::vector<std::pair<scipp::units::Dim, scipp::units::Dim>, std::allocator<std::pair<scipp::units::Dim, scipp::units::Dim> > > const&, bool) const 1990
scipp::variable::Variable::array_params() const 8304311
scipp::variable::Variable::has_variances() const 9336201
scipp::variable::Variable::validateSlice(scipp::core::Slice const&, scipp::variable::Variable const&) const 3990
scipp::variable::Variable::expect_writable() const 4566173
scipp::variable::Variable::expect_can_set_unit(scipp::units::Unit const&) const 1337596
scipp::variable::Variable::dim() const 40504
scipp::variable::Variable::dims() const 22886633
scipp::variable::Variable::fold(scipp::units::Dim, scipp::core::Dimensions const&) const 259
scipp::variable::Variable::ndim() const 170939
scipp::variable::Variable::unit() const 6420701
scipp::variable::Variable::dtype() const 53704129
scipp::variable::Variable::slice(scipp::core::Slice) const 809378
scipp::variable::Variable::offset() const 9
scipp::variable::Variable::stride(scipp::units::Dim) const 803813
scipp::variable::Variable::is_same(scipp::variable::Variable const&) const 7033
scipp::variable::Variable::strides() const 442708
scipp::variable::Variable::as_const() const 71992
scipp::variable::Variable::is_slice() const 73207
scipp::variable::Variable::is_valid() const 26246831
scipp::variable::Variable::broadcast(scipp::core::Dimensions const&) const 84716
scipp::variable::Variable::transpose(scipp::span<scipp::units::Dim const, 18446744073709551615ul>) const 7453
scipp::variable::Variable::operator==(scipp::variable::Variable const&) const 420404
scipp::variable::Variable::operator!=(scipp::variable::Variable const&) const 7566
scipp::variable::Variable::data() const & 70699536
scipp::variable::Variable::data() & 3695273
auto scipp::variable::Variable::validateSlice(scipp::core::Slice const&, scipp::variable::Variable const&) const::{lambda(auto:1 const&)#1}::operator()<scipp::variable::Variable>(scipp::variable::Variable const&) const 2

Generated by: LCOV version 1.14