-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
24 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3fa204e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cpp-Linter Report⚠️
Some files did not pass the configured checks!
clang-format reports: 4 file(s) not formatted
clang-tidy reports: 4513 concern(s)
src/client/QXmppIqHandling.cpp:7:22: warning: [cppcoreguidelines-avoid-non-const-global-variables]
src/client/QXmppCall.cpp:24:1: warning: [cppcoreguidelines-pro-type-member-init]
QXmppCallPrivate::QXmppCallPrivate(QXmppCall *qq) ^
src/client/QXmppCall.cpp:24:47: warning: [readability-identifier-length]
QXmppCallPrivate::QXmppCallPrivate(QXmppCall *qq) ^
src/client/QXmppCall.cpp:26:15: warning: [modernize-use-nullptr]
src/client/QXmppCall.cpp:36:5: warning: [cppcoreguidelines-prefer-member-initializer]
pipeline = gst_pipeline_new(nullptr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/QXmppCall.cpp:37:10: warning: [readability-implicit-bool-conversion]
src/client/QXmppCall.cpp:42:10: warning: [readability-implicit-bool-conversion]
src/client/QXmppCall.cpp:52:63: warning: [readability-identifier-length]
G_CALLBACK(+[](QXmppCallPrivate *p, GstPad *pad) { ^
src/client/QXmppCall.cpp:57:63: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:57:66: warning: [bugprone-easily-swappable-parameters]
src/client/QXmppCall.cpp:57:66: warning: [bugprone-easily-swappable-parameters]
src/client/QXmppCall.cpp:57:87: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:62:63: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:62:66: warning: [bugprone-easily-swappable-parameters]
src/client/QXmppCall.cpp:62:66: warning: [bugprone-easily-swappable-parameters]
src/client/QXmppCall.cpp:82:35: warning: [bugprone-easily-swappable-parameters]
src/client/QXmppCall.cpp:85:17: warning: [cppcoreguidelines-init-variables]
GstElement *rtpSession; ^ = nullptr
src/client/QXmppCall.cpp:103:9: warning: [readability-qualified-auto]
src/client/QXmppCall.cpp:112:13: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:113:9: warning: [readability-qualified-auto]
src/client/QXmppCall.cpp:114:45: warning: [bugprone-branch-clone]
src/client/QXmppCall.cpp:132:28: warning: [modernize-use-trailing-return-type]
src/client/QXmppCall.cpp:132:34: warning: [bugprone-easily-swappable-parameters]
src/client/QXmppCall.cpp:148:24: warning: [modernize-use-trailing-return-type]
src/client/QXmppCall.cpp:148:24: warning: [readability-convert-member-functions-to-static]
src/client/QXmppCall.cpp:150:24: warning: [cppcoreguidelines-init-variables]
GstElementFactory *factory; ^ = nullptr
src/client/QXmppCall.cpp:159:24: warning: [readability-convert-member-functions-to-static]
src/client/QXmppCall.cpp:161:10: warning: [readability-identifier-length]
auto it = formats.begin(); ^
src/client/QXmppCall.cpp:163:14: warning: [cppcoreguidelines-init-variables]
src/client/QXmppCall.cpp:175:36: warning: [modernize-use-trailing-return-type]
src/client/QXmppCall.cpp:175:36: warning: [readability-convert-member-functions-to-static]
src/client/QXmppCall.cpp:185:36: warning: [modernize-use-trailing-return-type]
src/client/QXmppCall.cpp:185:36: warning: [readability-convert-member-functions-to-static]
src/client/QXmppCall.cpp:195:36: warning: [modernize-use-trailing-return-type]
src/client/QXmppCall.cpp:195:36: warning: [readability-convert-member-functions-to-static]
src/client/QXmppCall.cpp:195:61: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:205:24: warning: [readability-convert-member-functions-to-static]
src/client/QXmppCall.cpp:207:19: warning: [cppcoreguidelines-init-variables]
src/client/QXmppCall.cpp:207:19: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:223:24: warning: [modernize-use-trailing-return-type]
src/client/QXmppCall.cpp:223:24: warning: [readability-convert-member-functions-to-static]
src/client/QXmppCall.cpp:226:10: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:269:16: warning: [readability-simplify-boolean-expr]
src/client/QXmppCall.cpp:275:24: warning: [modernize-use-trailing-return-type]
src/client/QXmppCall.cpp:275:24: warning: [readability-convert-member-functions-to-static]
src/client/QXmppCall.cpp:291:59: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:306:26: warning: [cppcoreguidelines-init-variables]
QXmppCallStream *stream = findStreamByName(content.name()); ^ = nullptr
src/client/QXmppCall.cpp:339:26: warning: [cppcoreguidelines-init-variables]
QXmppCallStream *stream = findStreamByName(content.name()); ^ = nullptr
src/client/QXmppCall.cpp:354:26: warning: [cppcoreguidelines-init-variables]
QXmppCallStream *stream = findStreamByName(content.name()); ^ = nullptr
src/client/QXmppCall.cpp:355:13: warning: [readability-implicit-bool-conversion]
src/client/QXmppCall.cpp:361:14: warning: [readability-implicit-bool-conversion]
src/client/QXmppCall.cpp:370:27: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:378:13: warning: [cppcoreguidelines-owning-memory]
src/client/QXmppCall.cpp:383:23: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:397:26: warning: [cppcoreguidelines-init-variables]
QXmppCallStream *stream = findStreamByName(content.name()); ^ = nullptr
src/client/QXmppCall.cpp:406:36: warning: [modernize-use-trailing-return-type]
src/client/QXmppCall.cpp:406:49: warning: [bugprone-easily-swappable-parameters]
src/client/QXmppCall.cpp:420:11: warning: [cppcoreguidelines-init-variables]
src/client/QXmppCall.cpp:448:12: warning: [cppcoreguidelines-init-variables]
src/client/QXmppCall.cpp:448:12: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:453:42: warning: [modernize-use-trailing-return-type]
src/client/QXmppCall.cpp:455:28: warning: [cppcoreguidelines-init-variables]
QXmppJingleIq::Content content; ^ = 0
src/client/QXmppCall.cpp:476:24: warning: [modernize-use-trailing-return-type]
src/client/QXmppCall.cpp:476:53: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:485:24: warning: [modernize-use-trailing-return-type]
src/client/QXmppCall.cpp:488:22: warning: [cppcoreguidelines-init-variables]
QXmppCallStream *stream = findStreamByMedia(AUDIO_MEDIA); ^ = nullptr
src/client/QXmppCall.cpp:491:19: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:504:24: warning: [modernize-use-trailing-return-type]
src/client/QXmppCall.cpp:504:57: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:510:24: warning: [readability-convert-member-functions-to-static]
src/client/QXmppCall.cpp:514:16: warning: [cppcoreguidelines-init-variables]
src/client/QXmppCall.cpp:514:16: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:517:20: warning: [cppcoreguidelines-init-variables]
src/client/QXmppCall.cpp:517:20: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:519:20: warning: [cppcoreguidelines-init-variables]
src/client/QXmppCall.cpp:519:20: warning: [readability-identifier-length]
src/client/QXmppCall.cpp:535:19: warning: [readability-identifier-length]
src/client/QXmppCallInviteManager.cpp:22:5: warning: [cppcoreguidelines-pro-type-member-init]
QXmppCallInvitePrivate(QXmppCallInviteManager *manager) ^
src/client/QXmppCallInviteManager.cpp:27:27: warning: [modernize-use-trailing-return-type]
QXmppTask<SendResult> request(QXmppCallInviteElement &&callInviteElement); ^
src/client/QXmppCallInviteManager.cpp:39:47: warning: [modernize-use-trailing-return-type]
QXmppTask<SendResult> QXmppCallInvitePrivate::request(QXmppCallInviteElement &&callInviteElement) ^
src/client/QXmppCallInviteManager.cpp:201:7: warning: [cppcoreguidelines-pro-type-member-init]
src/client/QXmppMamManager.cpp:28:21: warning: [cppcoreguidelines-init-variables]
QVector<Output> output; ^ = 0
src/client/QXmppMamManager.cpp:35:19: warning: [readability-identifier-length]
src/client/QXmppMamManager.cpp:40:8: warning: [cppcoreguidelines-pro-type-member-init]
src/client/QXmppMamManager.cpp:49:14: warning: [modernize-use-trailing-return-type]
src/client/QXmppMamManager.cpp:51:18: warning: [readability-identifier-length]
src/client/QXmppMamManager.cpp:59:48: warning: [modernize-use-trailing-return-type]
src/client/QXmppMamManager.cpp:89:8: warning: [cppcoreguidelines-pro-type-member-init]
src/client/QXmppMamManager.cpp:107:7: warning: [cppcoreguidelines-pro-type-member-init]
src/client/QXmppMamManager.cpp:183:24: warning: [modernize-use-trailing-return-type]
src/client/QXmppMamManager.cpp:183:37: warning: [bugprone-easily-swappable-parameters]
src/client/QXmppMamManager.cpp:190:33: warning: [cppcoreguidelines-init-variables]
QList<QXmppDataForm::Field> fields; ^ = 0
src/client/QXmppMamManager.cpp:198:30: warning: [cppcoreguidelines-init-variables]
QXmppDataForm::Field jidField; ^ = 0
src/client/QXmppMamManager.cpp:205:30: warning: [cppcoreguidelines-init-variables]
QXmppDataForm::Field startField; ^ = 0
src/client/QXmppMamManager.cpp:212:30: warning: [cppcoreguidelines-init-variables]
QXmppDataForm::Field endField; ^ = 0
src/client/QXmppMamManager.cpp:218:19: warning: [cppcoreguidelines-init-variables]
QXmppDataForm form; ^ = 0
src/client/QXmppMamManager.cpp:222:21: warning: [cppcoreguidelines-init-variables]
QXmppMamQueryIq queryIq; ^ = 0
src/client/QXmppMamManager.cpp:223:13: warning: [cppcoreguidelines-init-variables]
src/client/QXmppVersionManager.cpp:18:7: warning: [cppcoreguidelines-pro-type-member-init]
src/client/QXmppClient.cpp:38:13: warning: [modernize-use-trailing-return-type]
src/client/QXmppClient.cpp:38:45: warning: [readability-identifier-length]
src/client/QXmppClient.cpp:45:1: warning: [cppcoreguidelines-pro-type-member-init]
QXmppClientPrivate::QXmppClientPrivate(QXmppClient *qq) ^
src/client/QXmppClient.cpp:45:53: warning: [readability-identifier-length]
QXmppClientPrivate::QXmppClientPrivate(QXmppClient *qq) ^
src/client/QXmppClient.cpp:68:25: warning: [modernize-use-trailing-return-type]
src/client/QXmppClient.cpp:72:7: warning: [readability-else-after-return]
src/client/QXmppClient.cpp:81:33: warning: [modernize-use-trailing-return-type]
QStringList QXmppClientPrivate::discoveryFeatures() ^
src/client/QXmppClient.cpp:124:6: warning: [modernize-use-trailing-return-type]
src/client/QXmppClient.cpp:143:6: warning: [modernize-use-trailing-return-type]
src/client/QXmppClient.cpp:155:6: warning: [modernize-use-trailing-return-type]
src/client/QXmppClient.cpp:161:9: warning: [readability-implicit-bool-conversion]
src/client/QXmppTransferManager.cpp:33:16: warning: [modernize-use-trailing-return-type]
src/client/QXmppTransferManager.cpp:33:27: warning: [bugprone-easily-swappable-parameters]
src/client/QXmppTransferManager.cpp:35:24: warning: [modernize-use-trailing-return-type]
QCryptographicHash hash(QCryptographicHash::Sha1); ^
src/client/QXmppTransferManager.cpp:36:13: warning: [cppcoreguidelines-init-variables]
QString str = sid + initiatorJid + targetJid; ^ = 0
src/client/QXmppTransferManager.cpp:41:7: warning: [cppcoreguidelines-pro-type-member-init]
src/client/QXmppTransferManager.cpp:207:9: warning: [modernize-use-default-member-init]
src/client/QXmppTransferManager.cpp:208:18: warning: [modernize-use-default-member-init]
QXmppClient *client; ^ {nullptr}
src/client/QXmppTransferManager.cpp:223:10: warning: [modernize-use-default-member-init]
src/client/QXmppTransferManager.cpp:229:9: warning: [modernize-use-default-member-init]
src/client/QXmppTransferManager.cpp:232:17: warning: [modernize-use-default-member-init]
QTcpSocket *socksSocket; ^ {nullptr}
src/client/QXmppTransferManager.cpp:236:1: warning: [cppcoreguidelines-pro-type-member-init]
src/client/QXmppTransferManager.cpp:454:1: warning: [cppcoreguidelines-pro-type-member-init]
src/client/QXmppTransferManager.cpp:461:32: warning: [readability-convert-member-functions-to-static]
src/client/QXmppTransferManager.cpp:463:5: warning: [bugprone-branch-clone]
src/client/QXmppTransferManager.cpp:492:19: warning: [cppcoreguidelines-init-variables]
src/client/QXmppTransferManager.cpp:512:72: warning: [readability-identifier-length]
src/client/QXmppTransferManager.cpp:521:32: warning: [modernize-use-trailing-return-type]
src/client/QXmppTransferManager.cpp:521:32: warning: [readability-convert-member-functions-to-static]
src/client/QXmppTransferManager.cpp:523:18: warning: [cppcoreguidelines-init-variables]
src/client/QXmppTransferManager.cpp:531:12: warning: [cppcoreguidelines-init-variables]
src/client/QXmppTransferManager.cpp:537:10: warning: [readability-implicit-bool-conversion]
src/client/QXmppTransferManager.cpp:563:10: warning: [readability-implicit-bool-conversion]
src/client/QXmppTransferManager.cpp:604:1: warning: [cppcoreguidelines-pro-type-member-init]
src/client/QXmppTransferManager.cpp:609:32: warning: [readability-convert-member-functions-to-static]
src/client/QXmppTransferManager.cpp:613:19: warning: [cppcoreguidelines-init-variables]
src/client/QXmppTransferManager.cpp:617:23: warning: [cppcoreguidelines-init-variables]
src/client/QXmppTransferManager.cpp:636:32: warning: [readability-convert-member-functions-to-static]
src/client/QXmppTransferManager.cpp:642:5: warning: [bugprone-branch-clone]
src/client/QXmppTransferManager.cpp:649:32: warning: [readability-convert-member-functions-to-static]
src/client/QXmppTransferManager.cpp:662:32: warning: [readability-convert-member-functions-to-static]
src/client/QXmppTransferManager.cpp:681:5: warning: [cppcoreguidelines-owning-memory]
src/client/QXmppTransferManager.cpp:682:12: warning: [cppcoreguidelines-init-variables]
src/client/QXmppTransferManager.cpp:684:9: warning: [cppcoreguidelines-owning-memory]
src/client/QXmppTransferManager.cpp:687:7: warning: [readability-else-after-return]
} else { ^~~~~~
src/client/QXmppTransferManager.cpp:689:9: warning: [cppcoreguidelines-owning-memory]
src/client/QXmppTransferManager.cpp:691:16: warning: [cppcoreguidelines-init-variables]
src/client/QXmppTransferManager.cpp:701:31: warning: [modernize-use-trailing-return-type]
Have any feedback or feature suggestions? Share it here.