Index: cppcheck.err =================================================================== diff -u -r550c426d0137a5b51852d2dee335c7b9ca4914f2 -r06400e87bfb4add1630f58b42ef065c49dc510bb --- cppcheck.err (.../cppcheck.err) (revision 550c426d0137a5b51852d2dee335c7b9ca4914f2) +++ cppcheck.err (.../cppcheck.err) (revision 06400e87bfb4add1630f58b42ef065c49dc510bb) @@ -1,10 +1,63 @@ -11/03/2022 14:42 +01/21/2023 19:36 Behrouz NematiPour -[sources/storage/FileHandler.h:95] -> [sources/storage/FileHandler.h:102]: (style) Condition '!createFolder' is always false -[sources/ApplicationPost.cpp:109] -> [sources/ApplicationPost.cpp:111]: (style) Condition '!ok' is always false -[sources/ApplicationPost.cpp:204] -> [sources/ApplicationPost.cpp:206]: (style) Condition '!ok' is always false -[sources/ApplicationPost.cpp:218] -> [sources/ApplicationPost.cpp:220]: (style) Condition '!ok' is always false -[sources/MainTimer.cpp:69]: (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: +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/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:102:14: style: Condition '!createFolder' is always false [knownConditionTrueFalse] + if ( ! createFolder ) { if ( ! dstDir.exists() ) { err = eDstFolderNotExist ; goto lErr; }} + ^ +sources/storage/FileHandler.h:95:35: note: Assignment 'createFolder=true', assigned value is 1 + bool createFolder = true; + ^ +sources/storage/FileHandler.h:102:14: note: Condition '!createFolder' is always false + if ( ! createFolder ) { if ( ! dstDir.exists() ) { err = eDstFolderNotExist ; goto lErr; }} + ^ +sources/ApplicationPost.cpp:111:9: style: Condition '!ok' is always false [knownConditionTrueFalse] + if (! ok) emit didFail(Gui::GuiAlarmID::ALARM_ID_UI_POST_FAILURE_DISPLAY); + ^ +sources/ApplicationPost.cpp:109:15: note: Assignment 'ok=true', assigned value is 1 + bool ok = true; + ^ +sources/ApplicationPost.cpp:111:9: note: Condition '!ok' is always false + if (! ok) emit didFail(Gui::GuiAlarmID::ALARM_ID_UI_POST_FAILURE_DISPLAY); + ^ +sources/ApplicationPost.cpp:206:9: style: Condition '!ok' is always false [knownConditionTrueFalse] + if (! ok) emit didFail(Gui::GuiAlarmID::ALARM_ID_UI_POST_FAILURE_ETHERNET); + ^ +sources/ApplicationPost.cpp:204:15: note: Assignment 'ok=true', assigned value is 1 + bool ok = true; + ^ +sources/ApplicationPost.cpp:206:9: note: Condition '!ok' is always false + if (! ok) emit didFail(Gui::GuiAlarmID::ALARM_ID_UI_POST_FAILURE_ETHERNET); + ^ +sources/ApplicationPost.cpp:220:9: style: Condition '!ok' is always false [knownConditionTrueFalse] + if (! ok) emit didFail(Gui::GuiAlarmID::ALARM_ID_UI_POST_FAILURE_SOUND); + ^ +sources/ApplicationPost.cpp:218:15: note: Assignment 'ok=true', assigned value is 1 + bool ok = true; + ^ +sources/ApplicationPost.cpp:220:9: note: Condition '!ok' is always false + if (! ok) emit didFail(Gui::GuiAlarmID::ALARM_ID_UI_POST_FAILURE_SOUND); + ^ +sources/storage/FileHandler.h:92: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:92:17: note: Shadow variable + qint64 totalSize = 0; + ^ +sources/storage/FileHandler.h:87:33: style: Variable 'err' is assigned a value that is never used. [unreadVariable] + FileCopyError_Enums err = eOK; + ^ +sources/MainTimer.cpp:69: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; @@ -16,8 +69,10 @@ } } } -When you see this message it is always safe to reduce the variable scope 1 level. -[sources/MainTimer.cpp:69]: (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: +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:69: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; @@ -29,8 +84,10 @@ } } } -When you see this message it is always safe to reduce the variable scope 1 level. -[sources/MainTimer.cpp:69]: (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: +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:69: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; @@ -42,22 +99,328 @@ } } } -When you see this message it is always safe to reduce the variable scope 1 level. -[sources/cloudsync/CloudSyncController.cpp:500] -> [sources/cloudsync/CloudSyncController.cpp:508]: (style) Variable 'ok' is reassigned a value before the old one has been used. -[sources/cloudsync/CloudSyncController.cpp:662] -> [sources/cloudsync/CloudSyncController.cpp:663]: (style) Variable 'ok' is reassigned a value before the old one has been used. -[sources/cloudsync/CloudSyncController.cpp:673] -> [sources/cloudsync/CloudSyncController.cpp:675]: (style) Variable 'ok' is reassigned a value before the old one has been used. -[sources/cloudsync/CloudSyncController.cpp:701] -> [sources/cloudsync/CloudSyncController.cpp:702]: (style) Variable 'ok' is reassigned a value before the old one has been used. -[sources/cloudsync/CloudSyncController.cpp:812] -> [sources/cloudsync/CloudSyncController.cpp:813]: (style) Variable 'ok' is reassigned a value before the old one has been used. -[sources/cloudsync/CloudSyncController.cpp:901] -> [sources/cloudsync/CloudSyncController.cpp:902]: (style) Variable 'ok' is reassigned a value before the old one has been used. -[sources/device/DeviceController.cpp:255] -> [sources/device/DeviceController.cpp:262]: (style) Variable 'mCIsReady' is reassigned a value before the old one has been used. -[sources/device/DeviceController.cpp:304] -> [sources/device/DeviceController.cpp:311]: (style) Variable 'mCIsReady' is reassigned a value before the old one has been used. -[sources/device/DeviceController.cpp:311] -> [sources/device/DeviceController.cpp:313]: (style) Variable 'mCIsReady' is reassigned a value before the old one has been used. -[sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationEditResponse.h:67] -> [sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationConfirmResponse.h:61]: (warning) The class 'MAdjustUltrafiltrationEditResponse' defines member variable with name 'stringPrefix' also defined in its parent class 'MAdjustUltrafiltrationConfirmResponse'. -[sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationEditResponse.h:79] -> [sources/model/hd/adjustment/treatment/MTreatmentAdjustUltrafiltrationConfirmResponse.h:79]: (warning) The class 'MAdjustUltrafiltrationEditResponse' defines member variable with name '_data' also defined in its parent class 'MAdjustUltrafiltrationConfirmResponse'. -[sources/model/settings/MSettings.h:56]: (style) The KeyValue::operator= does not conform to standard C/C++ behaviour. To conform to standard C/C++ behaviour, return a reference to self (such as: 'KeyValue &KeyValue::operator=(..) { .. return *this; }'. For safety reasons it might be better to not fix this message. If you think that safety is always more important than conformance then please ignore/suppress this message. For more details about this topic, see the book "Effective C++" by Scott Meyers. -[sources/model/settings/MSettings.h:44]: (warning) The class 'KeyValue' has 'operator=' but lack of 'copy constructor'. -[sources/storage/Logger.cpp:259] -> [sources/storage/Logger.cpp:261]: (style) Variable 'ok' is reassigned a value before the old one has been used. -[sources/storage/Logger.cpp:189]: (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: +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:397:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] + buf += item.toString(); + ^ +sources/cloudsync/CloudSyncController.cpp:203:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] + Errors_Enum error = eError_Unknown; + ^ +sources/cloudsync/CloudSyncController.cpp:227:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] + Errors_Enum error = eError_Unknown; + ^ +sources/cloudsync/CloudSyncController.cpp:500:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] + Errors_Enum error = eError_Unknown; + ^ +sources/cloudsync/CloudSyncController.cpp:549:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] + Errors_Enum error = eError_Unknown; + ^ +sources/cloudsync/CloudSyncController.cpp:558: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:558: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:580:27: style: Variable 'error' is assigned a value that is never used. [unreadVariable] + Errors_Enum error = eError_Unknown; + ^ +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/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/data/MDGAccelerometerData.h:103:5: warning: Member variable 'MDGAccelerometer::_data' is not initialized in the constructor. [uninitMemberVar] + MDGAccelerometer () { } + ^ +sources/model/dg/data/MDGConductivityData.h:83:5: warning: Member variable 'MDGConductivityData::_data' is not initialized in the constructor. [uninitMemberVar] + MDGConductivityData () { } + ^ +sources/model/dg/data/MDGDrainPumpData.h:81:5: warning: Member variable 'MDGDrainPump::_data' is not initialized in the constructor. [uninitMemberVar] + MDGDrainPump () { } + ^ +sources/model/dg/data/MDGHeatersData.h:79: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:81:5: warning: Member variable 'MDGPressures::_data' is not initialized in the constructor. [uninitMemberVar] + MDGPressures () {} + ^ +sources/model/dg/data/MDGROPumpData.h:81:5: warning: Member variable 'MDGROPump::_data' is not initialized in the constructor. [uninitMemberVar] + MDGROPump () { } + ^ +sources/model/dg/data/MDGReservoirData.h:78:5: warning: Member variable 'MDGReservoir::_data' is not initialized in the constructor. [uninitMemberVar] + MDGReservoir () {} + ^ +sources/model/dg/data/MDGTemperaturesData.h:112:5: warning: Member variable 'MDGTemperatures::_data' is not initialized in the constructor. [uninitMemberVar] + MDGTemperatures() { } + ^ +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/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:124: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/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:89: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:82: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:79: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:79: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:77:5: warning: Member variable 'MHDAirTrapData::_data' is not initialized in the constructor. [uninitMemberVar] + MHDAirTrapData () { } + ^ +sources/model/hd/data/MHDBloodLeakData.h:102: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/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/posttreatment/MPostTreatmentStatesData.h:74: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:105:5: warning: Member variable 'MPreTreatmentStates::_data' is not initialized in the constructor. [uninitMemberVar] + MPreTreatmentStates() { } + ^ +sources/model/hd/data/treatment/MTreatmentBloodFlowData.h:90:5: warning: Member variable 'MBloodFlow::_data' is not initialized in the constructor. [uninitMemberVar] + MBloodFlow() { } + ^ +sources/model/hd/data/treatment/MTreatmentBloodPrimeData.h:77:5: warning: Member variable 'MTreatmentBloodPrime::_data' is not initialized in the constructor. [uninitMemberVar] + MTreatmentBloodPrime () { } + ^ +sources/model/hd/data/treatment/MTreatmentDialysateFlowData.h:89: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:90:5: warning: Member variable 'MOutletFlow::_data' is not initialized in the constructor. [uninitMemberVar] + MOutletFlow () { } + ^ +sources/model/hd/data/treatment/MTreatmentPressureOcclusionData.h:84: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:109: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:43:5: 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 '_logFileNamePrefix' a value by passing the value to the constructor in the initialization list. [useInitializationList] + _logFileNamePrefix = QFileInfo(qApp->applicationFilePath()).baseName(); + ^ +sources/storage/Logger.cpp:244:10: style: Condition 'ok' is always true [knownConditionTrueFalse] + if ( ok && ! setLogPath(LogType::eLogAppED) ) ok = false; + ^ +sources/storage/Logger.cpp:243:15: note: Assignment 'ok=true', assigned value is 1 + bool ok = true; + ^ +sources/storage/Logger.cpp:244:10: note: Condition 'ok' is always true + if ( ok && ! setLogPath(LogType::eLogAppED) ) ok = false; + ^ +sources/storage/Logger.cpp:189: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; @@ -69,54 +432,842 @@ } } } -When you see this message it is always safe to reduce the variable scope 1 level. -[sources/view/VEventSpy.cpp]: (information) The configuration 'DEBUG_BCUFF_MIMIC' was not checked because its code equals another one. -[sources/view/VTreatmentCreate.cpp:83]: (style) The function 'doCancel' is never used. -[sources/view/settings/VNetworkModel.cpp:238]: (style) The function 'doCheckIfConnected' is never used. -[sources/view/hd/alarm/VAlarmStatus.cpp:95]: (style) The function 'doClearCondition' is never used. -[sources/view/VTreatmentCreate.cpp:72]: (style) The function 'doConfirm' is never used. -[sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:88]: (style) The function 'doDisinfectCancel' is never used. -[sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:127]: (style) The function 'doDisinfectChemical' is never used. -[sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:99]: (style) The function 'doDisinfectClear' is never used. -[sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:132]: (style) The function 'doDisinfectConfirm' is never used. -[sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:109]: (style) The function 'doDisinfectFlush' is never used. -[sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:118]: (style) The function 'doDisinfectHeat' is never used. -[sources/gui/GuiView.cpp:250]: (style) The function 'doExportListInsert' is never used. -[sources/gui/GuiView.cpp:293]: (style) The function 'doExportListPercent' is never used. -[sources/gui/GuiView.cpp:281]: (style) The function 'doExportListSelect' is never used. -[sources/view/VTreatmentCreate(legacy).cpp:539]: (style) The function 'doGetOperatingParameterValues' is never used. -[sources/view/VTreatmentCreate(legacy).cpp:504]: (style) The function 'doGetPrescriptionParameterValues' is never used. -[sources/view/settings/VDateTime.cpp:44]: (style) The function 'doInit' is never used. -[sources/view/VEventSpy.cpp:149]: (style) The function 'doMouseReset' is never used. -[sources/view/hd/adjustment/treatment/VTreatmentAdjustmentUltrafiltrationConfirm.cpp:66]: (style) The function 'doOptionDuration' is never used. -[sources/view/hd/adjustment/treatment/VTreatmentAdjustmentRecirculate.cpp:51]: (style) The function 'doReconnect' is never used. -[sources/view/hd/alarm/VAlarmActiveList.cpp:106]: (style) The function 'doRequest' is never used. -[sources/view/hd/adjustment/common/VCommonAdjustmentVitals.cpp:99]: (style) The function 'doReset' is never used. -[sources/view/hd/adjustment/pretreatment/VPreTreatmentAdjustmentWaterSample.cpp:64]: (style) The function 'doResult' is never used. -[sources/view/hd/adjustment/treatment/VTreatmentAdjustmentHeparin.cpp:51]: (style) The function 'doResume' is never used. -[sources/view/settings/VNetworkModel.cpp:362]: (style) The function 'doSetDNS' is never used. -[sources/view/settings/VNetworkModel.cpp:344]: (style) The function 'doSetGateway' is never used. -[sources/view/settings/VNetworkModel.cpp:335]: (style) The function 'doSetIPAddress' is never used. -[sources/view/settings/VNetworkModel.cpp:353]: (style) The function 'doSetSubnetMask' is never used. -[sources/view/hd/alarm/VAlarmStatus.cpp:78]: (style) The function 'doSilence' is never used. -[sources/view/hd/adjustment/common/VCommonAdjustmentVitals.cpp:87]: (style) The function 'doSkip' is never used. -[sources/view/hd/adjustment/treatment/VTreatmentAdjustmentSaline.cpp:58]: (style) The function 'doStop' is never used. -[sources/view/VEventSpy.cpp:192]: (style) The function 'doTouchReset' is never used. -[sources/view/hd/adjustment/treatment/VTreatmentAdjustmentRecirculate.cpp:75]: (style) The function 'doTreatmentEnd' is never used. -[sources/view/hd/alarm/VAlarmStatus.cpp:57]: (style) The function 'doUserActionEnd' is never used. -[sources/view/hd/alarm/VAlarmStatus.cpp:67]: (style) The function 'doUserActionOk' is never used. -[sources/view/hd/alarm/VAlarmStatus.cpp:37]: (style) The function 'doUserActionResume' is never used. -[sources/view/hd/alarm/VAlarmStatus.cpp:47]: (style) The function 'doUserActionRinseback' is never used. -[sources/view/VTreatmentCreate.cpp:40]: (style) The function 'doValidation' is never used. -[sources/utility/types.cpp:28]: (style) The function 'floatCompare' is never used. -[sources/utility/types.cpp:44]: (style) The function 'getBits' is never used. -[sources/bluetooth/BluetoothInterface.cpp:1159]: (style) The function 'mimic' is never used. -[sources/storage/FileHandler.cpp:162]: (style) The function 'moveFolder' is never used. -[sources/storage/FileHandler.cpp:203]: (style) The function 'removeFiles' is never used. -[sources/storage/FileHandler.cpp:183]: (style) The function 'removeFolder' is never used. -[sources/bluetooth/BluetoothInterface.cpp:1239]: (style) The function 'requestBattery' is never used. -[sources/bluetooth/BluetoothInterface.cpp:1226]: (style) The function 'requestInformation' is never used. -[sources/bluetooth/BluetoothInterface.cpp:1207]: (style) The function 'requestMeasurements' is never used. -[sources/view/settings/VBluetooth.cpp:79]: (style) The function 'roleNames' is never used. -[sources/MainTimer.cpp:116]: (style) The function 'timerEvent' is never used. -(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. +When you see this message it is always safe to reduce the variable scope 1 level. [variableScope] + static bool notified = false; + ^ +sources/storage/TreatmentLog.cpp:79: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:80: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/utility/format.cpp:98:19: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] + mData += fromVariant(item); + ^ +sources/view/settings/VNetworkModel.cpp:257:9: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] + { + ^ +sources/view/settings/VNetworkModel.cpp:275:9: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] + { + ^ +sources/view/settings/VNetworkModel.cpp:393:123: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] + if ( !address.isLoopback() && !address.isBroadcast() && address.protocol() == QAbstractSocket::IPv4Protocol ) { + ^ +sources/view/settings/VSettings.cpp:164:17: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] + keyList += keys.join(""); + ^ +unittests/tst_messaging.cpp:294: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:279:18: note: msg.actionId is assigned + msg.actionId = Gui::GuiActionType::ID_AlarmTriggered; + ^ +unittests/tst_messaging.cpp:294:18: note: msg.actionId is overwritten + msg.actionId = Gui::GuiActionType::ID_RawData; + ^ +unittests/tst_views.cpp:711:26: style: Variable 'action' is assigned a value that is never used. [unreadVariable] + GuiActionType action = GuiActionType::ID_AdjustParametersValidationRsp; + ^ +unittests/tst_views.cpp:406:0: style: The function 'VCreateTreatment_check_init' is never used. [unusedFunction] + +^ +unittests/tst_views.cpp:660:0: style: The function 'VCreateTreatment_enums' is never used. [unusedFunction] + +^ +unittests/tst_views.cpp:708:0: style: The function 'VCreateTreatment_fw_validation_response' is never used. [unusedFunction] + +^ +unittests/tst_views.cpp:676:0: style: The function 'VCreateTreatment_json' is never used. [unusedFunction] + +^ +unittests/tst_views.cpp:778:0: style: The function 'VCreateTreatment_load_parameter_ranges' is never used. [unusedFunction] + +^ +unittests/tst_views.cpp:602:0: style: The function 'VCreateTreatment_save' is never used. [unusedFunction] + +^ +unittests/tst_views.cpp:581:0: style: The function 'VCreateTreatment_save_csv' is never used. [unusedFunction] + +^ +unittests/tst_views.cpp:71:0: style: The function 'VCreateTreatment_validation' is never used. [unusedFunction] + +^ +unittests/tst_views.cpp:231:0: style: The function 'VCreateTreatment_validation_ranges' is never used. [unusedFunction] + +^ +unittests/tst_views.cpp:42:0: style: The function 'VTreatmentAdjustmentUltrafiltrationState_text' is never used. [unusedFunction] + +^ +unittests/tst_views.cpp:28:0: style: The function 'VTreatmentAdjustmentsResponse_text_NoReason' is never used. [unusedFunction] + +^ +unittests/tst_views.cpp:35:0: style: The function 'VTreatmentAdjustmentsResponse_text_WAReason' 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/view/hd/adjustment/pretreatment/VPreTreatmentAdjustmentPatientConnectionBegin.cpp:49:0: style: The function 'doBegin' is never used. [unusedFunction] + +^ +sources/view/VTreatmentCreate.cpp:83:0: style: The function 'doCancel' is never used. [unusedFunction] + +^ +sources/view/settings/VNetworkModel.cpp:238: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/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:88:0: style: The function 'doDisinfectCancel' is never used. [unusedFunction] + +^ +sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:127:0: style: The function 'doDisinfectChemical' is never used. [unusedFunction] + +^ +sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:99:0: style: The function 'doDisinfectClear' is never used. [unusedFunction] + +^ +sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:132:0: style: The function 'doDisinfectConfirm' is never used. [unusedFunction] + +^ +sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:109:0: style: The function 'doDisinfectFlush' is never used. [unusedFunction] + +^ +sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:118:0: style: The function 'doDisinfectHeat' is never used. [unusedFunction] + +^ +sources/view/hd/adjustment/disinfect/VDisinfectAdjustDisinfect.cpp:76:0: style: The function 'doDisinfectInitiate' is never used. [unusedFunction] + +^ +sources/gui/GuiView.cpp:250:0: style: The function 'doExportListInsert' is never used. [unusedFunction] + +^ +sources/gui/GuiView.cpp:293:0: style: The function 'doExportListPercent' is never used. [unusedFunction] + +^ +sources/gui/GuiView.cpp:281:0: style: The function 'doExportListSelect' is never used. [unusedFunction] + +^ +sources/view/VTreatmentCreate(legacy).cpp:504:0: style: The function 'doGetPrescriptionParameterValues' is never used. [unusedFunction] + +^ +sources/view/settings/VDateTime.cpp:44:0: style: The function 'doInit' is never used. [unusedFunction] + +^ +sources/device/DeviceView.cpp:89:0: style: The function 'doInitBluetoothPairedQuery' is never used. [unusedFunction] + +^ +sources/device/DeviceView.cpp:65:0: style: The function 'doInitBluetoothPairedReset' is never used. [unusedFunction] + +^ +sources/device/DeviceView.cpp:32:0: style: The function 'doInitBrightness' 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/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:362:0: style: The function 'doSetDNS' is never used. [unusedFunction] + +^ +sources/view/settings/VNetworkModel.cpp:344:0: style: The function 'doSetGateway' is never used. [unusedFunction] + +^ +sources/view/settings/VNetworkModel.cpp:335:0: style: The function 'doSetIPAddress' is never used. [unusedFunction] + +^ +sources/view/settings/VNetworkModel.cpp:353: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] + +^ +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:200:0: style: The function 'instructionKeys' is never used. [unusedFunction] + +^ +sources/view/hd/alarm/VAlarmStatus.cpp:201:0: style: The function 'instructionValues' is never used. [unusedFunction] + +^ +unittests/tst_logging.cpp:66:0: style: The function 'logDatum' is never used. [unusedFunction] + +^ +unittests/tst_logging.cpp:74:0: style: The function 'logError' is never used. [unusedFunction] + +^ +unittests/tst_logging.cpp:119:0: style: The function 'logError_Unhandled_TreatmentStates' is never used. [unusedFunction] + +^ +unittests/tst_logging.cpp:91:0: style: The function 'logError_gDisableUnhandledReport_False' is never used. [unusedFunction] + +^ +unittests/tst_logging.cpp:106:0: style: The function 'logError_gDisableUnhandledReport_True' is never used. [unusedFunction] + +^ +unittests/tst_logging.cpp:58:0: style: The function 'logEvent' is never used. [unusedFunction] + +^ +unittests/tst_logging.cpp:82:0: style: The function 'logUnknown' is never used. [unusedFunction] + +^ +sources/bluetooth/BluetoothInterface.cpp:1159:0: style: The function 'mimic' is never used. [unusedFunction] + +^ +sources/storage/FileHandler.cpp:162:0: style: The function 'moveFolder' is never used. [unusedFunction] + +^ +unittests/tst_logging.cpp:149:0: style: The function 'readUnknown' is never used. [unusedFunction] + +^ +sources/storage/FileHandler.cpp:203:0: style: The function 'removeFiles' is never used. [unusedFunction] + +^ +sources/storage/FileHandler.cpp:183:0: style: The function 'removeFolder' is never used. [unusedFunction] + +^ +sources/bluetooth/BluetoothInterface.cpp:1239:0: style: The function 'requestBattery' is never used. [unusedFunction] + +^ +sources/bluetooth/BluetoothInterface.cpp:1226:0: style: The function 'requestInformation' is never used. [unusedFunction] + +^ +sources/bluetooth/BluetoothInterface.cpp:1207:0: style: The function 'requestMeasurements' is never used. [unusedFunction] + +^ +sources/view/settings/VBluetooth.cpp:79:0: style: The function 'roleNames' is never used. [unusedFunction] + +^ +unittests/tst_logging.cpp:135:0: style: The function 'setLogPath_F' is never used. [unusedFunction] + +^ +unittests/tst_logging.cpp:142:0: style: The function 'setLogPath_T' is never used. [unusedFunction] + +^ +sources/MainTimer.cpp:116: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:739: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:631:0: style: The function 'tst_DGDrainPumpData' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:617:0: style: The function 'tst_DGDrainPumpData_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:792:0: style: The function 'tst_DGHeatersData' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:774:0: style: The function 'tst_DGHeatersData_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:842:0: style: The function 'tst_DGLoadCellReadingsData' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:820:0: style: The function 'tst_DGLoadCellReadingsData_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:668:0: style: The function 'tst_DGOperationMode' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:658:0: style: The function 'tst_DGOperationMode_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:588:0: style: The function 'tst_DGPressuresData' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:566:0: style: The function 'tst_DGPressuresData_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:538:0: style: The function 'tst_DGROPumpData' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:520:0: style: The function 'tst_DGROPumpData_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:712:0: style: The function 'tst_DGReservoirData' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:694:0: style: The function 'tst_DGReservoirData_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:925:0: style: The function 'tst_DGTemperaturesData' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:871:0: style: The function 'tst_DGTemperaturesData_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:748:0: style: The function 'tst_DGValvesStates' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:740:0: style: The function 'tst_DGValvesStates_data' 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:95:0: style: The function 'tst_MAdjustBloodDialysateResponse' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:72:0: style: The function 'tst_MAdjustBloodDialysateResponse_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:206:0: style: The function 'tst_MAdjustDurationResponse' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:183:0: style: The function 'tst_MAdjustDurationResponse_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1787:0: style: The function 'tst_MAdjustInitTreatmentResponse' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1772:0: style: The function 'tst_MAdjustInitTreatmentResponse_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:487:0: style: The function 'tst_MAdjustPressuresLimitsResponse' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:456:0: style: The function 'tst_MAdjustPressuresLimitsResponse_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:426:0: style: The function 'tst_MAdjustUltrafiltrationConfirmResponse' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:399:0: style: The function 'tst_MAdjustUltrafiltrationConfirmResponse_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:366:0: style: The function 'tst_MAdjustUltrafiltrationEditResponse' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:327:0: style: The function 'tst_MAdjustUltrafiltrationEditResponse_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:254:0: style: The function 'tst_MAdjustUltrafiltrationInitResponse' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:235:0: style: The function 'tst_MAdjustUltrafiltrationInitResponse_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:300:0: style: The function 'tst_MAdjustUltrafiltrationStateResponse' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:281:0: style: The function 'tst_MAdjustUltrafiltrationStateResponse_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1974:0: style: The function 'tst_MAdjustmentTreatmentParametersRequest' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1936:0: style: The function 'tst_MAlarmAcknowledgeRequest' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1494:0: style: The function 'tst_MAlarmCleared' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1484:0: style: The function 'tst_MAlarmCleared_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1418:0: style: The function 'tst_MAlarmStatus' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1394:0: style: The function 'tst_MAlarmStatus_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1379:0: style: The function 'tst_MAlarmStatus_text' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1458:0: style: The function 'tst_MAlarmTriggered' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1448:0: style: The function 'tst_MAlarmTriggered_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1149:0: style: The function 'tst_MBloodFlowData' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1115:0: style: The function 'tst_MBloodFlowData_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1952:0: style: The function 'tst_MConfirmTreatmentRequest' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1215:0: style: The function 'tst_MDialysateFlowData' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1181:0: style: The function 'tst_MDialysateFlowData_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1960:0: style: The function 'tst_MEndTreatmentRequest' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1825:0: style: The function 'tst_MEndTreatmentResponse' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1814:0: style: The function 'tst_MEndTreatmentResponse_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1023:0: style: The function 'tst_MHDOperationModeData' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1013:0: style: The function 'tst_MHDOperationModeData_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1912:0: style: The function 'tst_MHeparinResponse' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1898:0: style: The function 'tst_MHeparinResponse_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1944:0: style: The function 'tst_MInitTreatmentRequest' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1083:0: style: The function 'tst_MOutletFlowData' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1049:0: style: The function 'tst_MOutletFlowData_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1356:0: style: The function 'tst_MPowerOff' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1349:0: style: The function 'tst_MPowerOff_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1745:0: style: The function 'tst_MPreTreatmentPrime' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1730:0: style: The function 'tst_MPreTreatmentPrime_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1319:0: style: The function 'tst_MPressureOcclusionData' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1293:0: style: The function 'tst_MPressureOcclusionData_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1870:0: style: The function 'tst_MSalineBolusResponse' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1852:0: style: The function 'tst_MSalineBolusResponse_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1704:0: style: The function 'tst_MTreatmentHeparinData' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1694:0: style: The function 'tst_MTreatmentHeparinData_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1600:0: style: The function 'tst_MTreatmentParametersResp' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1520:0: style: The function 'tst_MTreatmentParametersResp_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:153:0: style: The function 'tst_MTreatmentRanges' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:122:0: style: The function 'tst_MTreatmentRanges_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1665:0: style: The function 'tst_MTreatmentSalineBolusData' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1647:0: style: The function 'tst_MTreatmentSalineBolusData_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:984:0: style: The function 'tst_MTreatmentStateData' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:962:0: style: The function 'tst_MTreatmentStateData_data' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1265:0: style: The function 'tst_MTreatmentTimeData' is never used. [unusedFunction] + +^ +unittests/tst_models.cpp:1247:0: style: The function 'tst_MTreatmentTimeData_data' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:600:0: style: The function 'tst_MessageBuilder_addActionId' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:627:0: style: The function 'tst_MessageBuilder_addData_LongerThanMax' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:614:0: style: The function 'tst_MessageBuilder_addData_shorterLen' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:666:0: style: The function 'tst_MessageBuilder_buildFrames_addActionId' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:679:0: style: The function 'tst_MessageBuilder_buildFrames_addData' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:692:0: style: The function 'tst_MessageBuilder_buildFrames_eLenCanFrame' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:643:0: style: The function 'tst_MessageBuilder_checkCRC' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:655:0: style: The function 'tst_MessageBuilder_getHeader' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:715:0: style: The function 'tst_MessageDispatcher_actionTransmit' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:727:0: style: The function 'tst_MessageDispatcher_actionTransmit_Unknown' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:274:0: style: The function 'tst_MessageInterpreter_HD_emptyMessages' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:162:0: style: The function 'tst_MessageInterpreter_adjustBloodDialysateData_isType' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:176:0: style: The function 'tst_MessageInterpreter_adjustBloodDialysateData_payloadLen' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:190:0: style: The function 'tst_MessageInterpreter_adjustDurationData_isType' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:204:0: style: The function 'tst_MessageInterpreter_adjustDurationData_payloadLen' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:246:0: style: The function 'tst_MessageInterpreter_adjustUltrafiltrationConfirmData_isType' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:260:0: style: The function 'tst_MessageInterpreter_adjustUltrafiltrationConfirmData_payloadLen' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:218:0: style: The function 'tst_MessageInterpreter_adjustUltrafiltrationEditData_isType' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:232:0: style: The function 'tst_MessageInterpreter_adjustUltrafiltrationEditData_payloadLen' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:87:0: style: The function 'tst_MessageInterpreter_bloodFlowData' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:386:0: style: The function 'tst_MessageInterpreter_canbusFaultCountData_isType' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:400:0: style: The function 'tst_MessageInterpreter_canbusFaultCountData_payloadLen' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:102:0: style: The function 'tst_MessageInterpreter_dialysateInletFlowData' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:117:0: style: The function 'tst_MessageInterpreter_dialysateOutletFlowData' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:451:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustBloodDialysateReq' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:465:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustDurationReq' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:563:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustHeparinReq' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:572:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustPressuresReq' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:549:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustSalineReq' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:535:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustUltrafiltrationConfirmReq' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:521:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustUltrafiltrationEditReq' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:493:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustUltrafiltrationInitReq' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:507:0: style: The function 'tst_MessageInterpreter_interpretMessage_AdjustUltrafiltrationStateReq' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:479:0: style: The function 'tst_MessageInterpreter_interpretMessage_AlarmSilenceReq' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:586:0: style: The function 'tst_MessageInterpreter_interpretMessage_CANBusFaultCount' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:423:0: style: The function 'tst_MessageInterpreter_interpretMessage_DG_Unhandled' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:415:0: style: The function 'tst_MessageInterpreter_interpretMessage_String' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:47:0: style: The function 'tst_MessageInterpreter_isPayloadLenValid' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:60:0: style: The function 'tst_MessageInterpreter_isPayloadLenValid_undefined' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:33:0: style: The function 'tst_MessageInterpreter_isType' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:330:0: style: The function 'tst_MessageInterpreter_loadCellReadingsData_isType' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:344:0: style: The function 'tst_MessageInterpreter_loadCellReadingsData_payloadLen' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:435:0: style: The function 'tst_MessageInterpreter_notify_fromByteArray' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:73:0: style: The function 'tst_MessageInterpreter_powerOffData' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:147:0: style: The function 'tst_MessageInterpreter_pressureOcclusionData' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:358:0: style: The function 'tst_MessageInterpreter_temperatureSensorsData_isType' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:372:0: style: The function 'tst_MessageInterpreter_temperatureSensorsData_payloadLen' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:302:0: style: The function 'tst_MessageInterpreter_treatmentRangesData_isType' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:316:0: style: The function 'tst_MessageInterpreter_treatmentRangesData_payloadLen' is never used. [unusedFunction] + +^ +unittests/tst_messaging.cpp:132: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_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:238:0: style: The function 'tst_getValue_len' 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_utilities.cpp:261:0: style: The function 'tst_safeIncrement_GtMaxValue_Step1' is never used. [unusedFunction] + +^ +unittests/tst_utilities.cpp:254:0: style: The function 'tst_safeIncrement_GtMaxValue_Step10' is never used. [unusedFunction] + +^ +unittests/tst_utilities.cpp:247:0: style: The function 'tst_safeIncrement_StepZero' 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] + +^ +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] +