Skip to content

Feature/e2ee use hardware token secure storage #3516

Feature/e2ee use hardware token secure storage

Feature/e2ee use hardware token secure storage #3516

Triggered via pull request May 31, 2024 14:37
Status Success
Total duration 3m 40s
Artifacts

clang-format.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 10 warnings, and 10 notices
src/gui/folder.cpp:16:10 [clang-diagnostic-error]: src/gui/folder.cpp#L16
'common/syncjournaldb.h' file not found
src/gui/accountsettings.cpp:1139:43 [bugprone-easily-swappable-parameters]: src/gui/accountsettings.cpp#L1139
2 adjacent parameters of 'showConnectionLabel' of similar type are easily swapped by mistake
src/gui/accountsettings.cpp:1516:23 [readability-convert-member-functions-to-static]: src/gui/accountsettings.cpp#L1516
method 'slotE2eEncryptionCertificateNeedMigration' can be made static
src/gui/accountsettings.cpp:1524:23 [readability-convert-member-functions-to-static]: src/gui/accountsettings.cpp#L1524
method 'updateBlackListAndScheduleFolderSync' can be made static
src/gui/systray.cpp:322:15 [readability-convert-member-functions-to-static]: src/gui/systray.cpp#L322
method 'createEncryptionTokenDiscoveryDialog' can be made static
src/gui/systray.cpp:340:15 [readability-convert-member-functions-to-static]: src/gui/systray.cpp#L340
method 'destroyEncryptionTokenDiscoveryDialog' can be made static
src/gui/systray.cpp:350:15 [modernize-use-trailing-return-type]: src/gui/systray.cpp#L350
use a trailing return type for this function
src/libsync/clientsideencryption.cpp:2882:1 [cppcoreguidelines-pro-type-member-init]: src/libsync/clientsideencryption.cpp#L2882
constructor does not initialize these fields: _privateKeyData, _certificate
src/libsync/clientsideencryption.cpp:2887:1 [cppcoreguidelines-pro-type-member-init]: src/libsync/clientsideencryption.cpp#L2887
constructor does not initialize these fields: _privateKeyData, _certificate
src/libsync/clientsideencryption.cpp:2887:48 [bugprone-easily-swappable-parameters]: src/libsync/clientsideencryption.cpp#L2887
2 adjacent parameters of 'CertificateInformation' of similar type ('int *') are easily swapped by mistake
Run clang-format on src/common/syncjournaldb.cpp: src/common/syncjournaldb.cpp#L1
File src/common/syncjournaldb.cpp does not conform to Custom style guidelines. (lines 51, 71, 989, 991)
Run clang-format on src/csync/csync.h: src/csync/csync.h#L1
File src/csync/csync.h does not conform to Custom style guidelines. (lines 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 155, 157, 158)
Run clang-format on src/gui/accountsettings.cpp: src/gui/accountsettings.cpp#L1
File src/gui/accountsettings.cpp does not conform to Custom style guidelines. (lines 286, 287, 288, 289)
Run clang-format on src/gui/accountsettings.h: src/gui/accountsettings.h#L1
File src/gui/accountsettings.h does not conform to Custom style guidelines. (lines 65)
Run clang-format on src/gui/folder.cpp: src/gui/folder.cpp#L1
File src/gui/folder.cpp does not conform to Custom style guidelines. (lines 132)
Run clang-format on src/gui/owncloudgui.cpp: src/gui/owncloudgui.cpp#L1
File src/gui/owncloudgui.cpp does not conform to Custom style guidelines. (lines 139, 583)
Run clang-format on src/gui/settingsdialog.cpp: src/gui/settingsdialog.cpp#L1
File src/gui/settingsdialog.cpp does not conform to Custom style guidelines. (lines 214)
Run clang-format on src/gui/systray.cpp: src/gui/systray.cpp#L1
File src/gui/systray.cpp does not conform to Custom style guidelines. (lines 330)
Run clang-format on src/gui/systray.h: src/gui/systray.h#L1
File src/gui/systray.h does not conform to Custom style guidelines. (lines 200)
Run clang-format on src/gui/tray/activitylistmodel.cpp: src/gui/tray/activitylistmodel.cpp#L1
File src/gui/tray/activitylistmodel.cpp does not conform to Custom style guidelines. (lines 44, 53, 234, 376, 683, 684, 685, 686)