LCOV - code coverage report
Current view: top level - dataset - data_array.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 147 152 96.7 %
Date: 2024-11-24 01:48:31 Functions: 29 29 100.0 %

Function Name Sort by function name Hit count Sort by hit count
scipp::dataset::equals_nan(scipp::dataset::DataArray const&, scipp::dataset::DataArray const&) 325
auto scipp::dataset::(anonymous namespace)::copy_shared<scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> >(std::shared_ptr<scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> > const&) 503596
auto scipp::dataset::(anonymous namespace)::copy_shared<scipp::dataset::SizedDict<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::variable::Variable> >(std::shared_ptr<scipp::dataset::SizedDict<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::variable::Variable> > const&) 251798
auto scipp::dataset::(anonymous namespace)::copy_shared<scipp::variable::Variable>(std::shared_ptr<scipp::variable::Variable> const&) 251798
void scipp::dataset::(anonymous namespace)::expect_writable<scipp::dataset::DataArray>(scipp::dataset::DataArray const&) 229
scipp::dataset::DataArray::setData(scipp::variable::Variable const&) 484
scipp::dataset::DataArray::setName(std::basic_string_view<char, std::char_traits<char> >) 21
scipp::dataset::DataArray::setSlice(scipp::core::Slice const&, scipp::variable::Variable const&) 44
scipp::dataset::DataArray::setSlice(scipp::core::Slice const&, scipp::dataset::DataArray const&) 45
scipp::dataset::DataArray::DataArray(scipp::variable::Variable, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>, scipp::dataset::SizedDict<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::variable::Variable>, scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable>, std::basic_string_view<char, std::char_traits<char> >) 19291
scipp::dataset::DataArray::DataArray(scipp::variable::Variable, scipp::core::Dict<scipp::units::Dim, scipp::variable::Variable>, scipp::core::Dict<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scipp::variable::Variable>, scipp::core::Dict<scipp::units::Dim, scipp::variable::Variable>, std::basic_string_view<char, std::char_traits<char> >) 139944
scipp::dataset::DataArray::DataArray(scipp::dataset::DataArray const&) 251798
scipp::dataset::DataArray::DataArray(scipp::dataset::DataArray const&, scipp::dataset::AttrPolicy) 251798
scipp::dataset::DataArray::operator=(scipp::dataset::DataArray&&) 48350
scipp::dataset::DataArray::operator=(scipp::dataset::DataArray const&) 67
scipp::dataset::operator==(scipp::dataset::DataArray const&, scipp::dataset::DataArray const&) 5930
scipp::dataset::operator!=(scipp::dataset::DataArray const&, scipp::dataset::DataArray const&) 1059
scipp::dataset::DataArray::drop_attrs(scipp::span<scipp::units::Dim const, 18446744073709551615ul>) const 8
scipp::dataset::DataArray::drop_masks(scipp::span<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, 18446744073709551615ul>) const 9
scipp::dataset::DataArray::drop_coords(scipp::span<scipp::units::Dim const, 18446744073709551615ul>) const 252
scipp::dataset::DataArray::is_readonly() const 230
scipp::dataset::DataArray::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 286
scipp::dataset::DataArray::validateSlice(scipp::core::Slice const&, scipp::dataset::DataArray const&) const 18
scipp::dataset::DataArray::view_with_coords(scipp::dataset::SizedDict<scipp::units::Dim, scipp::variable::Variable> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) const 7519
scipp::dataset::DataArray::meta() const 48482
scipp::dataset::DataArray::name[abi:cxx11]() const 75781
scipp::dataset::DataArray::view() const 1
scipp::dataset::DataArray::slice(scipp::core::Slice const&) const 9196
scipp::dataset::DataArray::as_const() const 2

Generated by: LCOV version 1.14