Skip to content

feat: add LDValue_SerializeJSON C binding #1905

feat: add LDValue_SerializeJSON C binding

feat: add LDValue_SerializeJSON C binding #1905

Triggered via pull request October 17, 2024 01:41
Status Success
Total duration 3m 58s
Artifacts

cpp-linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 4 notices
/libs/client-sdk/src/data_sources/data_source_event_handler.cpp:85:5 [bugprone-easily-swappable-parameters]: libs/client-sdk/src/data_sources/data_source_event_handler.cpp#L85
2 adjacent parameters of 'HandleMessage' of similar type ('const std::string &') are easily swapped by mistake
/libs/client-sdk/src/flag_manager/flag_persistence.cpp:38:21 [performance-unnecessary-value-param]: libs/client-sdk/src/flag_manager/flag_persistence.cpp#L38
parameter 'time_stamper' is passed by value and only copied once; consider moving it to avoid unnecessary copies
/libs/client-sdk/src/flag_manager/flag_persistence.cpp:129:60 [performance-move-const-arg]: libs/client-sdk/src/flag_manager/flag_persistence.cpp#L129
passing result of std::move() as a const reference argument; no move will actually happen
/libs/client-sdk/src/flag_manager/flag_persistence.cpp:133:12 [modernize-return-braced-init-list]: libs/client-sdk/src/flag_manager/flag_persistence.cpp#L133
avoid repeating the return type from the declaration; use a braced initializer list instead
Run clang-format on libs/client-sdk/src/data_sources/data_source_event_handler.cpp: libs/client-sdk/src/data_sources/data_source_event_handler.cpp#L1
File libs/client-sdk/src/data_sources/data_source_event_handler.cpp does not conform to Custom style guidelines. (lines 3)
Run clang-format on libs/client-sdk/src/flag_manager/flag_persistence.cpp: libs/client-sdk/src/flag_manager/flag_persistence.cpp#L1
File libs/client-sdk/src/flag_manager/flag_persistence.cpp does not conform to Custom style guidelines. (lines 6)
Run clang-format on libs/internal/src/serialization/json_context.cpp: libs/internal/src/serialization/json_context.cpp#L1
File libs/internal/src/serialization/json_context.cpp does not conform to Custom style guidelines. (lines 1)
Run clang-format on libs/server-sdk/src/integrations/data_reader/kinds.cpp: libs/server-sdk/src/integrations/data_reader/kinds.cpp#L1
File libs/server-sdk/src/integrations/data_reader/kinds.cpp does not conform to Custom style guidelines. (lines 3)