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-11-17 01:47:58 Functions: 46 47 97.9 %

Function Name Sort by function name Hit count Sort by hit count
scipp::variable::detail::throw_keyword_arg_constructor_bad_dtype(scipp::core::DType) 0
scipp::variable::Variable::Variable(llnl::units::precise_measurement const&) 2
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
scipp::variable::Variable::offset() const 9
scipp::variable::Variable::fold(scipp::units::Dim, scipp::core::Dimensions const&) const 259
scipp::variable::Variable::operator=(scipp::variable::Variable const&) 884
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::setVariances(scipp::variable::Variable const&) 3593
scipp::variable::equals_nan(scipp::variable::Variable const&, scipp::variable::Variable const&) 3853
scipp::variable::Variable::setSlice(scipp::core::Slice, scipp::variable::Variable const&) 3929
scipp::variable::Variable::validateSlice(scipp::core::Slice const&, scipp::variable::Variable const&) const 3990
scipp::variable::Variable::transpose(scipp::span<scipp::units::Dim const, 18446744073709551615ul>) const 6554
scipp::variable::Variable::is_same(scipp::variable::Variable const&) const 6916
scipp::variable::Variable::operator!=(scipp::variable::Variable const&) const 7566
scipp::variable::Variable::dim() const 40521
scipp::variable::Variable::Variable(scipp::variable::Variable const&, scipp::core::Dimensions const&) 42628
scipp::variable::Variable::as_const() const 70679
scipp::variable::Variable::is_slice() const 73251
scipp::variable::Variable::broadcast(scipp::core::Dimensions const&) const 83014
scipp::variable::Variable::is_readonly() const 137754
scipp::variable::Variable::setDataHandle(std::shared_ptr<scipp::variable::VariableConcept>) 161946
scipp::variable::Variable::ndim() const 167852
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>) 202589
scipp::variable::default_unit_for(scipp::core::DType) 202589
scipp::variable::Variable::data_handle() const 208898
scipp::variable::Variable::is_aligned() const 361618
scipp::variable::Variable::set_aligned(bool) 409970
scipp::variable::Variable::operator==(scipp::variable::Variable const&) const 420030
scipp::variable::(anonymous namespace)::compare(scipp::variable::Variable const&, scipp::variable::Variable const&, bool) 423883
scipp::variable::Variable::strides() const 431783
scipp::variable::Variable::stride(scipp::units::Dim) const 803807
scipp::variable::Variable::slice(scipp::core::Slice) const 808664
scipp::variable::Variable::setUnit(scipp::units::Unit const&) 865313
scipp::variable::Variable::bin_indices() const 952707
scipp::variable::Variable::expect_can_set_unit(scipp::units::Unit const&) const 1334461
scipp::variable::Variable::Variable(scipp::core::Dimensions const&, std::shared_ptr<scipp::variable::VariableConcept>) 1709954
scipp::variable::Variable::operator=(scipp::variable::Variable&&) 1802145
scipp::variable::(anonymous namespace)::check_nested_in_assign(scipp::variable::Variable const&, scipp::variable::Variable const&) 1802170
scipp::variable::Variable::data() & 3682226
scipp::variable::Variable::expect_writable() const 4551132
scipp::variable::Variable::unit() const 6405927
scipp::variable::Variable::array_params() const 8276857
scipp::variable::Variable::has_variances() const 9322985
scipp::variable::Variable::dims() const 22778467
scipp::variable::Variable::is_valid() const 26130519
scipp::variable::Variable::dtype() const 53576119
scipp::variable::Variable::data() const & 70507645

Generated by: LCOV version 1.14