Skip to content

Feature/client status reporting #2712

Feature/client status reporting

Feature/client status reporting #2712

Triggered via pull request December 7, 2023 11:04
Status Success
Total duration 9m 50s
Artifacts

clang-format.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 9 warnings, and 10 notices
/src/libsync/clientstatusreportingdatabase.cpp:27:1 [cppcoreguidelines-avoid-non-const-global-variables]: src/libsync/clientstatusreportingdatabase.cpp#L27
variable 'Q_LOGGING_CATEGORY' is non-const and globally accessible, consider making it const
/test/testclientstatusreporting.cpp:25:19 [cppcoreguidelines-avoid-non-const-global-variables]: test/testclientstatusreporting.cpp#L25
variable 'fake200Response' is non-const and globally accessible, consider making it const
/test/testclientstatusreporting.cpp:25:19 [readability-static-definition-in-anonymous-namespace]: test/testclientstatusreporting.cpp#L25
'fake200Response' is a static definition in anonymous namespace; static is redundant here
/test/testclientstatusreporting.cpp:28:7 [cppcoreguidelines-pro-type-member-init]: test/testclientstatusreporting.cpp#L28
constructor does not initialize these fields: fakeQnam, account, accountState, dbFilePath, bodyReceivedAndParsed,
/test/testclientstatusreporting.cpp:147:12 [cppcoreguidelines-avoid-non-const-global-variables]: test/testclientstatusreporting.cpp#L147
variable 'TestClientStatusReporting' is non-const and globally accessible, consider making it const
Run clang-format on src/libsync/clientstatusreporting.h: src/libsync/clientstatusreporting.h#L1
File src/libsync/clientstatusreporting.h does not conform to Custom style guidelines. (lines 16, 26)
Run clang-format on src/libsync/clientstatusreportingcommon.cpp: src/libsync/clientstatusreportingcommon.cpp#L1
File src/libsync/clientstatusreportingcommon.cpp does not conform to Custom style guidelines. (lines 18)
Run clang-format on src/libsync/clientstatusreportingcommon.h: src/libsync/clientstatusreportingcommon.h#L1
File src/libsync/clientstatusreportingcommon.h does not conform to Custom style guidelines. (lines 19)
Run clang-format on src/libsync/clientstatusreportingdatabase.cpp: src/libsync/clientstatusreportingdatabase.cpp#L1
File src/libsync/clientstatusreportingdatabase.cpp does not conform to Custom style guidelines. (lines 119, 120, 194, 201)
Run clang-format on src/libsync/clientstatusreportingdatabase.h: src/libsync/clientstatusreportingdatabase.h#L1
File src/libsync/clientstatusreportingdatabase.h does not conform to Custom style guidelines. (lines 16, 21, 31, 57)
Run clang-format on src/libsync/clientstatusreportingnetwork.cpp: src/libsync/clientstatusreportingnetwork.cpp#L1
File src/libsync/clientstatusreportingnetwork.cpp does not conform to Custom style guidelines. (lines 138)
Run clang-format on src/libsync/clientstatusreportingnetwork.h: src/libsync/clientstatusreportingnetwork.h#L1
File src/libsync/clientstatusreportingnetwork.h does not conform to Custom style guidelines. (lines 16, 20, 28)
Run clang-format on src/libsync/clientstatusreportingrecord.h: src/libsync/clientstatusreportingrecord.h#L1
File src/libsync/clientstatusreportingrecord.h does not conform to Custom style guidelines. (lines 17)
Run clang-format on src/libsync/owncloudpropagator.cpp: src/libsync/owncloudpropagator.cpp#L1
File src/libsync/owncloudpropagator.cpp does not conform to Custom style guidelines. (lines 359, 362, 364)
Run clang-format on src/libsync/owncloudpropagator_p.h: src/libsync/owncloudpropagator_p.h#L1
File src/libsync/owncloudpropagator_p.h does not conform to Custom style guidelines. (lines 66)