06/07/2024 13:53 Dara Navaei sources/canbus/MessageAcknowModel.h:58:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning '_sequence' a value by passing the value to the constructor in the initialization list. [useInitializationList] _sequence = vSequence ; ^ sources/canbus/MessageAcknowModel.h:59:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning '_frameList' a value by passing the value to the constructor in the initialization list. [useInitializationList] _frameList = vFrameList ; ^ sources/storage/FileHandler.h:108:14: style: Condition '!createFolder' is always false [knownConditionTrueFalse] if ( ! createFolder ) { if ( ! dstDir.exists() ) { err = eDstFolderNotExist ; goto lErr; }} ^ sources/storage/FileHandler.h:100:35: note: Assignment 'createFolder=true', assigned value is 1 bool createFolder = true; ^ sources/storage/FileHandler.h:108:14: note: Condition '!createFolder' is always false if ( ! createFolder ) { if ( ! dstDir.exists() ) { err = eDstFolderNotExist ; goto lErr; }} ^ sources/storage/FileHandler.h:97:17: style: Local variable 'totalSize' shadows outer function [shadowFunction] qint64 totalSize = 0; ^ sources/storage/FileHandler.h:75:21: note: Shadowed declaration static quint64 totalSize(const QFileInfoList &vFileInfoList); ^ sources/storage/FileHandler.h:97:17: note: Shadow variable qint64 totalSize = 0; ^ sources/device/DeviceModels.h:50:21: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] mString += QString(",%1").arg(param.toString()); ^ sources/storage/FileHandler.h:92:33: style: Variable 'err' is assigned a value that is never used. [unreadVariable] FileCopyError_Enums err = eOK; ^ sources/ApplicationPost.cpp:165:9: style: Condition '!ok' is always false [knownConditionTrueFalse] if (! ok) emit didFail(Gui::GuiAlarmID::ALARM_ID_HD_UI_POST_FAILURE_DISPLAY); ^ sources/ApplicationPost.cpp:163:15: note: Assignment 'ok=true', assigned value is 1 bool ok = true; ^ sources/ApplicationPost.cpp:165:9: note: Condition '!ok' is always false if (! ok) emit didFail(Gui::GuiAlarmID::ALARM_ID_HD_UI_POST_FAILURE_DISPLAY); ^ sources/ApplicationPost.cpp:303:9: style: Condition '!ok' is always false [knownConditionTrueFalse] if (! ok) emit didFail(Gui::GuiAlarmID::ALARM_ID_HD_UI_POST_FAILURE_SOUND); ^ sources/ApplicationPost.cpp:301:15: note: Assignment 'ok=true', assigned value is 1 bool ok = true; ^ sources/ApplicationPost.cpp:303:9: note: Condition '!ok' is always false if (! ok) emit didFail(Gui::GuiAlarmID::ALARM_ID_HD_UI_POST_FAILURE_SOUND); ^ sources/MainTimer.cpp:78:16: style: The scope of the variable 'oH' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced: void f(int x) { int i = 0; if (x) { // it's safe to move 'int i = 0;' here for (int n = 0; n < 10; ++n) { // it is possible but not safe to move 'int i = 0;' here do_something(&i); } } } When you see this message it is always safe to reduce the variable scope 1 level. [variableScope] static int oH,oM,oS; int cH,cM,cS; ^ sources/MainTimer.cpp:78:19: style: The scope of the variable 'oM' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced: void f(int x) { int i = 0; if (x) { // it's safe to move 'int i = 0;' here for (int n = 0; n < 10; ++n) { // it is possible but not safe to move 'int i = 0;' here do_something(&i); } } } When you see this message it is always safe to reduce the variable scope 1 level. [variableScope] static int oH,oM,oS; int cH,cM,cS; ^ sources/MainTimer.cpp:78:22: style: The scope of the variable 'oS' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced: void f(int x) { int i = 0; if (x) { // it's safe to move 'int i = 0;' here for (int n = 0; n < 10; ++n) { // it is possible but not safe to move 'int i = 0;' here do_something(&i); } } } When you see this message it is always safe to reduce the variable scope 1 level. [variableScope] static int oH,oM,oS; int cH,cM,cS; ^ sources/cloudsync/CloudSyncController.cpp:517:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] buf += item.toString(); ^ sources/cloudsync/CloudSyncController.cpp:284:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ sources/cloudsync/CloudSyncController.cpp:319:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ sources/cloudsync/CloudSyncController.cpp:621:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ sources/cloudsync/CloudSyncController.cpp:676:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ sources/cloudsync/CloudSyncController.cpp:685:51: style: Variable 'error' is assigned a value that is never used. [unreadVariable] if ( isDuplicate(messageID, data) ) { error = eError_Duplicate; args = { messageID }; ok = false; return ok; } // TODO: goto lErr; } don't log it just ignore and return false. ^ sources/cloudsync/CloudSyncController.cpp:685:76: style: Variable 'args' is assigned a value that is never used. [unreadVariable] if ( isDuplicate(messageID, data) ) { error = eError_Duplicate; args = { messageID }; ok = false; return ok; } // TODO: goto lErr; } don't log it just ignore and return false. ^ sources/cloudsync/CloudSyncController.cpp:707:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ sources/cloudsync/CloudSyncController.cpp:771:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ sources/cloudsync/CloudSyncController.cpp:808:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ sources/cloudsync/CloudSyncController.cpp:855:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ sources/cloudsync/CloudSyncController.cpp:971:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ sources/cloudsync/CloudSyncController.cpp:996:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] Errors_Enum error = eError_Unknown; ^ sources/device/DeviceController.cpp:878:41: style: Variable 'err' is assigned a value that is never used. [unreadVariable] DeviceError::Scripts_Error_Enum err = DeviceError::eDevice_OK; ^ sources/device/DeviceView.h:73:32: style: The condition 'vData.mAccepted || !vData.mAccepted && vData.mReason!=0' is equivalent to 'vData.mAccepted || vData.mReason!=0'. [redundantCondition] return vData.mAccepted || (!vData.mAccepted && vData.mReason != 0 ); ^ sources/model/MAbstractDynamic.h:80:5: warning: Member variable 'MAbstractDynamic::_data' is not initialized in the constructor. [uninitMemberVar] MAbstractDynamic () { } ^ sources/model/confirm/MDuetConfirmHDi.h:78:5: warning: Member variable 'MDuetConfirmHDi::_data' is not initialized in the constructor. [uninitMemberVar] MDuetConfirmHDi () { } ^ sources/model/dg/adjustment/settings/MAdjustDGCleaningUsageResponse.h:99:5: warning: Member variable 'MAdjustDGCleaningUsageResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustDGCleaningUsageResponse () { } ^ sources/model/dg/adjustment/settings/MAdjustDGDateTimeResponse.h:75:5: warning: Member variable 'MAdjustDGDateTimeResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustDGDateTimeResponse () { } ^ sources/model/dg/adjustment/settings/MAdjustDGServiceDatesResponse.h:74:5: warning: Member variable 'MAdjustServiceDatesDGResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustServiceDatesDGResponse () { } ^ sources/model/dg/adjustment/settings/MAdjustDGVersionsResponse.h:97:5: warning: Member variable 'MAdjustVersionsDGResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustVersionsDGResponse () { } ^ sources/model/dg/adjustment/settings/MDuetRoWaterDG.h:123:5: warning: Member variable 'MDuetRoWaterModeDGr::_data' is not initialized in the constructor. [uninitMemberVar] MDuetRoWaterModeDGr () { } ^ sources/model/dg/data/MDGAccelerometerData.h:103:5: warning: Member variable 'MDGAccelerometer::_data' is not initialized in the constructor. [uninitMemberVar] MDGAccelerometer () { } ^ sources/model/dg/data/MDGConductivityData.h:108:5: warning: Member variable 'MDGConductivityData::_data' is not initialized in the constructor. [uninitMemberVar] MDGConductivityData () { } ^ sources/model/dg/data/MDGDrainPumpData.h:94:5: warning: Member variable 'MDGDrainPump::_data' is not initialized in the constructor. [uninitMemberVar] MDGDrainPump () { } ^ sources/model/dg/data/MDGHeatersData.h:108:5: warning: Member variable 'MDGHeaters::_data' is not initialized in the constructor. [uninitMemberVar] MDGHeaters () {} ^ sources/model/dg/data/MDGLoadCellReadingsData.h:81:5: warning: Member variable 'MDGLoadCellReadings::_data' is not initialized in the constructor. [uninitMemberVar] MDGLoadCellReadings () {} ^ sources/model/dg/data/MDGOperationModeData.h:75:5: warning: Member variable 'MDGOperationMode::_data' is not initialized in the constructor. [uninitMemberVar] MDGOperationMode () {} ^ sources/model/dg/data/MDGPressuresData.h:84:5: warning: Member variable 'MDGPressures::_data' is not initialized in the constructor. [uninitMemberVar] MDGPressures () {} ^ sources/model/dg/data/MDGROPumpData.h:87:5: warning: Member variable 'MDGROPump::_data' is not initialized in the constructor. [uninitMemberVar] MDGROPump () { } ^ sources/model/dg/data/MDGReservoirData.h:104:5: warning: Member variable 'MDGReservoir::_data' is not initialized in the constructor. [uninitMemberVar] MDGReservoir () {} ^ sources/model/dg/data/MDGTemperaturesData.h:142:5: warning: Member variable 'MDGTemperatures::_data' is not initialized in the constructor. [uninitMemberVar] MDGTemperatures() { } ^ sources/model/dg/data/MDGValvesStatesData.h:135:5: warning: Member variable 'MDGValvesStates::_data' is not initialized in the constructor. [uninitMemberVar] MDGValvesStates () { } ^ sources/model/dg/data/post/MDGPostFinalResultData.h:74:5: warning: Member variable 'MDGPostFinalResult::_data' is not initialized in the constructor. [uninitMemberVar] MDGPostFinalResult() {} ^ sources/model/dg/data/post/MDGPostSingleResultData.h:77:5: warning: Member variable 'MDGPostSingleResult::_data' is not initialized in the constructor. [uninitMemberVar] MDGPostSingleResult() {} ^ sources/model/dg/data/pretreatment/MDGFilterFlushData.h:75:5: warning: Member variable 'MDGFilterFlush::_data' is not initialized in the constructor. [uninitMemberVar] MDGFilterFlush() {} ^ sources/model/hd/adjustment/MAdjustPowerOff.h:65:5: warning: Member variable 'MPowerOff::_data' is not initialized in the constructor. [uninitMemberVar] MPowerOff () { } ^ sources/model/hd/adjustment/disinfect/MDisinfectAdjustModeResponse.h:76:5: warning: Member variable 'MAdjustDisinfectModeResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustDisinfectModeResponse () { } ^ sources/model/hd/adjustment/disinfect/MDisinfectAdjustStartResponse.h:76:5: warning: Member variable 'MAdjustDisinfectStartResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustDisinfectStartResponse () { } ^ sources/model/hd/adjustment/posttreatment/MPostTreatmentAdjustDisposablesRemovalConfirmResponse.h:77:5: warning: Member variable 'MAdjustDisposablesRemovalConfirmResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustDisposablesRemovalConfirmResponse () { } ^ sources/model/hd/adjustment/posttreatment/MPostTreatmentAdjustPatientDisconnectionConfirmResponse.h:77:5: warning: Member variable 'MAdjustPatientDisconnectionConfirmResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustPatientDisconnectionConfirmResponse () { } ^ sources/model/hd/adjustment/posttreatment/MPostTreatmentAdjustTreatmentLogResponse.h:180:5: warning: Member variable 'MAdjustTreatmentLogResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustTreatmentLogResponse () { } ^ sources/model/hd/adjustment/pretreatment/MPreTreatmentAdjustDisposablesConfirmResponse.h:77:5: warning: Member variable 'MAdjustDisposablesConfirmResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustDisposablesConfirmResponse () { } ^ sources/model/hd/adjustment/pretreatment/MPreTreatmentAdjustDisposablesPrimeResponse.h:77:5: warning: Member variable 'MAdjustDisposablesPrimeResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustDisposablesPrimeResponse () { } ^ sources/model/hd/adjustment/pretreatment/MPreTreatmentAdjustInitTreatmentResponse.h:75:5: warning: Member variable 'MAdjustInitTreatmentResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustInitTreatmentResponse () {} ^ sources/model/hd/adjustment/pretreatment/MPreTreatmentAdjustParametersValidationResponse.h:121:5: warning: Member variable 'MAdjustParametersValidationResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustParametersValidationResponse () {} ^ sources/model/hd/adjustment/pretreatment/MPreTreatmentAdjustPatientConnectionBeginResponse.h:77:5: warning: Member variable 'MAdjustPatientConnectionBeginResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustPatientConnectionBeginResponse () { } ^ sources/model/hd/adjustment/pretreatment/MPreTreatmentAdjustPatientConnectionConfirmResponse.h:77:5: warning: Member variable 'MAdjustPatientConnectionConfirmResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustPatientConnectionConfirmResponse () { } ^ sources/model/hd/adjustment/pretreatment/MPreTreatmentAdjustStartTreatmentResponse.h:75:5: warning: Member variable 'MAdjustStartTreatmentResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustStartTreatmentResponse () { } ^ sources/model/hd/adjustment/pretreatment/MPreTreatmentAdjustUltrafiltrationInitResponse.h:79:5: warning: Member variable 'MAdjustUltrafiltrationInitResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustUltrafiltrationInitResponse () { } ^ sources/model/hd/adjustment/pretreatment/MPreTreatmentAdjustWaterSampleResponse.h:77:5: warning: Member variable 'MAdjustWaterSampleResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustWaterSampleResponse () { } ^ sources/model/hd/adjustment/settings/MAdjustHDAlarmVolumeResponse.h:75:5: warning: Member variable 'MAdjustHDAlarmVolumeResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustHDAlarmVolumeResponse () { } ^ sources/model/hd/adjustment/settings/MAdjustHDDateTimeResponse.h:75:5: warning: Member variable 'MAdjustHDDateTimeResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustHDDateTimeResponse () { } ^ sources/model/hd/adjustment/settings/MAdjustHDInstitutionalRecordResponse.h:149:5: warning: Member variable 'MAdjustInstitutionalRecordResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustInstitutionalRecordResponse () { } ^ sources/model/hd/adjustment/settings/MAdjustHDServiceDatesResponse.h:74:5: warning: Member variable 'MAdjustServiceDatesHDResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustServiceDatesHDResponse () { } ^ sources/model/hd/adjustment/settings/MAdjustHDServiceModeResponse.h:74:5: warning: Member variable 'MAdjustServiceModeResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustServiceModeResponse () { } ^ sources/model/hd/adjustment/settings/MAdjustHDVersionsResponse.h:97:5: warning: Member variable 'MAdjustVersionsHDResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustVersionsHDResponse () { } ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustBloodDialysateResponse.h:81:5: warning: Member variable 'MAdjustBloodDialysateResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustBloodDialysateResponse () { } ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustDurationResponse.h:82:5: warning: Member variable 'MAdjustDurationResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustDurationResponse () { } ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustEndResponse.h:77:5: warning: Member variable 'MAdjustTreatmentEndResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustTreatmentEndResponse () { } ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustHeparinResponse.h:77:5: warning: Member variable 'MAdjustHeparinResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustHeparinResponse () { } ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustPressuresLimitsResponse.h:86:5: warning: Member variable 'MAdjustPressuresLimitsResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustPressuresLimitsResponse () { } ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustRecirculateResponse.h:77:5: warning: Member variable 'MAdjustRecirculateResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustRecirculateResponse () { } ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustRinsebackResponse.h:77:5: warning: Member variable 'MAdjustRinsebackResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustRinsebackResponse () { } ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustSalineResponse.h:80:5: warning: Member variable 'MAdjustSalineResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustSalineResponse () { } ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationConfirmResponse.h:82:5: warning: Member variable 'MAdjustUltrafiltrationConfirmResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustUltrafiltrationConfirmResponse () { } ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationEditResponse.h:85:5: warning: Member variable 'MAdjustUltrafiltrationEditResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustUltrafiltrationEditResponse () { } ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationEditResponse.h:67:14: warning: The class 'MAdjustUltrafiltrationEditResponse' defines member variable with name 'stringPrefix' also defined in its parent class 'MAdjustUltrafiltrationConfirmResponse'. [duplInheritedMember] QString stringPrefix = "AdjustUFEdit"; ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationConfirmResponse.h:61:14: note: Parent variable 'MAdjustUltrafiltrationConfirmResponse::stringPrefix' QString stringPrefix = "AdjustUFConfirm"; ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationEditResponse.h:67:14: note: Derived variable 'MAdjustUltrafiltrationEditResponse::stringPrefix' QString stringPrefix = "AdjustUFEdit"; ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationEditResponse.h:82:7: warning: The class 'MAdjustUltrafiltrationEditResponse' defines member variable with name '_data' also defined in its parent class 'MAdjustUltrafiltrationConfirmResponse'. [duplInheritedMember] } _data; ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationConfirmResponse.h:79:7: note: Parent variable 'MAdjustUltrafiltrationConfirmResponse::_data' } _data; ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationEditResponse.h:82:7: note: Derived variable 'MAdjustUltrafiltrationEditResponse::_data' } _data; ^ sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationStateResponse.h:78:5: warning: Member variable 'MAdjustUltrafiltrationStateResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAdjustUltrafiltrationStateResponse() { } ^ sources/model/hd/alarm/MAlarmActiveList.h:133:5: warning: Member variable 'MAlarmActiveListResponse::_data' is not initialized in the constructor. [uninitMemberVar] MAlarmActiveListResponse () { } ^ sources/model/hd/alarm/MAlarmCleared.h:72:5: warning: Member variable 'MAlarmCleared::_data' is not initialized in the constructor. [uninitMemberVar] MAlarmCleared () { } ^ sources/model/hd/alarm/MAlarmClearedCondition.h:73:5: warning: Member variable 'MAlarmClearedCondition::_data' is not initialized in the constructor. [uninitMemberVar] MAlarmClearedCondition () { } ^ sources/model/hd/alarm/MAlarmStatusData.h:86:5: warning: Member variable 'MAlarmStatus::_data' is not initialized in the constructor. [uninitMemberVar] MAlarmStatus() { } ^ sources/model/hd/alarm/MAlarmTriggered.h:99:5: warning: Member variable 'MAlarmTriggered::_xata' is not initialized in the constructor. [uninitMemberVar] MAlarmTriggered () { } ^ sources/model/hd/alarm/MAlarmTriggered.h:65:18: style: The function 'parameters' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QVariantList parameters() const; ^ sources/model/MAbstract.h:139:26: note: Virtual function in base class virtual QVariantList parameters () const = 0; ^ sources/model/hd/alarm/MAlarmTriggered.h:65:18: note: Function in derived class QVariantList parameters() const; ^ sources/model/hd/data/MHDAccelerometerData.h:103:5: warning: Member variable 'MHDAccelerometer::_data' is not initialized in the constructor. [uninitMemberVar] MHDAccelerometer () { } ^ sources/model/hd/data/MHDAirBubbleData.h:77:5: warning: Member variable 'MHDAirBubbleData::_data' is not initialized in the constructor. [uninitMemberVar] MHDAirBubbleData () { } ^ sources/model/hd/data/MHDAirTrapData.h:83:5: warning: Member variable 'MHDAirTrapData::_data' is not initialized in the constructor. [uninitMemberVar] MHDAirTrapData () { } ^ sources/model/hd/data/MHDBloodLeakData.h:83:5: warning: Member variable 'MHDBloodLeakData::_data' is not initialized in the constructor. [uninitMemberVar] MHDBloodLeakData () { } ^ sources/model/hd/data/MHDOperationModeData.h:75:5: warning: Member variable 'MHDOperationMode::_data' is not initialized in the constructor. [uninitMemberVar] MHDOperationMode () {} ^ sources/model/hd/data/MHDSyringePumpData.h:106:5: warning: Member variable 'MHDSyringePump::_data' is not initialized in the constructor. [uninitMemberVar] MHDSyringePump () { } ^ sources/model/hd/data/MHDUsageInfoResponse.h:84:5: warning: Member variable 'MHDUsageInfoResponse::_data' is not initialized in the constructor. [uninitMemberVar] MHDUsageInfoResponse () {} ^ sources/model/hd/data/MTreatmentRangesData.h:87:5: warning: Member variable 'MTreatmentRanges::_data' is not initialized in the constructor. [uninitMemberVar] MTreatmentRanges () { } ^ sources/model/hd/data/post/MHDPostFinalResultData.h:74:5: warning: Member variable 'MHDPostFinalResult::_data' is not initialized in the constructor. [uninitMemberVar] MHDPostFinalResult() {} ^ sources/model/hd/data/post/MHDPostSingleResultData.h:77:5: warning: Member variable 'MHDPostSingleResult::_data' is not initialized in the constructor. [uninitMemberVar] MHDPostSingleResult() {} ^ sources/model/hd/data/post/MHDRTCEpochData.h:74:5: warning: Member variable 'MHDRTCEpochData::_data' is not initialized in the constructor. [uninitMemberVar] MHDRTCEpochData () { } ^ sources/model/hd/data/posttreatment/MPostTreatmentStatesData.h:77:5: warning: Member variable 'MPostTreatmentStates::_data' is not initialized in the constructor. [uninitMemberVar] MPostTreatmentStates() { } ^ sources/model/hd/data/pretreatment/MPreTreatmentDisposablesPrimeData.h:72:5: warning: Member variable 'MPreTreatmentDisposablesPrime::_data' is not initialized in the constructor. [uninitMemberVar] MPreTreatmentDisposablesPrime() { } ^ sources/model/hd/data/pretreatment/MPreTreatmentSelfTestDryData.h:75:5: warning: Member variable 'MPreTreatmentSelfTestDry::_data' is not initialized in the constructor. [uninitMemberVar] MPreTreatmentSelfTestDry() { } ^ sources/model/hd/data/pretreatment/MPreTreatmentSelfTestNoCartridgeData.h:75:5: warning: Member variable 'MPreTreatmentSelfTestNoCartridge::_data' is not initialized in the constructor. [uninitMemberVar] MPreTreatmentSelfTestNoCartridge () { } ^ sources/model/hd/data/pretreatment/MPreTreatmentStatesData.h:111:5: warning: Member variable 'MPreTreatmentStates::_data' is not initialized in the constructor. [uninitMemberVar] MPreTreatmentStates() { } ^ sources/model/hd/data/treatment/MTreatmentBloodFlowData.h:96:5: warning: Member variable 'MBloodFlow::_data' is not initialized in the constructor. [uninitMemberVar] MBloodFlow() { } ^ sources/model/hd/data/treatment/MTreatmentBloodPrimeData.h:76:5: warning: Member variable 'MTreatmentBloodPrime::_data' is not initialized in the constructor. [uninitMemberVar] MTreatmentBloodPrime () { } ^ sources/model/hd/data/treatment/MTreatmentDialysateFlowData.h:98:5: warning: Member variable 'MDialysateFlow::_data' is not initialized in the constructor. [uninitMemberVar] MDialysateFlow() { } ^ sources/model/hd/data/treatment/MTreatmentHeparinData.h:78:5: warning: Member variable 'MTreatmentHeparin::_data' is not initialized in the constructor. [uninitMemberVar] MTreatmentHeparin () { } ^ sources/model/hd/data/treatment/MTreatmentOutletFlowData.h:108:5: warning: Member variable 'MOutletFlow::_data' is not initialized in the constructor. [uninitMemberVar] MOutletFlow () { } ^ sources/model/hd/data/treatment/MTreatmentPressureOcclusionData.h:105:5: warning: Member variable 'MPressureOcclusion::_data' is not initialized in the constructor. [uninitMemberVar] MPressureOcclusion () { } ^ sources/model/hd/data/treatment/MTreatmentRecirculateData.h:78:5: warning: Member variable 'MTreatmentRecirculate::_data' is not initialized in the constructor. [uninitMemberVar] MTreatmentRecirculate () { } ^ sources/model/hd/data/treatment/MTreatmentRinsebackData.h:90:5: warning: Member variable 'MTreatmentRinseback::_data' is not initialized in the constructor. [uninitMemberVar] MTreatmentRinseback () { } ^ sources/model/hd/data/treatment/MTreatmentSalineData.h:81:5: warning: Member variable 'MTreatmentSaline::_data' is not initialized in the constructor. [uninitMemberVar] MTreatmentSaline () { } ^ sources/model/hd/data/treatment/MTreatmentStatesData.h:110:5: warning: Member variable 'MTreatmentStates::_data' is not initialized in the constructor. [uninitMemberVar] MTreatmentStates() { } ^ sources/model/hd/data/treatment/MTreatmentStopData.h:76:5: warning: Member variable 'MTreatmentStop::_data' is not initialized in the constructor. [uninitMemberVar] MTreatmentStop () { } ^ sources/model/hd/data/treatment/MTreatmentTimeData.h:79:5: warning: Member variable 'MTreatmentTime::_data' is not initialized in the constructor. [uninitMemberVar] MTreatmentTime () { } ^ sources/model/hd/data/treatmentlog/MTreatmentLogAlarmData.h:81:5: warning: Member variable 'MTreatmentLogAlarmData::_data' is not initialized in the constructor. [uninitMemberVar] MTreatmentLogAlarmData() { } ^ sources/model/hd/data/treatmentlog/MTreatmentLogAvrgeData.h:90:5: warning: Member variable 'MTreatmentLogAvrgeData::_data' is not initialized in the constructor. [uninitMemberVar] MTreatmentLogAvrgeData() { } ^ sources/model/hd/data/treatmentlog/MTreatmentLogEventData.h:81:5: warning: Member variable 'MTreatmentLogEventData::_data' is not initialized in the constructor. [uninitMemberVar] MTreatmentLogEventData() { } ^ sources/model/settings/MSettings.cpp:45:15: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] mKeys += keyValue.key(); ^ sources/model/settings/MSettings.cpp:74:17: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] mValues += keyValue.val(); ^ sources/model/settings/MSettings.cpp:91:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] if ( vKey == keyValue.key() ) return keyValue.val(); ^ sources/storage/Logger.cpp:242:9: style: Condition 'vUseTempPath' is always false [knownConditionTrueFalse] if (vUseTempPath) { ^ sources/storage/Logger.cpp:239:20: note: Assignment 'vUseTempPath=false', assigned value is 0 vUseTempPath = false; ^ sources/storage/Logger.cpp:242:9: note: Condition 'vUseTempPath' is always false if (vUseTempPath) { ^ sources/storage/Logger.cpp:262:10: style: Condition 'ok' is always true [knownConditionTrueFalse] if ( ok && ! setLogPath(LogType::eLogAppED) ) ok = false; ^ sources/storage/Logger.cpp:261:15: note: Assignment 'ok=true', assigned value is 1 bool ok = true; ^ sources/storage/Logger.cpp:262:10: note: Condition 'ok' is always true if ( ok && ! setLogPath(LogType::eLogAppED) ) ok = false; ^ sources/storage/Logger.cpp:200:17: style: The scope of the variable 'notified' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced: void f(int x) { int i = 0; if (x) { // it's safe to move 'int i = 0;' here for (int n = 0; n < 10; ++n) { // it is possible but not safe to move 'int i = 0;' here do_something(&i); } } } When you see this message it is always safe to reduce the variable scope 1 level. [variableScope] static bool notified = false; ^ sources/storage/Settings.cpp:34:13: style: Variable 'err' is assigned a value that is never used. [unreadVariable] int err = Settings::Settings_Error::eError_None; ^ sources/storage/TreatmentLog.cpp:196:41: style: Variable 'mTreatmentDurationFmt' is assigned a value that is never used. [unreadVariable] QString mTreatmentDurationFmt = QTime (0, 0).addSecs(int(vData.mTreatmentDuration )).toString(_timeFormat); ^ sources/storage/TreatmentLog.cpp:197:41: style: Variable 'mActualTreatmentDurationFmt' is assigned a value that is never used. [unreadVariable] QString mActualTreatmentDurationFmt = QTime (0, 0).addSecs(int(vData.mActualTreatmentDuration )).toString(_timeFormat); ^ sources/update/Package.h:79:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fullPath' a value by passing the value to the constructor in the initialization list. [useInitializationList] fullPath = rhs.fullPath; ^ sources/update/Package.h:80:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fileName' a value by passing the value to the constructor in the initialization list. [useInitializationList] fileName = rhs.fileName; ^ sources/update/Package.h:81:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'packageName' a value by passing the value to the constructor in the initialization list. [useInitializationList] packageName = rhs.packageName; ^ sources/update/Package.h:82:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'packageVersionInfo' a value by passing the value to the constructor in the initialization list. [useInitializationList] packageVersionInfo = rhs.packageVersionInfo; ^ sources/update/Package.h:83:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'lastWritten' a value by passing the value to the constructor in the initialization list. [useInitializationList] lastWritten = rhs.lastWritten; ^ sources/update/Package.h:84:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'reserved' a value by passing the value to the constructor in the initialization list. [useInitializationList] reserved = rhs.reserved; ^ sources/update/Package.h:104:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fullPath' a value by passing the value to the constructor in the initialization list. [useInitializationList] fullPath = fullPathStr; ^ sources/update/Package.h:105:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fileName' a value by passing the value to the constructor in the initialization list. [useInitializationList] fileName = fileNameStr; ^ sources/update/Package.h:106:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'packageName' a value by passing the value to the constructor in the initialization list. [useInitializationList] packageName = packageNameStr; ^ sources/update/Package.h:107:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'packageVersionInfo' a value by passing the value to the constructor in the initialization list. [useInitializationList] packageVersionInfo = packageVersionInfoStr; ^ sources/update/Package.h:108:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'lastWritten' a value by passing the value to the constructor in the initialization list. [useInitializationList] lastWritten = lastWrittenTime; ^ sources/update/Package.h:109:9: performance: When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'reserved' a value by passing the value to the constructor in the initialization list. [useInitializationList] reserved = reservedStr; ^ sources/update/MsgLink.h:142:5: style: Class 'MsgLink' has a constructor with 1 argument that is not explicit. Such constructors should in general be explicit for type safety reasons. Using the explicit keyword in the constructor means some mistakes when using the class can be avoided. [noExplicitConstructor] MsgLink(float kbps) : ^ sources/update/UiProtocol.h:54:5: style: Class 'UiProtocol' has a constructor with 1 argument that is not explicit. Such constructors should in general be explicit for type safety reasons. Using the explicit keyword in the constructor means some mistakes when using the class can be avoided. [noExplicitConstructor] UiProtocol(SwUpdateTargetEnum target); ^ sources/update/IDataProvider.h:205:25: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] virtual std::size_t read(std::size_t offset, unsigned char* pBuffer, std::size_t size_bytes) { ^ sources/update/IDataProvider.h:77:25: note: Virtual function in base class virtual std::size_t read(std::size_t offset, unsigned char* pBuffer, std::size_t size_bytes) { ^ sources/update/IDataProvider.h:205:25: note: Function in derived class virtual std::size_t read(std::size_t offset, unsigned char* pBuffer, std::size_t size_bytes) { ^ sources/update/IDataProvider.h:283:25: style: The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] virtual std::size_t read(std::size_t offset, unsigned char* pBuffer, std::size_t size_bytes) { ^ sources/update/IDataProvider.h:77:25: note: Virtual function in base class virtual std::size_t read(std::size_t offset, unsigned char* pBuffer, std::size_t size_bytes) { ^ sources/update/IDataProvider.h:283:25: note: Function in derived class virtual std::size_t read(std::size_t offset, unsigned char* pBuffer, std::size_t size_bytes) { ^ sources/update/UiProtocol.h:286:18: style: The function '_doUpdate' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] virtual void _doUpdate() { ^ sources/update/UiProtocol.h:141:18: note: Virtual function in base class virtual void _doUpdate(); ^ sources/update/UiProtocol.h:286:18: note: Function in derived class virtual void _doUpdate() { ^ sources/update/MsgLink.h:287:67: style: C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_cast and reinterpret_cast. A C-style cast could evaluate to any of those automatically, thus it is considered safer if the programmer explicitly states which kind of cast is expected. See also: https://www.securecoding.cert.org/confluence/display/cplusplus/EXP05-CPP.+Do+not+use+C-style+casts. [cstyleCast] SwUpdateTargetEnum target = (SwUpdateTargetEnum)(((SwUpdateDataBuffer *)msg)->kind); ^ sources/update/MsgLink.h:338:50: style: C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_cast and reinterpret_cast. A C-style cast could evaluate to any of those automatically, thus it is considered safer if the programmer explicitly states which kind of cast is expected. See also: https://www.securecoding.cert.org/confluence/display/cplusplus/EXP05-CPP.+Do+not+use+C-style+casts. [cstyleCast] SwUpdateResponse *resp = (SwUpdateResponse *)pData; ^ sources/update/IDataProvider.h:94:23: style: The scope of the variable 'pBuffer' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced: void f(int x) { int i = 0; if (x) { // it's safe to move 'int i = 0;' here for (int n = 0; n < 10; ++n) { // it is possible but not safe to move 'int i = 0;' here do_something(&i); } } } When you see this message it is always safe to reduce the variable scope 1 level. [variableScope] unsigned char pBuffer[MEMORY_PAGE_SIZE]; ^ sources/update/Package.cpp:530:9: performance: Either inefficient or wrong usage of string::find(). string::starts_with() will be faster if string::find's result is compared with 0, because it will not scan the whole string. If your intention is to check that there are no findings in the string, you should compare with std::string::npos. [stlIfStrFind] if (fullNamePath.find(cacheDirectory) == 0) { ^ sources/update/UiProtocol.h:270:22: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] _targets.emplace_back(DataProvider_File(*p)); ^ sources/update/Package.cpp:541:9: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] { ^ sources/update/Package.cpp:651:9: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] { ^ sources/update/Package.cpp:668:27: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] if (pi._isScript) { ^ sources/update/Package.cpp:707:30: style: Unused variable: rv [unusedVariable] std::vector rv; ^ sources/update/Package.cpp:564:13: performance: Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code. [postfixOperator] it++) ^ sources/update/PackageItem.cpp:187:12: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] rv += item.to_xml(); ^ sources/update/SignRsa.cpp:123:5: warning: Class 'SignRsa' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] _pDigest(new _InternalDigest()), ^ sources/update/SignRsa.cpp:454:9: style: The scope of the variable 'result' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced: void f(int x) { int i = 0; if (x) { // it's safe to move 'int i = 0;' here for (int n = 0; n < 10; ++n) { // it is possible but not safe to move 'int i = 0;' here do_something(&i); } } } When you see this message it is always safe to reduce the variable scope 1 level. [variableScope] int result = 0; // Set to 0=invalid. ^ sources/update/SignRsa.cpp:434:23: style: Variable 'total' is assigned a value that is never used. [unreadVariable] std::size_t total = size_bytes; ^ sources/update/SignRsa.cpp:440:15: style: Variable 'total' is assigned a value that is never used. [unreadVariable] total += size_bytes; ^ sources/update/SignRsa.cpp:454:16: style: Variable 'result' is assigned a value that is never used. [unreadVariable] int result = 0; // Set to 0=invalid. ^ sources/update/UiProtocol.cpp:288:39: style: C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_cast and reinterpret_cast. A C-style cast could evaluate to any of those automatically, thus it is considered safer if the programmer explicitly states which kind of cast is expected. See also: https://www.securecoding.cert.org/confluence/display/cplusplus/EXP05-CPP.+Do+not+use+C-style+casts. [cstyleCast] SwUpdateVerifyResponse *pVerify = (SwUpdateVerifyResponse*)_lastRx; ^ sources/update/UiProtocol.cpp:297:15: style: C-style pointer casting detected. C++ offers four different kinds of casts as replacements: static_cast, const_cast, dynamic_cast and reinterpret_cast. A C-style cast could evaluate to any of those automatically, thus it is considered safer if the programmer explicitly states which kind of cast is expected. See also: https://www.securecoding.cert.org/confluence/display/cplusplus/EXP05-CPP.+Do+not+use+C-style+casts. [cstyleCast] pVerify = (SwUpdateVerifyResponse*)_lastRx; ^ sources/update/UiSwUpdate.cpp:49:9: error: The address of local variable '_hdUpdate' is accessed at non-zero index. [objectIndex] _all[HDFPGA] = &_hdFpgaUpdate; ^ sources/update/UiSwUpdate.cpp:48:16: note: Address of variable taken here. _all[HD] = &_hdUpdate; ^ sources/update/UiSwUpdate.cpp:49:9: note: The address of local variable '_hdUpdate' is accessed at non-zero index. _all[HDFPGA] = &_hdFpgaUpdate; ^ sources/update/UiSwUpdate.cpp:50:9: error: The address of local variable '_hdUpdate' is accessed at non-zero index. [objectIndex] _all[DG] = &_dgUpdate; ^ sources/update/UiSwUpdate.cpp:48:16: note: Address of variable taken here. _all[HD] = &_hdUpdate; ^ sources/update/UiSwUpdate.cpp:50:9: note: The address of local variable '_hdUpdate' is accessed at non-zero index. _all[DG] = &_dgUpdate; ^ sources/update/UiSwUpdate.cpp:51:9: error: The address of local variable '_hdUpdate' is accessed at non-zero index. [objectIndex] _all[DGFPGA] = &_dgFpgaUpdate; ^ sources/update/UiSwUpdate.cpp:48:16: note: Address of variable taken here. _all[HD] = &_hdUpdate; ^ sources/update/UiSwUpdate.cpp:51:9: note: The address of local variable '_hdUpdate' is accessed at non-zero index. _all[DGFPGA] = &_dgFpgaUpdate; ^ sources/update/UiSwUpdate.cpp:52:9: error: The address of local variable '_hdUpdate' is accessed at non-zero index. [objectIndex] _all[LINUX] = &_fileUpdate; ^ sources/update/UiSwUpdate.cpp:48:16: note: Address of variable taken here. _all[HD] = &_hdUpdate; ^ sources/update/UiSwUpdate.cpp:52:9: note: The address of local variable '_hdUpdate' is accessed at non-zero index. _all[LINUX] = &_fileUpdate; ^ sources/update/UiSwUpdate.cpp:78:35: style: Parameter 'dataProviders' can be declared with const [constParameter] std::vector & dataProviders, SwUpdate::IEnterBootLoader * pEnterBL) { ^ sources/update/VSwUpdate.h:211:10: style: The function 'sendEnterBootloader' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] void sendEnterBootloader(bool asHd); ^ sources/update/IEnterBootLoader.h:38:18: note: Virtual function in base class virtual void sendEnterBootloader(bool asHd) { ^ sources/update/VSwUpdate.h:211:10: note: Function in derived class void sendEnterBootloader(bool asHd); ^ sources/update/VSwUpdate.cpp:645:13: style: Condition 'allCompleted' is always true [knownConditionTrueFalse] if (allCompleted && hadUi) { ^ sources/update/VSwUpdate.cpp:640:29: note: Assignment 'allCompleted=true', assigned value is 1 bool allCompleted = true; ^ sources/update/VSwUpdate.cpp:645:13: note: Condition 'allCompleted' is always true if (allCompleted && hadUi) { ^ sources/update/VSwUpdate.cpp:643:19: style: Consider using std::any_of, std::all_of, std::none_of, or std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] hadUi |= s.targetName == "Files"; ^ sources/update/VSwUpdate.cpp:224:31: style: Unused variable: buffer [unusedVariable] std::stringstream buffer; ^ sources/update/VSwUpdate.cpp:504:16: style: Variable 'ignore' is assigned a value that is never used. [unreadVariable] int ignore = system("reboot\n"); ^ sources/update/VSwUpdate.cpp:505:12: style: Variable 'ignore' is assigned a value that is never used. [unreadVariable] ignore += system("reboot"); ^ sources/update/VSwUpdate.cpp:506:12: style: Variable 'ignore' is assigned a value that is never used. [unreadVariable] ignore += system("./bin/systemctl --message=\"Software upgrade\" reboot"); ^ sources/update/VSwUpdate.cpp:822:20: style: Variable 'device' is assigned a value that is never used. [unreadVariable] QString device = ""; ^ sources/utility/format.cpp:98:19: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] mData += fromVariant(item); ^ sources/utility/qrcodegen.cpp:581:56: style: Suspicious expression. Boolean result is used in bitwise operation. The operator '!' and the comparison operators have higher precedence than bitwise operators. It is recommended that the expression is clarified with parentheses. [clarifyCondition] modules.at(y).at(x) = modules.at(y).at(x) ^ (invert & !isFunction.at(y).at(x)); ^ sources/utility/qrcodegen.cpp:651:5: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] dark++; ^ sources/view/settings/VNetworkModel.h:75:14: warning: Virtual function 'rowCount' is called from constructor 'VNetworkModel(QAbstractListModel*parent=nullptr)' at line 28. Dynamic binding is not used. [virtualCallInConstructor] int rowCount (const QModelIndex &parent = QModelIndex() ) const override; ^ sources/view/settings/VNetworkModel.cpp:28:5: note: Calling initConnections initConnections(); ^ sources/view/settings/VNetworkModel.cpp:72:38: note: Calling doScan &_WifiInterface, SLOT( doScan())); ^ sources/view/settings/VNetworkModel.cpp:205:5: note: Calling removeAllRows removeAllRows(); ^ sources/view/settings/VNetworkModel.cpp:118:39: note: Calling rowCount beginRemoveRows(QModelIndex(), 0, rowCount()); ^ sources/view/settings/VNetworkModel.h:75:14: note: rowCount is a virtual function int rowCount (const QModelIndex &parent = QModelIndex() ) const override; ^ sources/view/settings/VNetworkModel.cpp:265:9: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] { ^ sources/view/settings/VNetworkModel.cpp:283:9: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] { ^ sources/view/settings/VSettings.cpp:199:17: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] keyList += keys.join(""); ^ unittests/tst_fileHandler.cpp:95:23: style: Redundant initialization for 'filesCreatedCount'. The initialized value is overwritten before it is read. [redundantInitialization] filesCreatedCount = helperFunction_createFolderFiles(folderPath, "mock_folder", 1, 10); ^ unittests/tst_fileHandler.cpp:85:27: note: filesCreatedCount is initialized int filesCreatedCount = helperFunction_createFolderFiles(folderPath, "mock_folder", 1, 0); ^ unittests/tst_fileHandler.cpp:95:23: note: filesCreatedCount is overwritten filesCreatedCount = helperFunction_createFolderFiles(folderPath, "mock_folder", 1, 10); ^ unittests/tst_messaging.cpp:300:18: style: Variable 'msg.actionId' is reassigned a value before the old one has been used. [redundantAssignment] msg.actionId = Gui::GuiActionType::ID_RawData; ^ unittests/tst_messaging.cpp:285:18: note: msg.actionId is assigned msg.actionId = Gui::GuiActionType::ID_AlarmTriggered; ^ unittests/tst_messaging.cpp:300:18: note: msg.actionId is overwritten msg.actionId = Gui::GuiActionType::ID_RawData; ^ unittests/tst_models.cpp:2494:136: style: Finding the same expression on both sides of an operator is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct. [knownConditionTrueFalse] lastCount = HelperFunctions_tstModel::addRowsForByteData("mTotalTxHours ", errorIndex, 0, (errorIndex-1)*4); errorIndex++; ^ unittests/tst_models.cpp:2487:22: note: 'errorIndex' is assigned value '1' here. int errorIndex = 1; ^ unittests/tst_models.cpp:2494:136: note: Same expression on both sides of '-'. lastCount = HelperFunctions_tstModel::addRowsForByteData("mTotalTxHours ", errorIndex, 0, (errorIndex-1)*4); errorIndex++; ^ unittests/tst_models.cpp:861:14: style: Variable 'lastFlag' is assigned a value that is never used. [unreadVariable] lastFlag = HelperFunctions_tstModel::generate_bitDataRow("mVPd" , errorIndex++, lastFlag + 1); ^ unittests/tst_models.cpp:1752:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 0: { index = 0 ; QVERIFY ( mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:1753:23: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 21: { index = index * sizeof mData._xata.mPriority ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:1754:23: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 22: { index = index * sizeof mData._xata.mRank ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:1755:23: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 23: { index = index * sizeof mData._xata.mPriority ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:2501:15: style: Variable 'lastCount' is assigned a value that is never used. [unreadVariable] lastCount = HelperFunctions_tstModel::addTestDataRow_bitRows("mCrc", errorIndex, (errorIndex-1)*4*8, (errorIndex-1)*4); ^ unittests/tst_models.cpp:2523:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 0: { index = 0 ; QVERIFY ( mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:2524:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 1: { index = index * sizeof mData._data.mTotalTxHours ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:2525:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 2: { index = index * sizeof mData._data.mTotalTxHoursSinceLastService ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:2526:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 3: { index = index * sizeof mData._data.mEpochOfStartOfLastTx ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:2527:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 4: { index = index * sizeof mData._data.mEpochOfLastRecordReset ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:2528:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 5: { index = index * sizeof mData._data.mCrc ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3203:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 0: { index = 0 ; QVERIFY ( mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3204:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 1: { index = index * sizeof mData._data.mMicro ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3205:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 2: { index = index * sizeof mData._data.mMicro ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3206:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 3: { index = index * sizeof mData._data.mMicro ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3207:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 4: { index = index * sizeof mData._data.mBuild ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3208:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 5: { index = index * sizeof mData._data.mFPGAId ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3209:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 6: { index = index * sizeof mData._data.mFPGAMajor; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3210:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 7: { index = index * sizeof mData._data.mFPGAMinor; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3211:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 8: { index = index * sizeof mData._data.mFPGALab ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3212:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 9: { index = index * sizeof mData._data.mFPGALab ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3213:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 10: { index = index * sizeof mData._data.mCompatibilityRev ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3940:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 0: { index = 0 ; QVERIFY ( mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3941:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 1: { index = index * sizeof mData._data.mMicro ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3942:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 2: { index = index * sizeof mData._data.mMicro ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3943:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 3: { index = index * sizeof mData._data.mMicro ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3944:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 4: { index = index * sizeof mData._data.mBuild ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3945:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 5: { index = index * sizeof mData._data.mFPGAId ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3946:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 6: { index = index * sizeof mData._data.mFPGAMajor; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3947:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 7: { index = index * sizeof mData._data.mFPGAMinor; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3948:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 8: { index = index * sizeof mData._data.mFPGALab ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3949:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 9: { index = index * sizeof mData._data.mFPGALab ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:3950:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 10: { index = index * sizeof mData._data.mCompatibilityRev ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:4248:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 0: { index = 0 ; QVERIFY ( mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:4249:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 1: { index = index * sizeof mData._data.mFlags ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:4250:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 2: { index = index * sizeof mData._data.mSystolic ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:4251:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 3: { index = index * sizeof mData._data.mDiastolic ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:4252:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 4: { index = index * sizeof mData._data.mMeanArterial ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:4253:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 5: { index = index * sizeof mData._data.mYear ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:4254:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 6: { index = index * sizeof mData._data.mMonth ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:4255:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 7: { index = index * sizeof mData._data.mDay ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:4256:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 8: { index = index * sizeof mData._data.mHour ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:4257:22: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 9: { index = index * sizeof mData._data.mMinute ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:4258:23: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 10: { index = index * sizeof mData._data.mSecond ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:4259:23: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 11: { index = index * sizeof mData._data.mPulseRate ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:4260:23: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 12: { index = index * sizeof mData._data.mUserId ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_models.cpp:4261:23: style: Variable 'index' is assigned a value that is never used. [unreadVariable] case 13: { index = index * sizeof mData._data.mStatus ; QVERIFY (! mData.fromByteArray(data)); QCOMPARE( expectedIndex, startIndex ); } break; ^ unittests/tst_views.cpp:97:15: warning: Opposite inner 'if' condition leads to a dead code block (outer condition is 'i<15' and inner condition is 'i==15'). [oppositeInnerCondition] if (i == 15) { ^ unittests/tst_views.cpp:76:23: note: outer condition: i<15 for (int i = 0; i < 15; ++i) { ^ unittests/tst_views.cpp:97:15: note: opposite inner condition: i==15 if (i == 15) { ^ unittests/tst_views.cpp:181:26: style: Variable 'obj["bloodFlowRate"]' is reassigned a value before the old one has been used. [redundantAssignment] obj["bloodFlowRate"] = 500; ^ unittests/tst_views.cpp:180:26: note: obj["bloodFlowRate"] is assigned obj["bloodFlowRate"] = 100; ^ unittests/tst_views.cpp:181:26: note: obj["bloodFlowRate"] is overwritten obj["bloodFlowRate"] = 500; ^ unittests/tst_views.cpp:183:30: style: Variable 'obj["dialysateFlowRate"]' is reassigned a value before the old one has been used. [redundantAssignment] obj["dialysateFlowRate"] = 600; ^ unittests/tst_views.cpp:182:30: note: obj["dialysateFlowRate"] is assigned obj["dialysateFlowRate"] = 100; ^ unittests/tst_views.cpp:183:30: note: obj["dialysateFlowRate"] is overwritten obj["dialysateFlowRate"] = 600; ^ unittests/tst_views.cpp:188:31: style: Variable 'obj["heparinBolusVolume"]' is reassigned a value before the old one has been used. [redundantAssignment] obj["heparinBolusVolume"] = 2000; ^ unittests/tst_views.cpp:187:31: note: obj["heparinBolusVolume"] is assigned obj["heparinBolusVolume"] = 100; ^ unittests/tst_views.cpp:188:31: note: obj["heparinBolusVolume"] is overwritten obj["heparinBolusVolume"] = 2000; ^ unittests/tst_views.cpp:191:30: style: Variable 'obj["salineBolusVolume"]' is reassigned a value before the old one has been used. [redundantAssignment] obj["salineBolusVolume"] = 300; ^ unittests/tst_views.cpp:190:30: note: obj["salineBolusVolume"] is assigned obj["salineBolusVolume"] = 100; ^ unittests/tst_views.cpp:191:30: note: obj["salineBolusVolume"] is overwritten obj["salineBolusVolume"] = 300; ^ unittests/tst_views.cpp:207:26: style: Variable 'obj["dialysateTemp"]' is reassigned a value before the old one has been used. [redundantAssignment] obj["dialysateTemp"] = 39; ^ unittests/tst_views.cpp:206:26: note: obj["dialysateTemp"] is assigned obj["dialysateTemp"] = 35; ^ unittests/tst_views.cpp:207:26: note: obj["dialysateTemp"] is overwritten obj["dialysateTemp"] = 39; ^ unittests/tst_views.cpp:209:40: style: Variable 'obj["arterialPressureLimitWindow"]' is reassigned a value before the old one has been used. [redundantAssignment] obj["arterialPressureLimitWindow"] = 200; ^ unittests/tst_views.cpp:208:40: note: obj["arterialPressureLimitWindow"] is assigned obj["arterialPressureLimitWindow"] = -300; ^ unittests/tst_views.cpp:209:40: note: obj["arterialPressureLimitWindow"] is overwritten obj["arterialPressureLimitWindow"] = 200; ^ unittests/tst_views.cpp:213:38: style: Variable 'obj["venousPressureLimitWindow"]' is reassigned a value before the old one has been used. [redundantAssignment] obj["venousPressureLimitWindow"] = 600; ^ unittests/tst_views.cpp:212:38: note: obj["venousPressureLimitWindow"] is assigned obj["venousPressureLimitWindow"] = -100; ^ unittests/tst_views.cpp:213:38: note: obj["venousPressureLimitWindow"] is overwritten obj["venousPressureLimitWindow"] = 600; ^ unittests/tst_views.cpp:219:30: style: Variable 'obj["rinsebackFlowRate"]' is reassigned a value before the old one has been used. [redundantAssignment] obj["rinsebackFlowRate"] = 150; ^ unittests/tst_views.cpp:218:30: note: obj["rinsebackFlowRate"] is assigned obj["rinsebackFlowRate"] = 50; ^ unittests/tst_views.cpp:219:30: note: obj["rinsebackFlowRate"] is overwritten obj["rinsebackFlowRate"] = 150; ^ unittests/tst_views.cpp:472:13: style: Redundant initialization for 'options'. The initialized value is overwritten before it is read. [redundantInitialization] options = QStringList() << "Dimesol - BC-201"; ^ unittests/tst_views.cpp:464:25: note: options is initialized QStringList options = QStringList() << "08-1251-1" << "08-2251-0" << "08-3251-9"; ^ unittests/tst_views.cpp:472:13: note: options is overwritten options = QStringList() << "Dimesol - BC-201"; ^ unittests/tst_views.cpp:480:13: style: Variable 'options' is reassigned a value before the old one has been used. [redundantAssignment] options = QStringList() << "Nipro Elisio-H 17" ^ unittests/tst_views.cpp:472:13: note: options is assigned options = QStringList() << "Dimesol - BC-201"; ^ unittests/tst_views.cpp:480:13: note: options is overwritten options = QStringList() << "Nipro Elisio-H 17" ^ unittests/tst_views.cpp:480:13: style: Variable 'options' is assigned a value that is never used. [unreadVariable] options = QStringList() << "Nipro Elisio-H 17" ^ sources/update/UpdateProtocol.c:341:0: style: The function 'SwUpdate_createSecurityForData' is never used. [unusedFunction] ^ sources/update/UpdateProtocol.c:372:0: style: The function 'SwUpdate_decodeData' is never used. [unusedFunction] ^ sources/update/UpdateProtocol.c:57:0: style: The function 'SwUpdate_getTarget' is never used. [unusedFunction] ^ sources/update/UpdateProtocol.c:511:0: style: The function 'SwUpdate_isCryptoSignedOk' is never used. [unusedFunction] ^ sources/update/UpdateProtocol.c:405:0: style: The function 'SwUpdate_resetVerificationData' is never used. [unusedFunction] ^ sources/update/UpdateProtocol.c:422:0: style: The function 'SwUpdate_updateVerificationData' is never used. [unusedFunction] ^ unittests/tst_views.cpp:398:0: style: The function 'VCreateTreatment_check_init' is never used. [unusedFunction] ^ unittests/tst_views.cpp:612:0: style: The function 'VCreateTreatment_enums' is never used. [unusedFunction] ^ unittests/tst_views.cpp:661:0: style: The function 'VCreateTreatment_fw_validation_response' is never used. [unusedFunction] ^ unittests/tst_views.cpp:178:0: style: The function 'VCreateTreatment_init_ranges' is never used. [unusedFunction] ^ unittests/tst_views.cpp:628:0: style: The function 'VCreateTreatment_json' is never used. [unusedFunction] ^ unittests/tst_views.cpp:729:0: style: The function 'VCreateTreatment_load_parameter_ranges' is never used. [unusedFunction] ^ unittests/tst_views.cpp:553:0: style: The function 'VCreateTreatment_save' is never used. [unusedFunction] ^ unittests/tst_views.cpp:531:0: style: The function 'VCreateTreatment_save_csv' is never used. [unusedFunction] ^ unittests/tst_views.cpp:226:0: style: The function 'VCreateTreatment_validation_ranges' is never used. [unusedFunction] ^ unittests/tst_views.cpp:30:0: style: The function 'VTreatmentAdjustmentsResponse_text_NoReason' is never used. [unusedFunction] ^ unittests/tst_views.cpp:37:0: style: The function 'VTreatmentAdjustmentsResponse_text_WAReason' is never used. [unusedFunction] ^ sources/view/settings/VSettings.cpp:323:0: style: The function 'checkServicePasswordSet' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:312:0: style: The function 'cleanup' is never used. [unusedFunction] ^ unittests/tst_acknow.cpp:164:0: style: The function 'cleanupTestCase' is never used. [unusedFunction] ^ sources/update/SignRsa.cpp:385:0: style: The function 'clear_digest' is never used. [unusedFunction] ^ sources/update/VSwUpdate.cpp:537:0: style: The function 'clear_progress' is never used. [unusedFunction] ^ sources/update/UpdateProtocol.c:209:0: style: The function 'crc32Fast' is never used. [unusedFunction] ^ sources/update/SignRsa.cpp:166:0: style: The function 'create_keys' is never used. [unusedFunction] ^ sources/utility/encryption.cpp:42:0: style: The function 'cryptClose' is never used. [unusedFunction] ^ sources/utility/encryption.cpp:36:0: style: The function 'cryptFormat' is never used. [unusedFunction] ^ sources/utility/encryption.cpp:30:0: style: The function 'cryptOpen' is never used. [unusedFunction] ^ sources/view/hd/adjustment/pretreatment/VPreTreatmentAdjustmentPatientConnectionBegin.cpp:49:0: style: The function 'doBegin' is never used. [unusedFunction] ^ sources/view/VTreatmentCreate.cpp:84:0: style: The function 'doCancel' is never used. [unusedFunction] ^ sources/view/settings/VNetworkModel.cpp:246:0: style: The function 'doCheckIfConnected' is never used. [unusedFunction] ^ sources/view/hd/alarm/VAlarmStatus.cpp:95:0: style: The function 'doClearCondition' is never used. [unusedFunction] ^ sources/view/VTreatmentCreate.cpp:73:0: style: The function 'doConfirm' is never used. [unusedFunction] ^ sources/view/hd/adjustment/treatment/VTreatmentAdjustmentRecirculate.cpp:83:0: style: The function 'doConfirmDisconnect' is never used. [unusedFunction] ^ sources/view/hd/adjustment/treatment/VTreatmentAdjustmentRecirculate.cpp:59:0: style: The function 'doConfirmReconnect' is never used. [unusedFunction] ^ sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:90:0: style: The function 'doDisinfectCancel' is never used. [unusedFunction] ^ sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:137:0: style: The function 'doDisinfectChemFlush' is never used. [unusedFunction] ^ sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:128:0: style: The function 'doDisinfectChemical' is never used. [unusedFunction] ^ sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:100:0: style: The function 'doDisinfectClear' is never used. [unusedFunction] ^ sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:151:0: style: The function 'doDisinfectConfirm' is never used. [unusedFunction] ^ sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:110:0: style: The function 'doDisinfectFlush' is never used. [unusedFunction] ^ sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:119:0: style: The function 'doDisinfectHeat' is never used. [unusedFunction] ^ sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:78:0: style: The function 'doDisinfectInitiate' is never used. [unusedFunction] ^ sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:146:0: style: The function 'doDisinfectROPermeate' is never used. [unusedFunction] ^ sources/gui/GuiView.cpp:258:0: style: The function 'doExportListInsert' is never used. [unusedFunction] ^ sources/gui/GuiView.cpp:301:0: style: The function 'doExportListPercent' is never used. [unusedFunction] ^ sources/gui/GuiView.cpp:289:0: style: The function 'doExportListSelect' is never used. [unusedFunction] ^ sources/gui/GuiView.cpp:418:0: style: The function 'doGenerateQRImage' is never used. [unusedFunction] ^ sources/view/VTreatmentCreate(legacy).cpp:504:0: style: The function 'doGetPrescriptionParameterValues' is never used. [unusedFunction] ^ sources/view/settings/VDateTime.cpp:59:0: style: The function 'doInit' is never used. [unusedFunction] ^ sources/device/DeviceView.cpp:136:0: style: The function 'doInitBluetoothPairedQuery' is never used. [unusedFunction] ^ sources/device/DeviceView.cpp:111:0: style: The function 'doInitBluetoothPairedReset' is never used. [unusedFunction] ^ sources/device/DeviceView.cpp:37:0: style: The function 'doInitBrightness' is never used. [unusedFunction] ^ sources/device/DeviceView.cpp:71:0: style: The function 'doInitCryptSetup' is never used. [unusedFunction] ^ sources/device/DeviceView.cpp:225:0: style: The function 'doInitDecommission' is never used. [unusedFunction] ^ sources/device/DeviceView.cpp:196:0: style: The function 'doInitFactoryReset' is never used. [unusedFunction] ^ sources/device/DeviceView.cpp:161:0: style: The function 'doInitRootSSHAccess' is never used. [unusedFunction] ^ sources/view/hd/adjustment/pretreatment/VPreTreatmentAdjustmentInitTreatment.cpp:49:0: style: The function 'doInitiate' is never used. [unusedFunction] ^ sources/view/VEventSpy.cpp:149:0: style: The function 'doMouseReset' is never used. [unusedFunction] ^ sources/view/hd/adjustment/posttreatment/VPostTreatmentAdjustPatientDisconnectionConfirm.cpp:35:0: style: The function 'doNotify' is never used. [unusedFunction] ^ sources/view/hd/adjustment/treatment/VTreatmentAdjustmentUltrafiltrationConfirm.cpp:66:0: style: The function 'doOptionDuration' is never used. [unusedFunction] ^ sources/view/hd/adjustment/treatment/VTreatmentAdjustmentUltrafiltrationConfirm.cpp:54:0: style: The function 'doOptionRate' is never used. [unusedFunction] ^ sources/view/hd/adjustment/treatment/VTreatmentAdjustmentHeparin.cpp:41:0: style: The function 'doPause' is never used. [unusedFunction] ^ sources/view/hd/adjustment/pretreatment/VPreTreatmentAdjustmentDisposablesPrime.cpp:49:0: style: The function 'doPrime' is never used. [unusedFunction] ^ sources/view/hd/adjustment/treatment/VTreatmentAdjustmentRecirculate.cpp:51:0: style: The function 'doReconnect' is never used. [unusedFunction] ^ sources/view/hd/adjustment/posttreatment/VPostTreatmentAdjustTreatmentLog.cpp:54:0: style: The function 'doRequest' is never used. [unusedFunction] ^ sources/view/hd/adjustment/common/VCommonAdjustmentVitals.cpp:99:0: style: The function 'doReset' is never used. [unusedFunction] ^ sources/view/hd/adjustment/pretreatment/VPreTreatmentAdjustmentWaterSample.cpp:64:0: style: The function 'doResult' is never used. [unusedFunction] ^ sources/view/hd/adjustment/treatment/VTreatmentAdjustmentHeparin.cpp:51:0: style: The function 'doResume' is never used. [unusedFunction] ^ sources/view/hd/adjustment/pretreatment/VPreTreatmentAdjustmentWaterSample.cpp:51:0: style: The function 'doSample' is never used. [unusedFunction] ^ sources/view/settings/VNetworkModel.cpp:370:0: style: The function 'doSetDNS' is never used. [unusedFunction] ^ sources/view/settings/VNetworkModel.cpp:352:0: style: The function 'doSetGateway' is never used. [unusedFunction] ^ sources/view/settings/VNetworkModel.cpp:343:0: style: The function 'doSetIPAddress' is never used. [unusedFunction] ^ sources/view/settings/VNetworkModel.cpp:361:0: style: The function 'doSetSubnetMask' is never used. [unusedFunction] ^ sources/view/hd/alarm/VAlarmStatus.cpp:78:0: style: The function 'doSilence' is never used. [unusedFunction] ^ sources/view/hd/adjustment/common/VCommonAdjustmentVitals.cpp:87:0: style: The function 'doSkip' is never used. [unusedFunction] ^ sources/view/hd/adjustment/treatment/VTreatmentAdjustmentSaline.cpp:58:0: style: The function 'doStop' is never used. [unusedFunction] ^ sources/view/VEventSpy.cpp:192:0: style: The function 'doTouchReset' is never used. [unusedFunction] ^ sources/view/hd/adjustment/treatment/VTreatmentAdjustmentRecirculate.cpp:75:0: style: The function 'doTreatmentEnd' is never used. [unusedFunction] ^ sources/view/hd/alarm/VAlarmStatus.cpp:57:0: style: The function 'doUserActionEnd' is never used. [unusedFunction] ^ sources/view/hd/alarm/VAlarmStatus.cpp:67:0: style: The function 'doUserActionOk' is never used. [unusedFunction] ^ sources/view/hd/alarm/VAlarmStatus.cpp:37:0: style: The function 'doUserActionResume' is never used. [unusedFunction] ^ sources/view/hd/alarm/VAlarmStatus.cpp:47:0: style: The function 'doUserActionRinseback' is never used. [unusedFunction] ^ sources/update/Obfuscate.cpp:41:0: style: The function 'encode' is never used. [unusedFunction] ^ sources/utility/qrcodegen.cpp:372:0: style: The function 'getErrorCorrectionLevel' is never used. [unusedFunction] ^ sources/utility/qrcodegen.cpp:377:0: style: The function 'getMask' is never used. [unusedFunction] ^ sources/utility/qrcodegen.cpp:362:0: style: The function 'getVersion' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:31:0: style: The function 'initTestCase' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:35:0: style: The function 'initTestCase_data' is never used. [unusedFunction] ^ sources/view/hd/alarm/VAlarmStatus.cpp:205:0: style: The function 'instructionKeys' is never used. [unusedFunction] ^ sources/view/hd/alarm/VAlarmStatus.cpp:206:0: style: The function 'instructionValues' is never used. [unusedFunction] ^ sources/view/settings/VSettings.cpp:256:0: style: The function 'isPasswordValid' is never used. [unusedFunction] ^ sources/view/settings/VSettings.cpp:298:0: style: The function 'isServicePasswordMatch' is never used. [unusedFunction] ^ main.cpp:427:0: style: The function 'lockdown' is never used. [unusedFunction] ^ unittests/tst_logging.cpp:62:0: style: The function 'logDatum' is never used. [unusedFunction] ^ unittests/tst_logging.cpp:70:0: style: The function 'logError' is never used. [unusedFunction] ^ unittests/tst_logging.cpp:115:0: style: The function 'logError_Unhandled_TreatmentStates' is never used. [unusedFunction] ^ unittests/tst_logging.cpp:87:0: style: The function 'logError_gDisableUnhandledReport_False' is never used. [unusedFunction] ^ unittests/tst_logging.cpp:102:0: style: The function 'logError_gDisableUnhandledReport_True' is never used. [unusedFunction] ^ unittests/tst_logging.cpp:54:0: style: The function 'logEvent' is never used. [unusedFunction] ^ unittests/tst_logging.cpp:78:0: style: The function 'logUnknown' is never used. [unusedFunction] ^ sources/utility/qrcodegen.cpp:143:0: style: The function 'makeEci' is never used. [unusedFunction] ^ sources/bluetooth/BluetoothInterface.cpp:1209:0: style: The function 'mimic' is never used. [unusedFunction] ^ sources/utility/encryption.cpp:48:0: style: The function 'mkfsExt4' is never used. [unusedFunction] ^ sources/storage/FileHandler.cpp:145:0: style: The function 'moveFolder' is never used. [unusedFunction] ^ unittests/tst_logging.cpp:145:0: style: The function 'readUnknown' is never used. [unusedFunction] ^ sources/bluetooth/BluetoothInterface.cpp:1289:0: style: The function 'requestBattery' is never used. [unusedFunction] ^ sources/bluetooth/BluetoothInterface.cpp:1276:0: style: The function 'requestInformation' is never used. [unusedFunction] ^ sources/bluetooth/BluetoothInterface.cpp:1257:0: style: The function 'requestMeasurements' is never used. [unusedFunction] ^ sources/view/settings/VBluetooth.cpp:79:0: style: The function 'roleNames' is never used. [unusedFunction] ^ sources/update/VSwUpdate.cpp:297:0: style: The function 'rowClicked' is never used. [unusedFunction] ^ sources/update/SignRsa.cpp:200:0: style: The function 'save_keys' is never used. [unusedFunction] ^ sources/device/DeviceController.cpp:281:0: style: The function 'sdcardSpaceCheck' is never used. [unusedFunction] ^ unittests/tst_logging.cpp:131:0: style: The function 'setLogPath_F' is never used. [unusedFunction] ^ unittests/tst_logging.cpp:138:0: style: The function 'setLogPath_T' is never used. [unusedFunction] ^ unittests/tst_logging.cpp:151:0: style: The function 'setLogPath_TreatmentType' is never used. [unusedFunction] ^ sources/device/DeviceController.cpp:382:0: style: The function 'settingsPartitionSpaceCheck' is never used. [unusedFunction] ^ sources/update/SignRsa.cpp:407:0: style: The function 'sign_data' is never used. [unusedFunction] ^ sources/update/SignRsa.cpp:424:0: style: The function 'sign_file' is never used. [unusedFunction] ^ sources/update/VSwUpdate.cpp:275:0: style: The function 'startStopBtnClicked' is never used. [unusedFunction] ^ sources/update/Package.cpp:120:0: style: The function 'targetsAvailable' is never used. [unusedFunction] ^ sources/MainTimer.cpp:137:0: style: The function 'timerEvent' is never used. [unusedFunction] ^ unittests/tst_acknow.cpp:62:0: style: The function 'tst_AcknowModel_Init' is never used. [unusedFunction] ^ unittests/tst_acknow.cpp:89:0: style: The function 'tst_AcknowModel_Receive_Acknow' is never used. [unusedFunction] ^ unittests/tst_acknow.cpp:71:0: style: The function 'tst_AcknowModel_Receive_Normal' is never used. [unusedFunction] ^ unittests/tst_acknow.cpp:118:0: style: The function 'tst_AcknowModel_Transmit_Acknow' is never used. [unusedFunction] ^ unittests/tst_acknow.cpp:107:0: style: The function 'tst_AcknowModel_Transmit_Normal' is never used. [unusedFunction] ^ unittests/tst_acknow.cpp:134:0: style: The function 'tst_AcknowModel_onAcknowReceive_Correct' is never used. [unusedFunction] ^ unittests/tst_acknow.cpp:157:0: style: The function 'tst_AcknowModel_onAcknowReceive_Incorrect' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:767:0: style: The function 'tst_AlarmGenerator_setBits_OutOfRange' is never used. [unusedFunction] ^ unittests/tst_initializations.cpp:30:0: style: The function 'tst_ApplicationController_init' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:45:0: style: The function 'tst_CanInterface_Connect_Error_Interface' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:55:0: style: The function 'tst_CanInterface_Connect_NoError' is never used. [unusedFunction] ^ unittests/tst_models.cpp:674:0: style: The function 'tst_DGDrainPumpData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:640:0: style: The function 'tst_DGDrainPumpData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:960:0: style: The function 'tst_DGHeatersData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:910:0: style: The function 'tst_DGHeatersData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1019:0: style: The function 'tst_DGLoadCellReadingsData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:997:0: style: The function 'tst_DGLoadCellReadingsData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:722:0: style: The function 'tst_DGOperationMode' is never used. [unusedFunction] ^ unittests/tst_models.cpp:707:0: style: The function 'tst_DGOperationMode_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:609:0: style: The function 'tst_DGPressuresData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:582:0: style: The function 'tst_DGPressuresData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:550:0: style: The function 'tst_DGROPumpData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:519:0: style: The function 'tst_DGROPumpData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:805:0: style: The function 'tst_DGReservoirData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:750:0: style: The function 'tst_DGReservoirData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1074:0: style: The function 'tst_DGTemperaturesData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1048:0: style: The function 'tst_DGTemperaturesData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:865:0: style: The function 'tst_DGValvesStates' is never used. [unusedFunction] ^ unittests/tst_models.cpp:842:0: style: The function 'tst_DGValvesStates_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4361:0: style: The function 'tst_DG_headerCoverage' is never used. [unusedFunction] ^ unittests/tst_initializations.cpp:35:0: style: The function 'tst_DeviceController_init' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:85:0: style: The function 'tst_FrameInterface_ActionTransmit_KeepAlive' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:115:0: style: The function 'tst_FrameInterface_ActionTransmit_PowerOff' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:99:0: style: The function 'tst_FrameInterface_ActionTransmit_PowerOff_Accepted' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:107:0: style: The function 'tst_FrameInterface_ActionTransmit_PowerOff_Rejected' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:123:0: style: The function 'tst_FrameInterface_ActionTransmit_Raw' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:134:0: style: The function 'tst_FrameInterface_ActionTransmit_ShortPayload' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:142:0: style: The function 'tst_FrameInterface_ActionTransmit_Unknown' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:201:0: style: The function 'tst_FrameInterface_FrameReceived_CRC_Error' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:188:0: style: The function 'tst_FrameInterface_FrameReceived_Channel_Incorrect' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:175:0: style: The function 'tst_FrameInterface_FrameReceived_Channel_NotListen' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:279:0: style: The function 'tst_FrameInterface_FrameReceived_LongFrame_AlarmStatus_LessData' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:240:0: style: The function 'tst_FrameInterface_FrameReceived_LongFrame_BloodFlow' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:260:0: style: The function 'tst_FrameInterface_FrameReceived_LongFrame_BloodFlow_LessData' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:227:0: style: The function 'tst_FrameInterface_FrameReceived_LongFrame_Error' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:149:0: style: The function 'tst_FrameInterface_FrameReceived_PowerOff' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:162:0: style: The function 'tst_FrameInterface_FrameReceived_PowerOff_Timeout' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:214:0: style: The function 'tst_FrameInterface_FrameReceived_ShortFrame_Error' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:302:0: style: The function 'tst_FrameInterface_FrameReceived_removeHead_EmptyList' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:67:0: style: The function 'tst_FrameInterface_Init' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:79:0: style: The function 'tst_FrameInterface_ReInit' is never used. [unusedFunction] ^ unittests/tst_canbus.cpp:92:0: style: The function 'tst_FrameInterface_TransmitFrame_LongerData' is never used. [unusedFunction] ^ unittests/tst_initializations.cpp:40:0: style: The function 'tst_FrameInterface_init' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4463:0: style: The function 'tst_HD_headerCoverage' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1847:0: style: The function 'tst_MAbstractDynamic' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1766:0: style: The function 'tst_MAbstractDynamic_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:99:0: style: The function 'tst_MAdjustBloodDialysateResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:76:0: style: The function 'tst_MAdjustBloodDialysateResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3793:0: style: The function 'tst_MAdjustDGCleaningUsageResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3778:0: style: The function 'tst_MAdjustDGCleaningUsageResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3832:0: style: The function 'tst_MAdjustDGDateTimeResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3828:0: style: The function 'tst_MAdjustDGDateTimeResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3602:0: style: The function 'tst_MAdjustDisinfectModeResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3598:0: style: The function 'tst_MAdjustDisinfectModeResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3571:0: style: The function 'tst_MAdjustDisinfectStartResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3567:0: style: The function 'tst_MAdjustDisinfectStartResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3540:0: style: The function 'tst_MAdjustDisposablesConfirmResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3536:0: style: The function 'tst_MAdjustDisposablesConfirmResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3509:0: style: The function 'tst_MAdjustDisposablesPrimeResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3505:0: style: The function 'tst_MAdjustDisposablesPrimeResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3664:0: style: The function 'tst_MAdjustDisposablesRemovalConfirmResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3660:0: style: The function 'tst_MAdjustDisposablesRemovalConfirmResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:210:0: style: The function 'tst_MAdjustDurationResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:187:0: style: The function 'tst_MAdjustDurationResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3065:0: style: The function 'tst_MAdjustHDAlarmVolumeResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3061:0: style: The function 'tst_MAdjustHDAlarmVolumeResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3096:0: style: The function 'tst_MAdjustHDDateTimeResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3092:0: style: The function 'tst_MAdjustHDDateTimeResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2149:0: style: The function 'tst_MAdjustInitTreatmentResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2134:0: style: The function 'tst_MAdjustInitTreatmentResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3477:0: style: The function 'tst_MAdjustPatientConnectionBeginResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3473:0: style: The function 'tst_MAdjustPatientConnectionBeginResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3446:0: style: The function 'tst_MAdjustPatientConnectionConfirmResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3442:0: style: The function 'tst_MAdjustPatientConnectionConfirmResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3633:0: style: The function 'tst_MAdjustPatientDisconnectionConfirmResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3629:0: style: The function 'tst_MAdjustPatientDisconnectionConfirmResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:487:0: style: The function 'tst_MAdjustPressuresLimitsResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:460:0: style: The function 'tst_MAdjustPressuresLimitsResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3289:0: style: The function 'tst_MAdjustRecirculateResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3285:0: style: The function 'tst_MAdjustRecirculateResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3258:0: style: The function 'tst_MAdjustRinsebackResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3254:0: style: The function 'tst_MAdjustRinsebackResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3352:0: style: The function 'tst_MAdjustSalineResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3348:0: style: The function 'tst_MAdjustSalineResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3863:0: style: The function 'tst_MAdjustServiceDatesDGResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3859:0: style: The function 'tst_MAdjustServiceDatesDGResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3227:0: style: The function 'tst_MAdjustServiceDatesHDResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3223:0: style: The function 'tst_MAdjustServiceDatesHDResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3127:0: style: The function 'tst_MAdjustServiceModeResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3123:0: style: The function 'tst_MAdjustServiceModeResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3415:0: style: The function 'tst_MAdjustStartTreatmentResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3411:0: style: The function 'tst_MAdjustStartTreatmentResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3321:0: style: The function 'tst_MAdjustTreatmentEndResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3317:0: style: The function 'tst_MAdjustTreatmentEndResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2259:0: style: The function 'tst_MAdjustTreatmentLogResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2218:0: style: The function 'tst_MAdjustTreatmentLogResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:430:0: style: The function 'tst_MAdjustUltrafiltrationConfirmResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:403:0: style: The function 'tst_MAdjustUltrafiltrationConfirmResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:370:0: style: The function 'tst_MAdjustUltrafiltrationEditResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:331:0: style: The function 'tst_MAdjustUltrafiltrationEditResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:258:0: style: The function 'tst_MAdjustUltrafiltrationInitResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:239:0: style: The function 'tst_MAdjustUltrafiltrationInitResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:304:0: style: The function 'tst_MAdjustUltrafiltrationStateResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:285:0: style: The function 'tst_MAdjustUltrafiltrationStateResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3923:0: style: The function 'tst_MAdjustVersionsDGResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3891:0: style: The function 'tst_MAdjustVersionsDGResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3186:0: style: The function 'tst_MAdjustVersionsHDResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3154:0: style: The function 'tst_MAdjustVersionsHDResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3384:0: style: The function 'tst_MAdjustWaterSampleResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3380:0: style: The function 'tst_MAdjustWaterSampleResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4352:0: style: The function 'tst_MAdjustmentTreatmentParametersRequest' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4305:0: style: The function 'tst_MAlarmAcknowledgeRequest' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3709:0: style: The function 'tst_MAlarmActiveListResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3692:0: style: The function 'tst_MAlarmActiveListResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1904:0: style: The function 'tst_MAlarmCleared' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3751:0: style: The function 'tst_MAlarmClearedCondition' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3747:0: style: The function 'tst_MAlarmClearedCondition_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1894:0: style: The function 'tst_MAlarmCleared_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1682:0: style: The function 'tst_MAlarmStatus' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1658:0: style: The function 'tst_MAlarmStatus_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1643:0: style: The function 'tst_MAlarmStatus_text' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1736:0: style: The function 'tst_MAlarmTriggered' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1712:0: style: The function 'tst_MAlarmTriggered_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1381:0: style: The function 'tst_MBloodFlowData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1338:0: style: The function 'tst_MBloodFlowData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4323:0: style: The function 'tst_MConfirmTreatmentRequest' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4061:0: style: The function 'tst_MDGAccelerometer' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4048:0: style: The function 'tst_MDGAccelerometer_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4010:0: style: The function 'tst_MDGConductivityData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3993:0: style: The function 'tst_MDGConductivityData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4098:0: style: The function 'tst_MDGFilterFlush' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4094:0: style: The function 'tst_MDGFilterFlush_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4158:0: style: The function 'tst_MDGPostFinalResult' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4154:0: style: The function 'tst_MDGPostFinalResult_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4128:0: style: The function 'tst_MDGPostSingleResult' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4124:0: style: The function 'tst_MDGPostSingleResult_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1459:0: style: The function 'tst_MDialysateFlowData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1416:0: style: The function 'tst_MDialysateFlowData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4791:0: style: The function 'tst_MDisinfectAdjustModeRequests_ToStrings' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4279:0: style: The function 'tst_MDuetConfirmHDi' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4272:0: style: The function 'tst_MDuetConfirmHDi_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3965:0: style: The function 'tst_MDuetRoWaterModeDGr' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3961:0: style: The function 'tst_MDuetRoWaterModeDGr_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4333:0: style: The function 'tst_MEndTreatmentRequest' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2448:0: style: The function 'tst_MHDAccelerometer' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2434:0: style: The function 'tst_MHDAccelerometer_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2542:0: style: The function 'tst_MHDAirBubbleData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2538:0: style: The function 'tst_MHDAirBubbleData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2407:0: style: The function 'tst_MHDAirTrapData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2403:0: style: The function 'tst_MHDAirTrapData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2375:0: style: The function 'tst_MHDBloodLeakData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2371:0: style: The function 'tst_MHDBloodLeakData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1218:0: style: The function 'tst_MHDOperationModeData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1203:0: style: The function 'tst_MHDOperationModeData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3036:0: style: The function 'tst_MHDPostFinalResult' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3032:0: style: The function 'tst_MHDPostFinalResult_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3005:0: style: The function 'tst_MHDPostSingleResult' is never used. [unusedFunction] ^ unittests/tst_models.cpp:3001:0: style: The function 'tst_MHDPostSingleResult_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2975:0: style: The function 'tst_MHDRTCEpochData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2970:0: style: The function 'tst_MHDRTCEpochData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2335:0: style: The function 'tst_MHDSyringePump' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2319:0: style: The function 'tst_MHDSyringePump_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2507:0: style: The function 'tst_MHDUsageInfoResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2482:0: style: The function 'tst_MHDUsageInfoResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2191:0: style: The function 'tst_MHeparinResponse' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2177:0: style: The function 'tst_MHeparinResponse_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4314:0: style: The function 'tst_MInitTreatmentRequest' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1301:0: style: The function 'tst_MOutletFlowData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1246:0: style: The function 'tst_MOutletFlowData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4800:0: style: The function 'tst_MPostTreatmentAdjustRequests_ToStrings' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2689:0: style: The function 'tst_MPostTreatmentStates' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2685:0: style: The function 'tst_MPostTreatmentStates_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1620:0: style: The function 'tst_MPowerOff' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1613:0: style: The function 'tst_MPowerOff_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2107:0: style: The function 'tst_MPreTreatmentPrime' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2092:0: style: The function 'tst_MPreTreatmentPrime_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2658:0: style: The function 'tst_MPreTreatmentSelfTestDry' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2654:0: style: The function 'tst_MPreTreatmentSelfTestDry_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2627:0: style: The function 'tst_MPreTreatmentSelfTestNoCartridge' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2623:0: style: The function 'tst_MPreTreatmentSelfTestNoCartridge_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2586:0: style: The function 'tst_MPreTreatmentStates' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2569:0: style: The function 'tst_MPreTreatmentStates_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1579:0: style: The function 'tst_MPressureOcclusionData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1540:0: style: The function 'tst_MPressureOcclusionData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2826:0: style: The function 'tst_MTreatmentBloodPrime' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2822:0: style: The function 'tst_MTreatmentBloodPrime_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2065:0: style: The function 'tst_MTreatmentHeparinData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2050:0: style: The function 'tst_MTreatmentHeparinData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2940:0: style: The function 'tst_MTreatmentLogAlarmData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2932:0: style: The function 'tst_MTreatmentLogAlarmData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2901:0: style: The function 'tst_MTreatmentLogAvrgeData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2891:0: style: The function 'tst_MTreatmentLogAvrgeData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2862:0: style: The function 'tst_MTreatmentLogEventData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2854:0: style: The function 'tst_MTreatmentLogEventData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1955:0: style: The function 'tst_MTreatmentParametersResp' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1930:0: style: The function 'tst_MTreatmentParametersResp_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:157:0: style: The function 'tst_MTreatmentRanges' is never used. [unusedFunction] ^ unittests/tst_models.cpp:126:0: style: The function 'tst_MTreatmentRanges_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2794:0: style: The function 'tst_MTreatmentRecirculate' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2790:0: style: The function 'tst_MTreatmentRecirculate_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2758:0: style: The function 'tst_MTreatmentRinseback' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2747:0: style: The function 'tst_MTreatmentRinseback_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2021:0: style: The function 'tst_MTreatmentSalineBolusData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2003:0: style: The function 'tst_MTreatmentSalineBolusData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1167:0: style: The function 'tst_MTreatmentStateData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1120:0: style: The function 'tst_MTreatmentStateData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2720:0: style: The function 'tst_MTreatmentStop' is never used. [unusedFunction] ^ unittests/tst_models.cpp:2716:0: style: The function 'tst_MTreatmentStop_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1512:0: style: The function 'tst_MTreatmentTimeData' is never used. [unusedFunction] ^ unittests/tst_models.cpp:1494:0: style: The function 'tst_MTreatmentTimeData_data' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4232:0: style: The function 'tst_MUIBloodPressure' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4183:0: style: The function 'tst_MUIBloodPressure_data' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:628:0: style: The function 'tst_MessageBuilder_addActionId' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:655:0: style: The function 'tst_MessageBuilder_addData_LongerThanMax' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:642:0: style: The function 'tst_MessageBuilder_addData_shorterLen' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:694:0: style: The function 'tst_MessageBuilder_buildFrames_addActionId' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:707:0: style: The function 'tst_MessageBuilder_buildFrames_addData' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:720:0: style: The function 'tst_MessageBuilder_buildFrames_eLenCanFrame' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:671:0: style: The function 'tst_MessageBuilder_checkCRC' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:683:0: style: The function 'tst_MessageBuilder_getHeader' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:743:0: style: The function 'tst_MessageDispatcher_actionTransmit' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:755:0: style: The function 'tst_MessageDispatcher_actionTransmit_Unknown' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:280:0: style: The function 'tst_MessageInterpreter_HD_emptyMessages' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:168:0: style: The function 'tst_MessageInterpreter_adjustBloodDialysateData_isType' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:182:0: style: The function 'tst_MessageInterpreter_adjustBloodDialysateData_payloadLen' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:196:0: style: The function 'tst_MessageInterpreter_adjustDurationData_isType' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:210:0: style: The function 'tst_MessageInterpreter_adjustDurationData_payloadLen' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:252:0: style: The function 'tst_MessageInterpreter_adjustUltrafiltrationConfirmData_isType' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:266:0: style: The function 'tst_MessageInterpreter_adjustUltrafiltrationConfirmData_payloadLen' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:224:0: style: The function 'tst_MessageInterpreter_adjustUltrafiltrationEditData_isType' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:238:0: style: The function 'tst_MessageInterpreter_adjustUltrafiltrationEditData_payloadLen' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:93:0: style: The function 'tst_MessageInterpreter_bloodFlowData' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:392:0: style: The function 'tst_MessageInterpreter_canbusFaultCountData_isType' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:406:0: style: The function 'tst_MessageInterpreter_canbusFaultCountData_payloadLen' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:108:0: style: The function 'tst_MessageInterpreter_dialysateInletFlowData' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:123:0: style: The function 'tst_MessageInterpreter_dialysateOutletFlowData' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:459:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustBloodDialysateReq' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:475:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustDurationReq' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:587:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustHeparinReq' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:598:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustPressuresReq' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:571:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustSalineReq' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:555:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustUltrafiltrationConfirmReq' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:539:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustUltrafiltrationEditReq' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:507:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustUltrafiltrationInitReq' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:523:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustUltrafiltrationStateReq' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:491:0: style: The function 'tst_MessageInterpreter_interpretMessage_AlarmSilenceReq' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:614:0: style: The function 'tst_MessageInterpreter_interpretMessage_CANBusFaultCount' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:431:0: style: The function 'tst_MessageInterpreter_interpretMessage_DG_Unhandled' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:421:0: style: The function 'tst_MessageInterpreter_interpretMessage_String' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:49:0: style: The function 'tst_MessageInterpreter_isPayloadLenValid' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:62:0: style: The function 'tst_MessageInterpreter_isPayloadLenValid_undefined' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:35:0: style: The function 'tst_MessageInterpreter_isType' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:336:0: style: The function 'tst_MessageInterpreter_loadCellReadingsData_isType' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:350:0: style: The function 'tst_MessageInterpreter_loadCellReadingsData_payloadLen' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:443:0: style: The function 'tst_MessageInterpreter_notify_fromByteArray' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:75:0: style: The function 'tst_MessageInterpreter_powerOffData' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:153:0: style: The function 'tst_MessageInterpreter_pressureOcclusionData' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:364:0: style: The function 'tst_MessageInterpreter_temperatureSensorsData_isType' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:378:0: style: The function 'tst_MessageInterpreter_temperatureSensorsData_payloadLen' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:308:0: style: The function 'tst_MessageInterpreter_treatmentRangesData_isType' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:322:0: style: The function 'tst_MessageInterpreter_treatmentRangesData_payloadLen' is never used. [unusedFunction] ^ unittests/tst_messaging.cpp:138:0: style: The function 'tst_MessageInterpreter_treatmentTime' is never used. [unusedFunction] ^ unittests/tst_threads.cpp:36:0: style: The function 'tst_Thread_init' is never used. [unusedFunction] ^ unittests/tst_threads.cpp:48:0: style: The function 'tst_Thread_names' is never used. [unusedFunction] ^ unittests/tst_views.cpp:44:0: style: The function 'tst_VTreatmentAdjustmentUltrafiltrationState_text' is never used. [unusedFunction] ^ unittests/tst_views.cpp:73:0: style: The function 'tst_createTreatment_validation' is never used. [unusedFunction] ^ unittests/tst_logging.cpp:176:0: style: The function 'tst_enableConsoleOut' is never used. [unusedFunction] ^ unittests/tst_fileHandler.cpp:81:0: style: The function 'tst_find' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:35:0: style: The function 'tst_floatCompare_isMatch' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:30:0: style: The function 'tst_floatCompare_noMatch' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:172:0: style: The function 'tst_fromvariant_Bool_False' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:164:0: style: The function 'tst_fromvariant_Bool_True' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:72:0: style: The function 'tst_fromvariant_ByteArray' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:83:0: style: The function 'tst_fromvariant_Float' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:116:0: style: The function 'tst_fromvariant_Int_Neg' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:105:0: style: The function 'tst_fromvariant_Int_Pos' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:67:0: style: The function 'tst_fromvariant_IsString' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:127:0: style: The function 'tst_fromvariant_List' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:56:0: style: The function 'tst_fromvariant_NoString' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:94:0: style: The function 'tst_fromvariant_UInt' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:180:0: style: The function 'tst_fromvariant_Undefined' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:264:0: style: The function 'tst_getValue_len_eq' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:281:0: style: The function 'tst_getValue_len_gt' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:238:0: style: The function 'tst_getValue_len_log' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:249:0: style: The function 'tst_getValue_len_lt' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:48:0: style: The function 'tst_getbits_IsError' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:40:0: style: The function 'tst_getbits_NoError' is never used. [unusedFunction] ^ unittests/tst_fileHandler.cpp:52:0: style: The function 'tst_isMounted' is never used. [unusedFunction] ^ unittests/tst_logging.cpp:157:0: style: The function 'tst_log_function_extraCases' is never used. [unusedFunction] ^ unittests/tst_models.cpp:4785:0: style: The function 'tst_modelsHeader_Coverage' is never used. [unusedFunction] ^ unittests/tst_fileHandler.cpp:28:0: style: The function 'tst_read_append_return' is never used. [unusedFunction] ^ unittests/tst_fileHandler.cpp:40:0: style: The function 'tst_removeFiles' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:312:0: style: The function 'tst_safeIncrement_GtMaxValue_Step1' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:305:0: style: The function 'tst_safeIncrement_GtMaxValue_Step10' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:298:0: style: The function 'tst_safeIncrement_StepZero' is never used. [unusedFunction] ^ unittests/tst_fileHandler.cpp:72:0: style: The function 'tst_tmpUsable' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:188:0: style: The function 'tst_toStringList_Default' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:221:0: style: The function 'tst_toStringList_Prefix' is never used. [unusedFunction] ^ unittests/tst_utilities.cpp:204:0: style: The function 'tst_toStringList_RemoveDuplicate' is never used. [unusedFunction] ^ sources/view/settings/VSettings.cpp:318:0: style: The function 'updateServicePassword' is never used. [unusedFunction] ^ sources/update/SignRsa.cpp:395:0: style: The function 'update_digest' is never used. [unusedFunction] ^ sources/device/DeviceController.cpp:260:0: style: The function 'usbCheck' is never used. [unusedFunction] ^ sources/wifi/WifiInterface.cpp:936:0: style: The function 'variantListToSecurityTypes' is never used. [unusedFunction] ^ sources/update/SignRsa.cpp:498:0: style: The function 'verify_data' is never used. [unusedFunction] ^ sources/update/VSwUpdate.cpp:339:0: style: The function 'visibilityChanged' is never used. [unusedFunction] ^ nofile:0:0: information: Cppcheck cannot find all the include files. Cppcheck can check the code without the include files found. But the results will probably be more accurate if all the include files are found. Please check your project's include directories and add all of them as include directories for Cppcheck. To see what files Cppcheck cannot find use --check-config. [missingInclude]