[1/182] /home/runner/work/graphia/graphia/source/shared/graph/covariancematrix.cpp:32:15: warning: function 'indexOf' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static size_t indexOf(size_t column, size_t row, size_t size) ^ 4467 warnings generated. [2/182] 7656 warnings generated. [3/182] 8750 warnings generated. [4/182] /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:37:13: warning: function 'parseCx1' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool parseCx1(const json& jsonArray, IGraphModel* graphModel, ^ /home/runner/work/graphia/graphia/source/shared/loading/cxparser.cpp:237:13: warning: function 'parseCx2' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool parseCx2(const json& jsonArray, IGraphModel* graphModel, ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 14041 warnings generated. [5/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 8698 warnings generated. [6/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 14953 warnings generated. [7/182] /home/runner/work/graphia/graphia/source/shared/loading/dotfileparser.cpp:59:8: warning: an exception may be thrown in function 'operator=' which should not throw exceptions [bugprone-exception-escape] struct EdgeStatement ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 23960 warnings generated. [8/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 23828 warnings generated. [9/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 8733 warnings generated. [10/182] 7671 warnings generated. [11/182] /home/runner/work/graphia/graphia/source/shared/loading/jsonparser.cpp:52:5: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ 13220 warnings generated. [12/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 13977 warnings generated. [13/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 14147 warnings generated. [14/182] /home/runner/work/graphia/graphia/source/shared/loading/xlsxtabulardataparser.cpp:31:12: warning: function 'cellCallback' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static int cellCallback(size_t row, size_t column, const XLSXIOCHAR* value, void* cbData) ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 8584 warnings generated. [15/182] /home/runner/work/graphia/graphia/source/shared/loading/tabulardata.cpp:251:5: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 8630 warnings generated. [16/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 8637 warnings generated. [17/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 8143 warnings generated. [18/182] /home/runner/work/graphia/graphia/source/shared/loading/userdata.cpp:43:16: warning: function 'normalise' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QString normalise(QString name) ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 13615 warnings generated. [19/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 12732 warnings generated. [20/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 8040 warnings generated. [21/182] /home/runner/work/graphia/graphia/source/shared/plugins/basegenericplugin.cpp:132:13: warning: function 'pairwiseColumns' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static auto pairwiseColumns(const QVariant& value) ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 15712 warnings generated. [22/182] /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:244:28: warning: function 'relatedNodes' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static std::vector relatedNodes(const IUserNodeData* userNodeData, ^ /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:244:28: warning: function 'relatedNodes<(lambda at /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:271:46)>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:244:28: warning: function 'relatedNodes<(lambda at /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:279:46)>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:244:28: warning: function 'relatedNodes<(lambda at /home/runner/work/graphia/graphia/source/shared/plugins/nodeattributetablemodel.cpp:287:46)>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 8736 warnings generated. [23/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 9067 warnings generated. [24/182] /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:52:16: warning: function 'updateFilePath' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QString updateFilePath() ^ /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:177:16: warning: function 'latestUpdateString' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QString latestUpdateString() ^ /home/runner/work/graphia/graphia/source/shared/updates/updates.cpp:229:16: warning: function 'changeLogFilePath' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QString changeLogFilePath() ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 15067 warnings generated. [25/182] 8279 warnings generated. [26/182] 13322 warnings generated. [27/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 13648 warnings generated. [28/182] /home/runner/work/graphia/graphia/source/shared/utils/apppathname.cpp:25:16: warning: variable 'appPath' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QString appPath; ^ 8088 warnings generated. [29/182] 6152 warnings generated. [30/182] 8232 warnings generated. [31/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:78:19: warning: function 'decodeFromPem' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QByteArray decodeFromPem(const QByteArray& source) ^ /home/runner/work/graphia/graphia/source/thirdparty/cryptopp/filters.h:1264:4: warning: Call to virtual method 'StringStore::StoreInitialize' during construction bypasses virtual dispatch [clang-analyzer-optin.cplusplus.VirtualCall] {StoreInitialize(MakeParameters("InputBuffer", ConstByteArrayParameter(string)));} ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:184:22: note: Calling 'loadKey' auto publicKey = loadKey(publicKeyFileName); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:102:8: note: Assuming the condition is false if(!file.open(QIODevice::ReadOnly)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:102:5: note: Taking false branch if(!file.open(QIODevice::ReadOnly)) ^ /home/runner/work/graphia/graphia/source/thirdparty/cryptopp/iterhash.h:194:37: warning: Call to virtual method 'IteratedHashWithStaticTransform::Init' during construction bypasses virtual dispatch [clang-analyzer-optin.cplusplus.VirtualCall] IteratedHashWithStaticTransform() {this->Init();} ^ /home/runner/work/graphia/graphia/source/shared/utils/crypto.cpp:131:17: note: Calling constructor for 'SignerFilter' new CryptoPP::SignerFilter(rng, signer, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/thirdparty/cryptopp/filters.h:804:56: note: Calling 'TF_ObjectImplBase::NewSignatureAccumulator' : m_rng(rng), m_signer(signer), m_messageAccumulator(signer.NewSignatureAccumulator(rng)), m_putMessage(putMessage) {Detach(attachment);} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/thirdparty/cryptopp/pubkey.h:585:14: note: Calling implicit default constructor for 'PK_MessageAccumulatorImpl' return new PK_MessageAccumulatorImpl; ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/thirdparty/cryptopp/pubkey.h:585:14: note: Calling implicit default constructor for 'ObjectHolder' return new PK_MessageAccumulatorImpl; ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/thirdparty/cryptopp/pubkey.h:585:14: note: Calling implicit default constructor for 'SHA1' return new PK_MessageAccumulatorImpl; ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/thirdparty/cryptopp/pubkey.h:585:14: note: Calling default constructor for 'IteratedHashWithStaticTransform, 64U, 20U, CryptoPP::SHA1, 0U, false>' return new PK_MessageAccumulatorImpl; ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/thirdparty/cryptopp/iterhash.h:194:37: note: Call to virtual method 'IteratedHashWithStaticTransform::Init' during construction bypasses virtual dispatch IteratedHashWithStaticTransform() {this->Init();} ^~~~~~~~~~~~ 10895 warnings generated. [32/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 8904 warnings generated. [33/182] 8789 warnings generated. [34/182] 5906 warnings generated. [35/182] 7733 warnings generated. [36/182] 7795 warnings generated. [37/182] 3954 warnings generated. [38/182] /home/runner/work/graphia/graphia/source/shared/utils/random.cpp:23:27: warning: variable 'randomh_rd' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static std::random_device randomh_rd; ^ /home/runner/work/graphia/graphia/source/shared/utils/random.cpp:24:21: warning: variable 'randomh_mt19937' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static std::mt19937 randomh_mt19937(randomh_rd()); ^ 6495 warnings generated. [39/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 7192 warnings generated. [40/182] 8095 warnings generated. [41/182] 2847 warnings generated. [42/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:163:16: warning: function 'stripZeroes' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QString stripZeroes(QString value) ^ /home/runner/work/graphia/graphia/source/shared/utils/string.cpp:196:12: warning: function 'maxDecimalPlacesFor' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static int maxDecimalPlacesFor(double value) ^ 8049 warnings generated. [43/182] /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:150:30: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] else do ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:498:13: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ 8614 warnings generated. [44/182] 5901 warnings generated. [45/182] 6152 warnings generated. [46/182] /home/runner/work/graphia/graphia/source/app/application.cpp:82:29: warning: function 'urlTypesForPlugins' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static std::vector urlTypesForPlugins(const std::vector& plugins) ^ /home/runner/work/graphia/graphia/source/app/application.cpp:500:13: warning: function 'infiniteLoop' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void infiniteLoop() ^ /home/runner/work/graphia/graphia/source/app/application.cpp:509:13: warning: function 'deadlock' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void deadlock() ^ /home/runner/work/graphia/graphia/source/app/application.cpp:531:13: warning: function 'hitch' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void hitch() ^ /home/runner/work/graphia/graphia/source/app/application.cpp:537:13: warning: function 'silentCrashSubmit' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void silentCrashSubmit() ^ /home/runner/work/graphia/graphia/source/app/application.cpp:577:9: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(FatalErrorTest); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.h:28:17: warning: member '_url' of type 'const QUrl &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] const QUrl& _url; ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.h:30:17: warning: member '_url' of type 'const QUrl &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] const QUrl& _url; ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.h:33:17: warning: member '_url' of type 'const QUrl &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] const QUrl& _url; ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.h:29:17: warning: member '_url' of type 'const QUrl &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] const QUrl& _url; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 19507 warnings generated. [47/182] /home/runner/work/graphia/graphia/source/app/attributes/attribute.h:176:15: warning: member '_elementId' of type 'const IGraphComponent &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] E _elementId; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 8275 warnings generated. [48/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 15484 warnings generated. [49/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 18487 warnings generated. [50/182] /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:32:13: warning: function 'rowToElementIds' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static auto rowToElementIds(int row, const IAttribute* attribute, const ElementIds& elementIds) ^ /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:32:13: warning: function 'rowToElementIds>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] /home/runner/work/graphia/graphia/source/app/attributes/editattributetablemodel.cpp:32:13: warning: function 'rowToElementIds>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 10380 warnings generated. [51/182] /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:37:15: warning: function 'combineLogs' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static double combineLogs(double n, double r) ^ /home/runner/work/graphia/graphia/source/app/attributes/enrichmentcalculator.cpp:43:15: warning: function 'hyperGeometricProb' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static double hyperGeometricProb(double x, double r1, double r2, double c1, double c2) ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 8133 warnings generated. [52/182] 7670 warnings generated. [53/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 16279 warnings generated. [54/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 16298 warnings generated. [55/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 14735 warnings generated. [56/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:95:13: warning: function 'commandStartDebug' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void commandStartDebug(int debug, bool busy, const QString& verb) ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.cpp:394:5: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 8671 warnings generated. [57/182] /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.h:38:21: warning: member '_selectedNodeIds' of type 'const NodeIdSet' (aka 'const set') is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const NodeIdSet _selectedNodeIds; ^ /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.h:39:21: warning: member '_nodeIds' of type 'const NodeIdSet' (aka 'const set') is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const NodeIdSet _nodeIds; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 14734 warnings generated. [58/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 14690 warnings generated. [59/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 15288 warnings generated. [60/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 14706 warnings generated. [61/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 9293 warnings generated. [62/182] /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:61:13: warning: function 'checkComponents' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool checkComponents(const Graph& graph) ^ /home/runner/work/graphia/graphia/source/app/graph/graphconsistencychecker.cpp:74:13: warning: function 'checkComponents' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool checkComponents(const IGraphComponent&) { return true; } ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 7646 warnings generated. [63/182] /home/runner/work/graphia/graphia/source/app/graph/graph.cpp:32:13: warning: function 'registerQtTypes' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void registerQtTypes() ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 7842 warnings generated. [64/182] /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1007:13: warning: function 'calculateAttributeRanges' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void calculateAttributeRanges(const Graph* graph, ^ /home/runner/work/graphia/graphia/source/app/graph/graphmodel.cpp:1074:14: warning: function 'mappedSize' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static float mappedSize(float min, float max, float user, float mapped) ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.h:40:17: warning: member 'MCL_PRUNE_LIMIT' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float MCL_PRUNE_LIMIT = 1e-4f; ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.h:41:17: warning: member 'MCL_CONVERGENCE_LIMIT' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float MCL_CONVERGENCE_LIMIT = 1e-3f; ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.h:37:17: warning: member 'PAGERANK_DAMPING' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float PAGERANK_DAMPING = 0.8f; ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.h:38:17: warning: member 'PAGERANK_EPSILON' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float PAGERANK_EPSILON = 1e-6f; ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.h:39:17: warning: member 'PAGERANK_ACCELERATION_MINIMUM' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float PAGERANK_ACCELERATION_MINIMUM = 1e-10f; ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.h:40:15: warning: member 'PAGERANK_ITERATION_LIMIT' of type 'const int' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const int PAGERANK_ITERATION_LIMIT = 1000; ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.h:41:15: warning: member 'AVG_COUNT' of type 'const int' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const int AVG_COUNT = 10; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 19283 warnings generated. [65/182] /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:443:34: warning: function 'moveEdgesTo' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] template static void moveEdgesTo(MutableGraph& graph, NodeId nodeId, ^ /home/runner/work/graphia/graphia/source/app/graph/mutablegraph.cpp:443:34: warning: function 'moveEdgesTo>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 7665 warnings generated. [66/182] 8086 warnings generated. [67/182] /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:52:13: warning: function 'insert' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void insert(ComponentArray& links, ComponentId position, ComponentId value) ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:61:13: warning: function 'join' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void join(ComponentArray& links, ComponentId a, ComponentId b) ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:67:13: warning: function 'placeThirdCircleTangentially' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void placeThirdCircleTangentially(const Circle& a, const Circle& b, Circle& c) ^ /home/runner/work/graphia/graphia/source/app/layout/circlepackcomponentlayout.cpp:96:13: warning: function 'circlePack' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void circlePack(const std::vector& componentIds, ^ 8028 warnings generated. [68/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 15530 warnings generated. [69/182] 7390 warnings generated. [70/182] 8568 warnings generated. [71/182] /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:45:18: warning: function 'normalized' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QVector3D normalized(const QVector3D& v) ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.cpp:99:14: warning: function 'repulse' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static float repulse(float distanceSq, float shortRange, float longRange) ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.h:49:17: warning: member 'MINIMUM_STDDEV_THRESHOLD' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float MINIMUM_STDDEV_THRESHOLD = 0.008f; ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.h:50:17: warning: member 'FINETUNE_STDDEV_DELTA' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float FINETUNE_STDDEV_DELTA = 0.000005f; ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.h:51:17: warning: member 'OSCILLATE_STDDEV_DELTA_PERCENT' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float OSCILLATE_STDDEV_DELTA_PERCENT = 1.0f; ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.h:52:17: warning: member 'MAXIMUM_AVG_FORCE_FOR_STOP' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float MAXIMUM_AVG_FORCE_FOR_STOP = 1.0f; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:150:30: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] else do ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:498:13: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ 16520 warnings generated. [72/182] /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:31:13: warning: function 'layoutIsFinished' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool layoutIsFinished(const Layout& layout) ^ /home/runner/work/graphia/graphia/source/app/layout/layout.cpp:212:5: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 15927 warnings generated. [73/182] 7311 warnings generated. [74/182] /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:94:18: warning: function 'centreOfMassWithFn' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QVector3D centreOfMassWithFn(const std::vector& nodeIds, GetFn&& getFn) ^ /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:94:18: warning: function 'centreOfMassWithFn<(lambda at /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:109:40)>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:94:18: warning: function 'centreOfMassWithFn<(lambda at /home/runner/work/graphia/graphia/source/app/layout/nodepositions.cpp:151:40)>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] 6604 warnings generated. [75/182] 7630 warnings generated. [76/182] 8119 warnings generated. [77/182] 8086 warnings generated. [78/182] 7659 warnings generated. [79/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/app/loading/gmlsaver.h:28:17: warning: member '_url' of type 'const QUrl &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] const QUrl& _url; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 16411 warnings generated. [80/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/app/loading/graphmlsaver.h:30:17: warning: member '_url' of type 'const QUrl &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] const QUrl& _url; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 16694 warnings generated. [81/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 14400 warnings generated. [82/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.h:33:17: warning: member '_url' of type 'const QUrl &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] const QUrl& _url; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 16765 warnings generated. [83/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:50:13: warning: function 'isCompressed' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool isCompressed(const QString& filePath) ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:67:13: warning: function 'decompress' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool decompress(const QString& filePath, QByteArray& byteArray, ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:95:5: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:113:9: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:144:13: warning: function 'load' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool load(const QString& filePath, QByteArray& byteArray, ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:168:5: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/app/loading/nativeloader.cpp:197:13: warning: function 'parseHeader' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool parseHeader(const QUrl& url, Header* header = nullptr) ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 16661 warnings generated. [84/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 15219 warnings generated. [85/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.cpp:33:16: warning: function 'findEdgeWeightAttributeName' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QString findEdgeWeightAttributeName(const IGraphModel* graphModel) ^ /home/runner/work/graphia/graphia/source/app/loading/pairwisesaver.h:29:17: warning: member '_url' of type 'const QUrl &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] const QUrl& _url; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 10529 warnings generated. [86/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/app/loading/jsongraphsaver.h:33:17: warning: member '_url' of type 'const QUrl &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] const QUrl& _url; ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:46:13: warning: function 'compress' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool compress(const QByteArray& byteArray, const QString& filePath, Progressable& progressable) ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:70:5: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:84:9: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:108:13: warning: function 'bookmarksAsJson' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static json bookmarksAsJson(const Document& document) ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:129:13: warning: function 'layoutSettingsAsJson' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static json layoutSettingsAsJson(const Document& document) ^ /home/runner/work/graphia/graphia/source/app/loading/nativesaver.cpp:144:13: warning: function 'enrichmentTableModelAsJson' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static json enrichmentTableModelAsJson(const EnrichmentTableModel& table) ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 16946 warnings generated. [87/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 10523 warnings generated. [88/182] /home/runner/work/graphia/Qt/6.4.2/gcc_64/include/QtQuick/qsgnode.h:33:11: warning: no definition found for 'Updater', but a definition with the same name 'Updater' found in another namespace '(global)' [bugprone-forward-declaration-namespace] class Updater; ^ /home/runner/work/graphia/graphia/source/app/updates/updater.h:35:7: note: a definition of 'Updater' is found here class Updater : public QObject ^ /home/runner/work/graphia/graphia/source/app/main.cpp:80:16: warning: function 'resolvedExeName' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QString resolvedExeName(const QString& baseExeName) ^ /home/runner/work/graphia/graphia/source/app/main.cpp:90:13: warning: function 'configureXDG' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void configureXDG() ^ /home/runner/work/graphia/graphia/source/app/main.cpp:146:13: warning: function 'configureProxy' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void configureProxy() ^ /home/runner/work/graphia/graphia/source/app/main.cpp:170:16: warning: variable 'qmlError' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QString qmlError; ^ /home/runner/work/graphia/graphia/source/app/watchdog.h:38:32: warning: member '_defaultTimeoutDuration' of type 'const std::chrono::seconds' (aka 'const duration') is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const std::chrono::seconds _defaultTimeoutDuration{30}; ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:150:30: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] else do ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:498:13: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ 24295 warnings generated. [89/182] /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:48:18: warning: function 'minQVector2D' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QVector2D minQVector2D(const QVector2D& a, const QVector2D& b) ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:58:18: warning: function 'maxQVector2D' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QVector2D maxQVector2D(const QVector2D& a, const QVector2D& b) ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:143:18: warning: function 'minQVector3D' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QVector3D minQVector3D(const QVector3D& a, const QVector3D& b) ^ /home/runner/work/graphia/graphia/source/app/maths/boundingbox.cpp:154:18: warning: function 'maxQVector3D' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QVector3D maxQVector3D(const QVector3D& a, const QVector3D& b) ^ 6223 warnings generated. [90/182] /home/runner/work/graphia/graphia/source/app/maths/boundingsphere.cpp:32:14: warning: function 'maxDistanceFromCentre' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static float maxDistanceFromCentre(const QVector3D& centre, const std::vector& points) ^ 6225 warnings generated. [91/182] 6217 warnings generated. [92/182] 6217 warnings generated. [93/182] 6217 warnings generated. [94/182] 6217 warnings generated. [95/182] 7459 warnings generated. [96/182] /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:52:35: warning: function 'forEachProperty' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] template static void forEachProperty(const QObject* o, Fn fn) ^ /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:52:35: warning: function 'forEachProperty<(lambda at /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:135:5)>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:52:35: warning: function 'forEachProperty<(lambda at /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:152:5)>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:52:35: warning: function 'forEachProperty<(lambda at /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:69:9)>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] /home/runner/work/graphia/graphia/source/app/qmlpreferences.cpp:100:16: warning: function 'propertyNameFrom' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QString propertyNameFrom(const QString& preferenceName) ^ 7751 warnings generated. [97/182] 15956 warnings generated. [98/182] 17811 warnings generated. [99/182] /home/runner/work/graphia/graphia/source/app/rendering/compute/sdfcomputejob.cpp:40:13: warning: function 'prepareQuad' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void prepareQuad(QOpenGLVertexArrayObject& screenQuadVAO, ^ /home/runner/work/graphia/graphia/source/app/rendering/compute/sdfcomputejob.cpp:59:13: warning: function 'prepareScreenQuadDataBuffer' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void prepareScreenQuadDataBuffer(QOpenGLBuffer& buffer, int width, int height) ^ 17468 warnings generated. [100/182] 16271 warnings generated. [101/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 8794 warnings generated. [102/182] /home/runner/work/graphia/graphia/source/app/rendering/graphcomponentrenderer.cpp:710:19: warning: function 'interpolateProjectionMatrices' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QMatrix4x4 interpolateProjectionMatrices(const QMatrix4x4& a, const QMatrix4x4& b, float f) ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 24979 warnings generated. [103/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 25101 warnings generated. [104/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphoverviewscene.cpp:371:15: warning: function 'interpolateCircle' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static Circle interpolateCircle(const Circle& a, const Circle& b, float f) ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 25233 warnings generated. [105/182] /home/runner/work/graphia/Qt/6.4.2/gcc_64/include/QtQuick/qsgnode.h:33:11: warning: no definition found for 'Updater', but a definition with the same name 'Updater' found in another namespace '(global)' [bugprone-forward-declaration-namespace] class Updater; ^ /home/runner/work/graphia/graphia/source/app/updates/updater.h:35:7: note: a definition of 'Updater' is found here class Updater : public QObject ^ /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 29638 warnings generated. [106/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:443:13: warning: function 'setShaderLightingParameters' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void setShaderLightingParameters(QOpenGLShaderProgram& program) ^ /home/runner/work/graphia/graphia/source/app/rendering/graphrenderercore.cpp:880:13: warning: function 'render2DComposite' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void render2DComposite(OpenGLFunctions& f, QOpenGLShaderProgram& shader, GLuint texture, ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 18986 warnings generated. [107/182] 15746 warnings generated. [108/182] 16568 warnings generated. 33136 warnings generated. [109/182] 15980 warnings generated. [110/182] /home/runner/work/graphia/graphia/source/app/rendering/primitives/rectangle.cpp:34:13: warning: function 'generateVertexData' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void generateVertexData(std::vector& vertices, std::vector& normals, ^ 15983 warnings generated. [111/182] 15980 warnings generated. [112/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:44:16: warning: function 'fetchPreview' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QString fetchPreview(QSize screenshotSize) ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:59:13: warning: function 'fetchAndDrawTile' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void fetchAndDrawTile(QPixmap& fullScreenshot, int tileX, int tileY, QPoint offset) ^ /home/runner/work/graphia/graphia/source/app/rendering/screenshotrenderer.cpp:71:15: warning: function 'renderOffsetForFill' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QPoint renderOffsetForFill(int imageWidth, int imageHeight, float aspect) ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 25417 warnings generated. [113/182] 7282 warnings generated. [114/182] 7468 warnings generated. [115/182] /home/runner/work/graphia/graphia/source/app/tracking.cpp:50:16: warning: function 'postToTrackingServer' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QString postToTrackingServer(const QString& text) ^ /home/runner/work/graphia/graphia/source/app/tracking.cpp:106:16: warning: function 'anonymousIdentity' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QString anonymousIdentity() ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 13782 warnings generated. [116/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 17953 warnings generated. [117/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 15368 warnings generated. [118/182] 23763 warnings generated. [119/182] /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:29:13: warning: function 'hasUnknownAttributes' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool hasUnknownAttributes(const std::vector& attributeNames, ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:46:13: warning: function 'hasInvalidAttributes' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool hasInvalidAttributes(const std::vector& attributeNames, ^ /home/runner/work/graphia/graphia/source/app/transform/graphtransform.cpp:70:5: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 17325 warnings generated. [120/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 17413 warnings generated. [121/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 17513 warnings generated. [122/182] /home/runner/work/graphia/graphia/source/app/transform/transforms/attributesynthesistransform.cpp:31:14: warning: function 'attributeSynthesisTransformConfigIsValid' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static Alert attributeSynthesisTransformConfigIsValid(const GraphTransformConfig& config) ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 17423 warnings generated. [123/182] /home/runner/work/graphia/graphia/source/app/transform/transforms/averageattributetransform.cpp:31:14: warning: function 'averageAttributeTransformConfigIsValid' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static Alert averageAttributeTransformConfigIsValid(const GraphModel& graphModel, ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 17461 warnings generated. [124/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:150:30: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] else do ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:498:13: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ 17920 warnings generated. [125/182] /home/runner/work/graphia/graphia/source/app/transform/transforms/conditionalattributetransform.cpp:29:14: warning: function 'conditionalAttributeTransformConfigIsValid' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static Alert conditionalAttributeTransformConfigIsValid(const GraphTransformConfig& config) ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 18681 warnings generated. [126/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 18699 warnings generated. [127/182] /home/runner/work/graphia/graphia/source/app/transform/transforms/combineattributestransform.cpp:31:14: warning: function 'combineAttributesTransformConfigIsValid' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static Alert combineAttributesTransformConfigIsValid(const GraphModel& graphModel, ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 17418 warnings generated. [128/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:150:30: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] else do ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:498:13: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ 17900 warnings generated. [129/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 18677 warnings generated. [130/182] 15618 warnings generated. [131/182] /home/runner/work/graphia/graphia/source/app/transform/transforms/forwardmultielementattributetransform.cpp:31:14: warning: function 'forwardMultiElementAttributeTransformConfigIsValid' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static Alert forwardMultiElementAttributeTransformConfigIsValid(const GraphTransformConfig& config) ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 17442 warnings generated. [132/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 18690 warnings generated. [133/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 17398 warnings generated. [134/182] /home/runner/work/graphia/graphia/source/app/transform/transforms/louvaintransform.cpp:186:9: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 17539 warnings generated. [135/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 17398 warnings generated. [136/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 18733 warnings generated. [137/182] /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:37:13: warning: function 'normaliseColumnsColumnMajor' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void normaliseColumnsColumnMajor(MatrixType &mclMatrix) ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:59:13: warning: function 'sumColumns' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void sumColumns(MatrixType &mclMatrix, VectorType &output) ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:88:13: warning: function 'expandAndPruneRow' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void expandAndPruneRow(MatrixType& mclMatrix, size_t columnId, ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:88:13: warning: function 'expandAndPruneRow<(lambda at /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:451:28)>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:327:17: warning: member 'matrix' of type 'MatrixType &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] MatrixType& matrix; ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:327:17: warning: member 'matrix' of type 'blaze::CompressedMatrix &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.cpp:415:5: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.h:40:17: warning: member 'MCL_PRUNE_LIMIT' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float MCL_PRUNE_LIMIT = 1e-4f; ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/mcltransform.h:41:17: warning: member 'MCL_CONVERGENCE_LIMIT' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float MCL_CONVERGENCE_LIMIT = 1e-3f; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:150:30: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] else do ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:498:13: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ 26725 warnings generated. [138/182] /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.h:37:17: warning: member 'PAGERANK_DAMPING' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float PAGERANK_DAMPING = 0.8f; ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.h:38:17: warning: member 'PAGERANK_EPSILON' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float PAGERANK_EPSILON = 1e-6f; ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.h:39:17: warning: member 'PAGERANK_ACCELERATION_MINIMUM' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float PAGERANK_ACCELERATION_MINIMUM = 1e-10f; ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.h:40:15: warning: member 'PAGERANK_ITERATION_LIMIT' of type 'const int' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const int PAGERANK_ITERATION_LIMIT = 1000; ^ /home/runner/work/graphia/graphia/source/app/transform/transforms/pageranktransform.h:41:15: warning: member 'AVG_COUNT' of type 'const int' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const int AVG_COUNT = 10; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 26156 warnings generated. [139/182] 15514 warnings generated. [140/182] /home/runner/work/graphia/graphia/source/app/transform/transforms/removeleavestransform.cpp:28:13: warning: function 'removeLeaves' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void removeLeaves(TransformedGraph& target, Progressable& progressable, size_t limit = 0) ^ 15457 warnings generated. [141/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.h:38:21: warning: member '_selectedNodeIds' of type 'const NodeIdSet' (aka 'const set') is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const NodeIdSet _selectedNodeIds; ^ /home/runner/work/graphia/graphia/source/app/commands/deletenodescommand.h:39:21: warning: member '_nodeIds' of type 'const NodeIdSet' (aka 'const set') is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const NodeIdSet _nodeIds; ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.h:49:17: warning: member 'MINIMUM_STDDEV_THRESHOLD' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float MINIMUM_STDDEV_THRESHOLD = 0.008f; ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.h:50:17: warning: member 'FINETUNE_STDDEV_DELTA' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float FINETUNE_STDDEV_DELTA = 0.000005f; ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.h:51:17: warning: member 'OSCILLATE_STDDEV_DELTA_PERCENT' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float OSCILLATE_STDDEV_DELTA_PERCENT = 1.0f; ^ /home/runner/work/graphia/graphia/source/app/layout/forcedirectedlayout.h:52:17: warning: member 'MAXIMUM_AVG_FORCE_FOR_STOP' of type 'const float' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const float MAXIMUM_AVG_FORCE_FOR_STOP = 1.0f; ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:472:13: warning: function 'transformIsPinned' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool transformIsPinned(const QString& transform) ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:480:20: warning: function 'sortedTransforms' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QStringList sortedTransforms(QStringList transforms) ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1121:18: warning: function 'nodeIdSetFor' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static NodeIdSet nodeIdSetFor(QmlNodeId nodeId, bool add, const SelectionManager& selectionManager) ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1426:13: warning: function 'shouldMoveFindFocus' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool shouldMoveFindFocus(bool inOverviewMode) ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1805:5: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:1826:5: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2257:13: warning: function 'transformsDiffer' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool transformsDiffer(const QStringList& a, const QStringList& b, ^ /home/runner/work/graphia/graphia/source/app/ui/document.cpp:2440:13: warning: function 'visualisationsDiffer' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool visualisationsDiffer(const QStringList& a, const QStringList& b) ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 21728 warnings generated. [142/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:71:15: warning: function 'nodeIdInsideFrustumNearestPoint' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static NodeId nodeIdInsideFrustumNearestPoint(const GraphModel& graphModel, ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:256:18: warning: function 'virtualTrackballVector' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QVector3D virtualTrackballVector(int width, int height, const QPoint& cursor) ^ /home/runner/work/graphia/graphia/source/app/ui/graphcommoninteractor.cpp:283:20: warning: function 'mouseMoveToRotation' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QQuaternion mouseMoveToRotation(const QPoint& prev, const QPoint& cur, ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 25129 warnings generated. [143/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 25053 warnings generated. [144/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 25052 warnings generated. [145/182] /home/runner/work/graphia/graphia/source/app/commands/commandmanager.h:161:17: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(NullPendingCommand); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 25080 warnings generated. [146/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 18434 warnings generated. [147/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 14685 warnings generated. [148/182] /home/runner/work/graphia/graphia/source/app/ui/enrichmentheatmapitem.h:60:18: warning: member '_HEATMAP_OFFSET' of type 'const double' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const double _HEATMAP_OFFSET = 0.5; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 24220 warnings generated. [149/182] 7847 warnings generated. [150/182] 7766 warnings generated. [151/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 18670 warnings generated. [152/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 7805 warnings generated. [153/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 7446 warnings generated. [154/182] 22254 warnings generated. [155/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 13428 warnings generated. [156/182] 24028 warnings generated. [157/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 14809 warnings generated. [158/182] /home/runner/work/graphia/Qt/6.4.2/gcc_64/include/QtCore/qtimer.h:126:5: warning: Potential memory leak [clang-analyzer-cplusplus.NewDeleteLeaks] } ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:146:8: note: Assuming the condition is false if(_timeoutTimer.isActive() || _state != State::Idle) ^~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:146:8: note: Left side of '||' is false /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:146:36: note: Assuming field '_state' is equal to Idle if(_timeoutTimer.isActive() || _state != State::Idle) ^~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:146:5: note: Taking false branch if(_timeoutTimer.isActive() || _state != State::Idle) ^ /home/runner/work/graphia/graphia/source/app/updates/updater.cpp:155:5: note: Calling 'QTimer::singleShot' QTimer::singleShot(0, [this] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/Qt/6.4.2/gcc_64/include/QtCore/qtimer.h:97:9: note: Calling 'QTimer::singleShot' singleShot(interval, defaultTypeFor(interval), nullptr, std::move(slot)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/work/graphia/Qt/6.4.2/gcc_64/include/QtCore/qtimer.h:124:24: note: Memory is allocated new QtPrivate::QFunctorSlotObject struct reversing_wrapper { T& container; }; ^ 19121 warnings generated. [159/182] /home/runner/work/graphia/graphia/source/app/watchdog.cpp:152:13: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(WatchdogTimedOut); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/app/watchdog.h:38:32: warning: member '_defaultTimeoutDuration' of type 'const std::chrono::seconds' (aka 'const duration') is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members] const std::chrono::seconds _defaultTimeoutDuration{30}; ^ 9991 warnings generated. [160/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 7903 warnings generated. [161/182] /home/runner/work/graphia/graphia/source/plugins/correlation/knnprotograph.h:136:13: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:150:30: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] else do ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:498:13: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ 10278 warnings generated. [162/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 6295 warnings generated. [163/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 7719 warnings generated. [164/182] /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:251:9: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] FATAL_ERROR(CorrPlotOnWrongThread); ^ /home/runner/work/graphia/graphia/source/shared/utils/fatalerror.h:35:5: note: expanded from macro 'FATAL_ERROR' do { struct MESSAGE \ ^ /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1729:9: warning: variable 're' of type 'QRegularExpression' can be declared 'const' [misc-const-correctness] static QRegularExpression re(QStringLiteral(R"(\s+)")); ^ const /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotitem.cpp:1742:5: warning: variable 'fileInfo' of type 'QFileInfo' can be declared 'const' [misc-const-correctness] QFileInfo fileInfo(filename); ^ const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 30810 warnings generated. [165/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 30376 warnings generated. [166/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 30451 warnings generated. [167/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 30392 warnings generated. [168/182] /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:70:9: warning: variable 'lock' of type 'std::unique_lock' can be declared 'const' [misc-const-correctness] std::unique_lock lock(_mutex); ^ const /home/runner/work/graphia/graphia/source/plugins/correlation/correlationplotsaveimagecommand.cpp:84:9: warning: variable 'extensionlessBaseFilename' of type 'QString' can be declared 'const' [misc-const-correctness] QString extensionlessBaseFilename = ^ const /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] 30345 warnings generated. [169/182] /home/runner/work/graphia/graphia/source/plugins/correlation/knnprotograph.h:136:13: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:150:30: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] else do ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:498:13: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ 30989 warnings generated. [170/182] 7659 warnings generated. [171/182] /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:37:13: warning: function 'calcStandardValues' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool calcStandardValues(const ContinuousDataVectors& dataRows, ^ /home/runner/work/graphia/graphia/source/plugins/correlation/featurescaling.cpp:123:13: warning: function 'normalise' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool normalise(ContinuousDataVectors& dataRows, ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 6289 warnings generated. [172/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 23940 warnings generated. [173/182] /home/runner/work/graphia/graphia/source/plugins/correlation/knnprotograph.h:136:13: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:150:30: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] else do ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:498:13: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ 19512 warnings generated. [174/182] /home/runner/work/graphia/graphia/source/plugins/correlation/knnprotograph.h:136:13: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:54:14: warning: function 'findLargestDataRect' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QRect findLargestDataRect(const TabularData& tabularData, Fn predicate, ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:54:14: warning: function 'findLargestDataRect<(lambda at /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:141:9)>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:54:14: warning: function 'findLargestDataRect<(lambda at /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:148:9)>' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:137:14: warning: function 'findLargestNumericalDataRect' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QRect findLargestNumericalDataRect(const TabularData& tabularData, ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:144:14: warning: function 'findLargestNonNumericalDataRect' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QRect findLargestNonNumericalDataRect(const TabularData& tabularData, ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:151:13: warning: function 'dataRectHasDiscreteValues' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool dataRectHasDiscreteValues(const TabularData& tabularData, const QRect& dataRect) ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:168:13: warning: function 'dataRectHasMissingValues' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool dataRectHasMissingValues(const TabularData& tabularData, const QRect& dataRect) ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:187:13: warning: function 'dataRectAppearsToBeContinuous' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static bool dataRectAppearsToBeContinuous(const TabularData& tabularData, const QRect& dataRect) ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:226:34: warning: function 'dataRectMinMax' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static std::pair dataRectMinMax(const TabularData& tabularData, const QRect& dataRect) ^ /home/runner/work/graphia/graphia/source/plugins/correlation/loading/correlationfileparser.cpp:781:28: warning: function 'randomRowIndices' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static std::vector randomRowIndices(size_t first, size_t numRows, size_t numSamples) ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'std::vector> &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:150:30: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] else do ^ /home/runner/work/graphia/graphia/source/shared/utils/threadpool.h:498:13: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ 19638 warnings generated. [175/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 23856 warnings generated. [176/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 6342 warnings generated. [177/182] /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:61:20: warning: function 'crashedModule' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static std::string crashedModule(const QString& dmpFile) ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:118:5: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:154:13: warning: function 'uploadReport' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static void uploadReport(const QString& email, const QString& text, ^ /home/runner/work/graphia/graphia/source/crashreporter/main.cpp:289:5: warning: avoid do-while loops [cppcoreguidelines-avoid-do-while] do ^ 19006 warnings generated. [178/182] 16568 warnings generated. 33136 warnings generated. [179/182] /home/runner/work/graphia/graphia/source/messagebox/main.cpp:30:26: warning: function 'parseIcon' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QMessageBox::Icon parseIcon(const QString& text) ^ /home/runner/work/graphia/graphia/source/messagebox/main.cpp:52:15: warning: function 'parseButton' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static Button parseButton(const QString& text) ^ 7942 warnings generated. [180/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 18757 warnings generated. [181/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ /home/runner/work/graphia/graphia/source/updater/main.cpp:46:16: warning: function 'existingInstallation' declared 'static', move to anonymous namespace instead [misc-use-anonymous-namespace] static QString existingInstallation(const QString& exe) ^ 15002 warnings generated. [182/182] /home/runner/work/graphia/graphia/source/shared/utils/container.h:205:56: warning: member 'container' of type 'T &' is a reference [cppcoreguidelines-avoid-const-or-ref-data-members] template struct reversing_wrapper { T& container; }; ^ 15095 warnings generated.