Skip to content

Fixed copy semantic of arrays #1268

Fixed copy semantic of arrays

Fixed copy semantic of arrays #1268

Triggered via pull request October 22, 2024 03:40
Status Success
Total duration 5m 54s
Artifacts

analysis.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 10 warnings, and 10 notices
test/test_utils.hpp:10:54 [cppcoreguidelines-missing-std-forward]: test/test_utils.hpp#L10
forwarding reference parameter 'array' is never forwarded inside the function body
test/external_array_data_creation.hpp:38:9 [cppcoreguidelines-owning-memory]: test/external_array_data_creation.hpp#L38
initializing non-owner 'std::uint8_t *' (aka 'unsigned char *') with a newly created 'gsl::owner<>'
test/external_array_data_creation.hpp:75:9 [cppcoreguidelines-owning-memory]: test/external_array_data_creation.hpp#L75
initializing non-owner 'std::uint8_t *' (aka 'unsigned char *') with a newly created 'gsl::owner<>'
test/external_array_data_creation.hpp:102:9 [cppcoreguidelines-owning-memory]: test/external_array_data_creation.hpp#L102
initializing non-owner 'std::uint8_t **' (aka 'unsigned char **') with a newly created 'gsl::owner<>'
test/external_array_data_creation.hpp:102:9 [modernize-use-auto]: test/external_array_data_creation.hpp#L102
use auto when initializing with new to avoid duplicating the type name
test/external_array_data_creation.hpp:107:9 [cppcoreguidelines-owning-memory]: test/external_array_data_creation.hpp#L107
initializing non-owner 'T *' with a newly created 'gsl::owner<>'
Run clang-format on test/test_utils.hpp: test/test_utils.hpp#L1
File test/test_utils.hpp does not conform to Custom style guidelines. (lines 2, 9, 10, 15, 20, 24, 29, 30, 32, 35, 36, 37)
Run clang-format on test/external_array_data_creation.hpp: test/external_array_data_creation.hpp#L1
File test/external_array_data_creation.hpp does not conform to Custom style guidelines. (lines 17, 260, 261, 270, 286, 287, 288, 289, 298, 299, 307, 308, 309, 310)
Run clang-format on test/junit_xml_writer.hpp: test/junit_xml_writer.hpp#L1
File test/junit_xml_writer.hpp does not conform to Custom style guidelines. (lines 69, 183)
Run clang-format on include/sparrow/array_factory.hpp: include/sparrow/array_factory.hpp#L1
File include/sparrow/array_factory.hpp does not conform to Custom style guidelines. (lines 26)
Run clang-format on include/sparrow/array.hpp: include/sparrow/array.hpp#L1
File include/sparrow/array.hpp does not conform to Custom style guidelines. (lines 31, 37, 54)
Run clang-format on include/sparrow/arrow_array_schema_proxy.hpp: include/sparrow/arrow_array_schema_proxy.hpp#L1
File include/sparrow/arrow_array_schema_proxy.hpp does not conform to Custom style guidelines. (lines 138)
Run clang-format on include/sparrow/types/data_type.hpp: include/sparrow/types/data_type.hpp#L1
File include/sparrow/types/data_type.hpp does not conform to Custom style guidelines. (lines 27, 315, 318, 319, 320, 321, 325, 327, 328, 329, 351, 352, 353, 354, 364, 365, 366, 367, 466, 526, 539, 540, 608)
Run clang-format on include/sparrow/types/data_traits.hpp: include/sparrow/types/data_traits.hpp#L1
File include/sparrow/types/data_traits.hpp does not conform to Custom style guidelines. (lines 46, 87, 110, 117, 118, 119, 120, 122, 123, 124, 125, 126, 127)
Run clang-format on include/sparrow/arrow_interface/arrow_array_schema_info_utils.hpp: include/sparrow/arrow_interface/arrow_array_schema_info_utils.hpp#L1
File include/sparrow/arrow_interface/arrow_array_schema_info_utils.hpp does not conform to Custom style guidelines. (lines 29, 77, 79, 85, 86, 99)
Run clang-format on include/sparrow/arrow_interface/arrow_array.hpp: include/sparrow/arrow_interface/arrow_array.hpp#L1
File include/sparrow/arrow_interface/arrow_array.hpp does not conform to Custom style guidelines. (lines 23)