2024-04-18 19:29 ftp://ftp.de.debian.org/debian/pool/main/m/mriconvert/mriconvert_2.1.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=wxwidgets --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 8c78869 (2024-04-18 16:27:02 +0200) count: 265 228 elapsed-time: 15.0 13.4 head-timing-info: old-timing-info: head results: DicomFile.h:103:5: error: syntax error [syntaxError] StringConvert.h:35:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] AnalyzeVolume.cpp:48:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] AnalyzeVolume.cpp:60:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] AnalyzeVolume.cpp:137:3: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] Volume.h:25:5: warning:inconclusive: Member variable 'Volume::mRows' is not initialized in the constructor. [uninitMemberVar] Volume.h:25:5: warning:inconclusive: Member variable 'Volume::mColumns' is not initialized in the constructor. [uninitMemberVar] AnalyzeVolume.h:103:21: style:inconclusive: Technically the member function 'jcs::AnalyzeVolume::GetHeader' can be const. [functionConst] AnalyzeVolume.cpp:58:16: warning: The class 'AnalyzeVolume' defines member function with name 'mWriteHeaderFile' also defined in its parent class 'BasicVolumeFormat'. [duplInheritedMember] BasicVolumeFormat.h:46:12: note: Parent function 'BasicVolumeFormat::mWriteHeaderFile' AnalyzeVolume.cpp:58:16: note: Derived function 'AnalyzeVolume::mWriteHeaderFile' AnalyzeVolume.h:74:18: style: The function 'SetNumberOfSlices' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:21:18: note: Virtual function in base class AnalyzeVolume.h:74:18: note: Function in derived class AnalyzeVolume.h:79:18: style: The function 'SetSliceSpacing' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:22:18: note: Virtual function in base class AnalyzeVolume.h:79:18: note: Function in derived class AnalyzeVolume.h:84:17: style: The function 'GetNumberOfSlices' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:23:17: note: Virtual function in base class AnalyzeVolume.h:84:17: note: Function in derived class AnalyzeVolume.h:101:8: style: The destructor '~AnalyzeVolume' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:31:16: note: Virtual destructor in base class AnalyzeVolume.h:101:8: note: Destructor in derived class AnalyzeVolume.h:105:12: style: The function 'WriteHeader' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:33:20: note: Virtual function in base class AnalyzeVolume.h:105:12: note: Function in derived class AnalyzeVolume.h:103:21: performance: Function 'GetHeader()' should return member 'mHeader' by const reference. [returnByReference] AnalyzeVolume.cpp:84:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] AnalyzeVolume.cpp:85:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] AnalyzeVolume.cpp:86:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] AnalyzeVolume.cpp:87:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] AnalyzeVolume.cpp:88:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] AnalyzeVolume.cpp:89:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] AnalyzeVolume.cpp:90:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] AnalyzeVolume.cpp:91:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] AnalyzeVolume.cpp:92:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] AnalyzeVolume.cpp:23:13: style:inconclusive: Function 'AnalyzeVolume' argument 2 names different: declaration 'header_extension' definition 'he'. [funcArgNamesDifferent] AnalyzeVolume.h:98:19: note: Function 'AnalyzeVolume' argument 2 names different: declaration 'header_extension' definition 'he'. AnalyzeVolume.cpp:23:13: note: Function 'AnalyzeVolume' argument 2 names different: declaration 'header_extension' definition 'he'. AnalyzeVolume.cpp:23:29: style:inconclusive: Function 'AnalyzeVolume' argument 3 names different: declaration 'raw_extension' definition 're'. [funcArgNamesDifferent] AnalyzeVolume.h:99:19: note: Function 'AnalyzeVolume' argument 3 names different: declaration 'raw_extension' definition 're'. AnalyzeVolume.cpp:23:29: note: Function 'AnalyzeVolume' argument 3 names different: declaration 'raw_extension' definition 're'. AnalyzeVolume.cpp:44:18: style: Variable 'spm_header' can be declared as pointer to const [constVariablePointer] BasicVolumeFormat.cpp:66:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] BasicVolumeFormat.cpp:87:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] BasicVolumeFormat.h:37:16: style:inconclusive: Member variable 'BasicVolumeFormat::mHeaderExtension' is in the wrong place in the initializer list. [initializerList] BasicVolumeFormat.cpp:23:1: note: Member variable 'BasicVolumeFormat::mHeaderExtension' is in the wrong place in the initializer list. BasicVolumeFormat.h:37:16: note: Member variable 'BasicVolumeFormat::mHeaderExtension' is in the wrong place in the initializer list. BasicVolumeFormat.cpp:69:23: style: C-style pointer casting [cstyleCast] BasicVolumeFormat.cpp:112:26: style: C-style pointer casting [cstyleCast] BasicVolumeFormat.cpp:83:40: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] BvFiles.cpp:30:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] BvFiles.cpp:84:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] BvFiles.cpp:109:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] BvFiles.cpp:183:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] BvFiles.h:34:2: style: Class 'BvStc' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] BvFiles.h:53:2: style: Class 'BvVmr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] BvFiles.h:72:2: style: Class 'BvFmr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] BvFiles.cpp:28:47: style:inconclusive: Function 'WriteStc' argument 3 names different: declaration 'data' definition 'v'. [funcArgNamesDifferent] BvFiles.h:38:32: note: Function 'WriteStc' argument 3 names different: declaration 'data' definition 'v'. BvFiles.cpp:28:47: note: Function 'WriteStc' argument 3 names different: declaration 'data' definition 'v'. BvFiles.cpp:28:47: style: Parameter 'v' can be declared as reference to const [constParameterReference] BvFiles.cpp:82:41: style: Parameter 'dim' can be declared as reference to const [constParameterReference] BvFiles.cpp:82:69: style: Parameter 'data' can be declared as reference to const [constParameterReference] BvFiles.cpp:107:41: style: Parameter 'dim' can be declared as reference to const [constParameterReference] BvFiles.cpp:107:69: style: Parameter 'data' can be declared as reference to const [constParameterReference] DicomTag.h:32:5: warning:inconclusive: Member variable 'DicomTag::group' is not initialized in the constructor. [uninitMemberVar] DicomTag.h:32:5: warning:inconclusive: Member variable 'DicomTag::element' is not initialized in the constructor. [uninitMemberVar] DicomTag.h:32:5: warning:inconclusive: Member variable 'DicomTag::transferSyntaxCode' is not initialized in the constructor. [uninitMemberVar] DicomTag.h:33:5: warning: Member variable 'DicomTag::transferSyntaxCode' is not initialized in the constructor. [uninitMemberVar] DicomElement.h:25:5: warning:inconclusive: Member variable 'DicomElement::value_length' is not initialized in the constructor. [uninitMemberVar] DicomElement.h:26:5: warning: Member variable 'DicomElement::value_length' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:27:5: warning:inconclusive: Member variable 'DicomElementInstance::transferSyntaxCode' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:27:5: warning:inconclusive: Member variable 'DicomElementInstance::value_buff' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:27:5: warning:inconclusive: Member variable 'DicomElementInstance::vr_buff' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:27:5: warning:inconclusive: Member variable 'DicomElementInstance::value_length' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:27:5: warning:inconclusive: Member variable 'DicomElementInstance::myValue' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:27:5: warning:inconclusive: Member variable 'DicomElementInstance::mDicomDictionary' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:28:5: warning: Member variable 'DicomElementInstance::transferSyntaxCode' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:28:5: warning: Member variable 'DicomElementInstance::value_buff' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:28:5: warning: Member variable 'DicomElementInstance::vr_buff' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:28:5: warning: Member variable 'DicomElementInstance::value_length' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:28:5: warning: Member variable 'DicomElementInstance::myValue' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:30:5: warning: Member variable 'DicomElementInstance::value_buff' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:30:5: warning: Member variable 'DicomElementInstance::vr_buff' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:30:5: warning: Member variable 'DicomElementInstance::value_length' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:30:5: warning: Member variable 'DicomElementInstance::myValue' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:32:5: warning: Member variable 'DicomElementInstance::transferSyntaxCode' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:32:5: warning: Member variable 'DicomElementInstance::value_buff' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:32:5: warning: Member variable 'DicomElementInstance::vr_buff' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:32:5: warning: Member variable 'DicomElementInstance::value_length' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:32:5: warning: Member variable 'DicomElementInstance::myValue' is not initialized in the constructor. [uninitMemberVar] DicomElementInstance.h:32:5: warning: Member variable 'DicomElementInstance::mDicomDictionary' is not initialized in the constructor. [uninitMemberVar] ValueRepresentations.h:27:13: style:inconclusive: Member variable 'DicomValue::transferSyntaxCode' is in the wrong place in the initializer list. [initializerList] ValueRepresentations.h:25:87: note: Member variable 'DicomValue::transferSyntaxCode' is in the wrong place in the initializer list. ValueRepresentations.h:27:13: note: Member variable 'DicomValue::transferSyntaxCode' is in the wrong place in the initializer list. DicomElementInstance.h:50:10: style:inconclusive: Technically the member function 'jcs::DicomElementInstance::IsExplicitVR' can be const. [functionConst] DicomElementInstance.cpp:131:23: note: Technically the member function 'jcs::DicomElementInstance::IsExplicitVR' can be const. DicomElementInstance.h:50:10: note: Technically the member function 'jcs::DicomElementInstance::IsExplicitVR' can be const. DicomElementInstance.h:51:17: style:inconclusive: Technically the member function 'jcs::DicomElementInstance::GetVR' can be const. [functionConst] DicomElementInstance.cpp:142:23: note: Technically the member function 'jcs::DicomElementInstance::GetVR' can be const. DicomElementInstance.h:51:17: note: Technically the member function 'jcs::DicomElementInstance::GetVR' can be const. DicomElementInstance.h:52:14: style:inconclusive: Technically the member function 'jcs::DicomElementInstance::EndianSwapUint32' can be const. [functionConst] DicomElementInstance.cpp:148:23: note: Technically the member function 'jcs::DicomElementInstance::EndianSwapUint32' can be const. DicomElementInstance.h:52:14: note: Technically the member function 'jcs::DicomElementInstance::EndianSwapUint32' can be const. ValueRepresentations.h:61:27: warning: The class 'VR_AT' defines member variable with name 'values' also defined in its parent class 'DicomValue'. [duplInheritedMember] ValueRepresentations.h:29:27: note: Parent variable 'DicomValue::values' ValueRepresentations.h:61:27: note: Derived variable 'VR_AT::values' ValueRepresentations.h:97:24: warning: The class 'VR_FL' defines member variable with name 'values' also defined in its parent class 'DicomValue'. [duplInheritedMember] ValueRepresentations.h:29:27: note: Parent variable 'DicomValue::values' ValueRepresentations.h:97:24: note: Derived variable 'VR_FL::values' ValueRepresentations.h:106:25: warning: The class 'VR_FD' defines member variable with name 'values' also defined in its parent class 'DicomValue'. [duplInheritedMember] ValueRepresentations.h:29:27: note: Parent variable 'DicomValue::values' ValueRepresentations.h:106:25: note: Derived variable 'VR_FD::values' ValueRepresentations.h:143:24: warning: The class 'VR_OF' defines member variable with name 'values' also defined in its parent class 'DicomValue'. [duplInheritedMember] ValueRepresentations.h:29:27: note: Parent variable 'DicomValue::values' ValueRepresentations.h:143:24: note: Derived variable 'VR_OF::values' ValueRepresentations.h:153:27: warning: The class 'VR_OW' defines member variable with name 'values' also defined in its parent class 'DicomValue'. [duplInheritedMember] ValueRepresentations.h:29:27: note: Parent variable 'DicomValue::values' ValueRepresentations.h:153:27: note: Derived variable 'VR_OW::values' ValueRepresentations.h:176:26: warning: The class 'VR_SL' defines member variable with name 'values' also defined in its parent class 'DicomValue'. [duplInheritedMember] ValueRepresentations.h:29:27: note: Parent variable 'DicomValue::values' ValueRepresentations.h:176:26: note: Derived variable 'VR_SL::values' ValueRepresentations.h:192:26: warning: The class 'VR_SS' defines member variable with name 'values' also defined in its parent class 'DicomValue'. [duplInheritedMember] ValueRepresentations.h:29:27: note: Parent variable 'DicomValue::values' ValueRepresentations.h:192:26: note: Derived variable 'VR_SS::values' ValueRepresentations.h:222:27: warning: The class 'VR_UL' defines member variable with name 'values' also defined in its parent class 'DicomValue'. [duplInheritedMember] ValueRepresentations.h:29:27: note: Parent variable 'DicomValue::values' ValueRepresentations.h:222:27: note: Derived variable 'VR_UL::values' ValueRepresentations.h:238:27: warning: The class 'VR_US' defines member variable with name 'values' also defined in its parent class 'DicomValue'. [duplInheritedMember] ValueRepresentations.h:29:27: note: Parent variable 'DicomValue::values' ValueRepresentations.h:238:27: note: Derived variable 'VR_US::values' DicomElement.h:26:5: style: Struct 'DicomElement' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Dictionary.h:56:5: style: Class 'Dictionary' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] DicomElementInstance.h:28:5: style: Class 'DicomElementInstance' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] DicomElementInstance.h:32:5: style: Class 'DicomElementInstance' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] DicomElementInstance.cpp:31:15: style: C-style pointer casting [cstyleCast] DicomElementInstance.cpp:36:15: style: C-style pointer casting [cstyleCast] DicomElementInstance.cpp:43:13: style: C-style pointer casting [cstyleCast] DicomFile.txx:23:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mInputFile [valueFlowBailoutIncompleteVar] DicomFile.txx:61:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur [valueFlowBailoutIncompleteVar] DicomFile.txx:92:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur [valueFlowBailoutIncompleteVar] DicomFile.txx:119:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mBeginning [valueFlowBailoutIncompleteVar] DicomFile.txx:152:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadMap [valueFlowBailoutIncompleteVar] DicomTag.cpp:82:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] DicomTag.cpp:61:11: style: C-style pointer casting [cstyleCast] DicomTag.cpp:62:11: style: C-style pointer casting [cstyleCast] Dictionary.cpp:45:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] Dictionary.cpp:67:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] Dictionary.cpp:20:3: performance: Variable 'NULL_ENTRY' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] InfoFrame.cpp:54:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] InfoFrame.cpp:52:35: style: Parameter 's' can be declared as reference to const [constParameterReference] MRIConvert.cpp:63:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxDefaultPosition [valueFlowBailoutIncompleteVar] MainHeader.h:21:10: performance:inconclusive: Technically the member function 'jcs::MainHeader::isPixelData' can be static (but you may consider moving to unnamed namespace). [functionStatic] MainHeader.cpp:30:13: note: Technically the member function 'jcs::MainHeader::isPixelData' can be static (but you may consider moving to unnamed namespace). MainHeader.h:21:10: note: Technically the member function 'jcs::MainHeader::isPixelData' can be static (but you may consider moving to unnamed namespace). MainHeader.cpp:30:46: performance: Function parameter 'de' should be passed by const reference. [passedByValue] MessageList.cpp:112:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] MessageList.h:20:2: style: Class 'MessageListDlg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] MessageList.cpp:104:41: style: Parameter 'event' can be declared as reference to const [constParameterReference] MetaHeader.h:22:10: performance:inconclusive: Technically the member function 'jcs::MetaHeader::IsMetaHeaderElement' can be static (but you may consider moving to unnamed namespace). [functionStatic] MetaHeader.cpp:10:13: note: Technically the member function 'jcs::MetaHeader::IsMetaHeaderElement' can be static (but you may consider moving to unnamed namespace). MetaHeader.h:22:10: note: Technically the member function 'jcs::MetaHeader::IsMetaHeaderElement' can be static (but you may consider moving to unnamed namespace). MetaHeader.cpp:10:54: performance: Function parameter 'de' should be passed by const reference. [passedByValue] NewBvOutputter.txx:48:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mSaveV16 [valueFlowBailoutIncompleteVar] NewBvOutputter.txx:180:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mSkip [valueFlowBailoutIncompleteVar] NewBvOutputter.txx:50:9: style: Condition '!write_vmr' is always false [knownConditionTrueFalse] NewBvOutputter.txx:47:22: note: Assignment 'write_vmr=true', assigned value is 1 NewBvOutputter.txx:50:9: note: Condition '!write_vmr' is always false NewBvOutputter.txx:63:9: style: Condition 'write_vmr' is always true [knownConditionTrueFalse] NewBvOutputter.txx:47:22: note: Assignment 'write_vmr=true', assigned value is 1 NewBvOutputter.txx:63:9: note: Condition 'write_vmr' is always true NewMetaVolume.cpp:38:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] NewMetaVolume.h:32:15: style: The function 'SetNumberOfSlices' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:21:18: note: Virtual function in base class NewMetaVolume.h:32:15: note: Function in derived class NewMetaVolume.h:33:15: style: The function 'SetSliceSpacing' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:22:18: note: Virtual function in base class NewMetaVolume.h:33:15: note: Function in derived class NewMetaVolume.h:34:14: style: The function 'GetNumberOfSlices' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:23:17: note: Virtual function in base class NewMetaVolume.h:34:14: note: Function in derived class NewMetaVolume.h:47:15: style: The function 'WriteHeader' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:33:20: note: Virtual function in base class NewMetaVolume.h:47:15: note: Function in derived class NewMetaVolume.cpp:20:64: style:inconclusive: Function 'NewMetaVolume' argument 2 names different: declaration 'header_extension' definition 'he'. [funcArgNamesDifferent] NewMetaVolume.h:44:21: note: Function 'NewMetaVolume' argument 2 names different: declaration 'header_extension' definition 'he'. NewMetaVolume.cpp:20:64: note: Function 'NewMetaVolume' argument 2 names different: declaration 'header_extension' definition 'he'. NewMetaVolume.cpp:20:80: style:inconclusive: Function 'NewMetaVolume' argument 3 names different: declaration 'raw_extension' definition 're'. [funcArgNamesDifferent] NewMetaVolume.h:45:21: note: Function 'NewMetaVolume' argument 3 names different: declaration 'raw_extension' definition 're'. NewMetaVolume.cpp:20:80: note: Function 'NewMetaVolume' argument 3 names different: declaration 'raw_extension' definition 're'. NewMetaVolume.cpp:30:43: style:inconclusive: Function 'WriteHeader' argument 1 names different: declaration 'header' definition 'header_3d'. [funcArgNamesDifferent] NewMetaVolume.h:47:42: note: Function 'WriteHeader' argument 1 names different: declaration 'header' definition 'header_3d'. NewMetaVolume.cpp:30:43: note: Function 'WriteHeader' argument 1 names different: declaration 'header' definition 'header_3d'. NewMetaVolume.cpp:83:39: performance: Passing the result of c_str() to a stream is slow and redundant. [stlcstrStream] NewMetaVolume.cpp:79:24: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] NewMetaVolume.cpp:87:24: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] NewSpmVolume.cpp:43:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] NewSpmVolume.cpp:70:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] NewSpmVolume.cpp:231:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] NewSpmVolume.cpp:345:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] NewSpmVolume.cpp:388:3: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] NewSpmVolume.h:118:7: style: Unused private function: 'NewSpmVolume::mOpenMatFile' [unusedPrivateFunction] NewSpmVolume.h:122:7: style: Unused private function: 'NewSpmVolume::mReadHeaderFile' [unusedPrivateFunction] NewSpmVolume.h:98:15: style:inconclusive: Technically the member function 'jcs::NewSpmVolume::GetHeader' can be const. [functionConst] NewSpmVolume.cpp:68:15: warning: The class 'NewSpmVolume' defines member function with name 'mReadHeaderFile' also defined in its parent class 'BasicVolumeFormat'. [duplInheritedMember] BasicVolumeFormat.h:45:12: note: Parent function 'BasicVolumeFormat::mReadHeaderFile' NewSpmVolume.cpp:68:15: note: Derived function 'NewSpmVolume::mReadHeaderFile' NewSpmVolume.cpp:228:15: warning: The class 'NewSpmVolume' defines member function with name 'mWriteHeaderFile' also defined in its parent class 'BasicVolumeFormat'. [duplInheritedMember] BasicVolumeFormat.h:46:12: note: Parent function 'BasicVolumeFormat::mWriteHeaderFile' NewSpmVolume.cpp:228:15: note: Derived function 'NewSpmVolume::mWriteHeaderFile' NewSpmVolume.h:79:15: style: The function 'SetNumberOfSlices' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:21:18: note: Virtual function in base class NewSpmVolume.h:79:15: note: Function in derived class NewSpmVolume.h:80:15: style: The function 'SetSliceSpacing' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:22:18: note: Virtual function in base class NewSpmVolume.h:80:15: note: Function in derived class NewSpmVolume.h:82:14: style: The function 'GetNumberOfSlices' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:23:17: note: Virtual function in base class NewSpmVolume.h:82:14: note: Function in derived class NewSpmVolume.h:96:3: style: The destructor '~NewSpmVolume' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:31:16: note: Virtual destructor in base class NewSpmVolume.h:96:3: note: Destructor in derived class NewSpmVolume.h:100:7: style: The function 'WriteHeader' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:33:20: note: Virtual function in base class NewSpmVolume.h:100:7: note: Function in derived class NewSpmVolume.h:98:15: performance: Function 'GetHeader()' should return member 'mHeader' by const reference. [returnByReference] NewSpmVolume.cpp:121:20: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:123:20: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:125:20: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:127:20: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:129:20: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:131:20: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:133:20: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:135:20: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:137:20: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:273:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:275:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:277:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:279:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:281:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:283:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:285:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:287:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:289:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NewSpmVolume.cpp:13:13: style:inconclusive: Function 'NewSpmVolume' argument 2 names different: declaration 'header_extension' definition 'he'. [funcArgNamesDifferent] NewSpmVolume.h:93:15: note: Function 'NewSpmVolume' argument 2 names different: declaration 'header_extension' definition 'he'. NewSpmVolume.cpp:13:13: note: Function 'NewSpmVolume' argument 2 names different: declaration 'header_extension' definition 'he'. NewSpmVolume.cpp:13:29: style:inconclusive: Function 'NewSpmVolume' argument 3 names different: declaration 'raw_extension' definition 're'. [funcArgNamesDifferent] NewSpmVolume.h:94:15: note: Function 'NewSpmVolume' argument 3 names different: declaration 'raw_extension' definition 're'. NewSpmVolume.cpp:13:29: note: Function 'NewSpmVolume' argument 3 names different: declaration 'raw_extension' definition 're'. ByteSwap.h:26:12: style: Local variable 'j' shadows outer variable [shadowVariable] ByteSwap.h:21:11: note: Shadowed declaration ByteSwap.h:26:12: note: Shadow variable NewSpmVolume.cpp:39:17: style: Variable 'spm_header' can be declared as pointer to const [constVariablePointer] ByteSwap.h:23:5: error: Memory is allocated but not initialized: sp [uninitdata] NiftiVolume.cpp:60:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] NiftiVolume.cpp:72:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] NiftiVolume.cpp:15:3: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] NiftiVolume.h:54:17: style:inconclusive: Technically the member function 'jcs::NiftiVolume::GetHeader' can be const. [functionConst] NiftiVolume.cpp:70:14: warning: The class 'NiftiVolume' defines member function with name 'mWriteHeaderFile' also defined in its parent class 'BasicVolumeFormat'. [duplInheritedMember] BasicVolumeFormat.h:46:12: note: Parent function 'BasicVolumeFormat::mWriteHeaderFile' NiftiVolume.cpp:70:14: note: Derived function 'NiftiVolume::mWriteHeaderFile' NiftiVolume.h:36:18: style: The function 'SetNumberOfSlices' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:21:18: note: Virtual function in base class NiftiVolume.h:36:18: note: Function in derived class NiftiVolume.h:37:18: style: The function 'SetSliceSpacing' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:22:18: note: Virtual function in base class NiftiVolume.h:37:18: note: Function in derived class NiftiVolume.h:39:17: style: The function 'GetNumberOfSlices' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:23:17: note: Virtual function in base class NiftiVolume.h:39:17: note: Function in derived class NiftiVolume.h:52:6: style: The destructor '~NiftiVolume' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:31:16: note: Virtual destructor in base class NiftiVolume.h:52:6: note: Destructor in derived class NiftiVolume.h:56:10: style: The function 'WriteHeader' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:33:20: note: Virtual function in base class NiftiVolume.h:56:10: note: Function in derived class NiftiVolume.h:54:17: performance: Function 'GetHeader()' should return member 'mHeader' by const reference. [returnByReference] NiftiVolume.cpp:85:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:86:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:87:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:92:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:93:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:94:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:95:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:99:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:100:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:101:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:102:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:109:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:110:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:111:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:112:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:113:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:114:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:115:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:116:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:117:21: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] NiftiVolume.cpp:56:16: style: Variable 'nifti_header' can be declared as pointer to const [constVariablePointer] NoOptionsDlg.cpp:40:38: style: Parameter 'event' can be declared as reference to const [constParameterReference] OutputList.h:24:17: performance: Function 'GetPrefix()' should return member 'mPrefix' by const reference. [returnByReference] OutputList.h:25:17: performance: Function 'GetPostfix()' should return member 'mPostfix' by const reference. [returnByReference] OutputList.h:35:17: performance: Function 'GetExt()' should return member 'mExt' by const reference. [returnByReference] OutputList.cpp:194:48: performance: Function parameter 'name' should be passed by const reference. [passedByValue] OutputList.cpp:42:3: performance: Assigning the result of c_str() to a std::string is slow and redundant. [stlcstrAssignment] OutputList.cpp:52:3: performance: Assigning the result of c_str() to a std::string is slow and redundant. [stlcstrAssignment] OverwriteDlg.cpp:47:40: style: Parameter 'event' can be declared as reference to const [constParameterReference] Preamble.h:15:10: style:inconclusive: Technically the member function 'jcs::Preamble::IsDICOM' can be const. [functionConst] Preamble.cpp:31:11: note: Technically the member function 'jcs::Preamble::IsDICOM' can be const. Preamble.h:15:10: note: Technically the member function 'jcs::Preamble::IsDICOM' can be const. SeriesHandler.txx:66:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] SeriesHandler.txx:109:16: style: The scope of the variable 'slope' can be reduced. [variableScope] SeriesHandler.txx:110:16: style: The scope of the variable 'intercept' can be reduced. [variableScope] SeriesHandler.txx:123:30: performance: Searching before insertion is not necessary. Instead of 'minDistMap[*vit]=dist' consider using 'minDistMap.try_emplace(*vit, dist);'. [stlFindInsert] SeriesHandler.txx:75:21: style: Variable 'file_number' is assigned a value that is never used. [unreadVariable] StringConvert.cpp:169:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] StringConvert.cpp:187:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] StringConvert.cpp:160:15: performance: Constructing a std::string from the result of c_str() is slow and redundant. [stlcstrConstructor] StringConvert.cpp:43:10: warning: Uninitialized variable: f [uninitvar] StringConvert.cpp:39:21: note: Assuming condition is false StringConvert.cpp:43:10: note: Uninitialized variable: f StringConvert.cpp:79:10: warning: Uninitialized variable: f [uninitvar] StringConvert.cpp:75:21: note: Assuming condition is false StringConvert.cpp:79:10: note: Uninitialized variable: f StringConvert.cpp:134:22: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] StringConvert.cpp:184:31: style: Variable 'pos1' is assigned a value that is never used. [unreadVariable] TextFileViewer.cpp:26:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] ValueRepresentations.cpp:22:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvUTF8 [valueFlowBailoutIncompleteVar] ValueRepresentations.cpp:231:13: style: C-style pointer casting [cstyleCast] ValueRepresentations.cpp:264:13: style: C-style pointer casting [cstyleCast] ValueRepresentations.cpp:343:13: style: C-style pointer casting [cstyleCast] ValueRepresentations.cpp:377:13: style: C-style pointer casting [cstyleCast] ValueRepresentations.cpp:432:13: style: C-style pointer casting [cstyleCast] ValueRepresentations.cpp:476:13: style: C-style pointer casting [cstyleCast] ValueRepresentations.cpp:542:13: style: C-style pointer casting [cstyleCast] ValueRepresentations.cpp:587:13: style: C-style pointer casting [cstyleCast] ValueRepresentations.cpp:105:37: style:inconclusive: Function 'operator==' argument 1 names different: declaration 'dv' definition 'rhs'. [funcArgNamesDifferent] ValueRepresentations.h:38:34: note: Function 'operator==' argument 1 names different: declaration 'dv' definition 'rhs'. ValueRepresentations.cpp:105:37: note: Function 'operator==' argument 1 names different: declaration 'dv' definition 'rhs'. ValueRepresentations.cpp:143:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'ae'. [funcArgNamesDifferent] ValueRepresentations.h:252:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'ae'. ValueRepresentations.cpp:143:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'ae'. ValueRepresentations.cpp:182:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'cs'. [funcArgNamesDifferent] ValueRepresentations.h:261:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'cs'. ValueRepresentations.cpp:182:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'cs'. ValueRepresentations.cpp:193:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'da'. [funcArgNamesDifferent] ValueRepresentations.h:264:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'da'. ValueRepresentations.cpp:193:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'da'. ValueRepresentations.cpp:204:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'ds'. [funcArgNamesDifferent] ValueRepresentations.h:267:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'ds'. ValueRepresentations.cpp:204:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'ds'. ValueRepresentations.cpp:215:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'dt'. [funcArgNamesDifferent] ValueRepresentations.h:270:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'dt'. ValueRepresentations.cpp:215:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'dt'. ValueRepresentations.cpp:292:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'is'. [funcArgNamesDifferent] ValueRepresentations.h:283:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'is'. ValueRepresentations.cpp:292:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'is'. ValueRepresentations.cpp:303:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'lo'. [funcArgNamesDifferent] ValueRepresentations.h:286:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'lo'. ValueRepresentations.cpp:303:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'lo'. ValueRepresentations.cpp:314:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'lt'. [funcArgNamesDifferent] ValueRepresentations.h:289:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'lt'. ValueRepresentations.cpp:314:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'lt'. ValueRepresentations.cpp:326:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'ob'. [funcArgNamesDifferent] ValueRepresentations.h:292:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'ob'. ValueRepresentations.cpp:326:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'ob'. ValueRepresentations.cpp:405:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'pn'. [funcArgNamesDifferent] ValueRepresentations.h:305:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'pn'. ValueRepresentations.cpp:405:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'pn'. ValueRepresentations.cpp:416:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'sh'. [funcArgNamesDifferent] ValueRepresentations.h:308:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'sh'. ValueRepresentations.cpp:416:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'sh'. ValueRepresentations.cpp:461:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'sq'. [funcArgNamesDifferent] ValueRepresentations.h:311:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'sq'. ValueRepresentations.cpp:461:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'sq'. ValueRepresentations.cpp:504:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'st'. [funcArgNamesDifferent] ValueRepresentations.h:324:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'st'. ValueRepresentations.cpp:504:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'st'. ValueRepresentations.cpp:515:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'tm'. [funcArgNamesDifferent] ValueRepresentations.h:327:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'tm'. ValueRepresentations.cpp:515:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'tm'. ValueRepresentations.cpp:526:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'ui'. [funcArgNamesDifferent] ValueRepresentations.h:330:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'ui'. ValueRepresentations.cpp:526:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'ui'. ValueRepresentations.cpp:571:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'un'. [funcArgNamesDifferent] ValueRepresentations.h:338:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'un'. ValueRepresentations.cpp:571:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'un'. ValueRepresentations.cpp:616:43: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'at' definition 'ut'. [funcArgNamesDifferent] ValueRepresentations.h:346:40: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'ut'. ValueRepresentations.cpp:616:43: note: Function 'operator>>' argument 2 names different: declaration 'at' definition 'ut'. ValueRepresentations.cpp:461:43: style: Parameter 'sq' can be declared as reference to const [constParameterReference] ValueRepresentations.cpp:112:37: style: Variable 'it_rhs_end' is assigned a value that is never used. [unreadVariable] jcsTree.cpp:26:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] jcsTree.cpp:37:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable folder_xpm [valueFlowBailoutIncompleteVar] jcsTree.cpp:256:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] jcsTree.cpp:277:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxTR_MULTIPLE [valueFlowBailoutIncompleteVar] jcsTree.h:29:2: warning:inconclusive: Member variable 'jcsTreeItemData::mItemType' is not initialized in the constructor. [uninitMemberVarPrivate] jcsTree.cpp:78:27: style: C-style pointer casting [cstyleCast] jcsTree.cpp:100:29: style: C-style pointer casting [cstyleCast] jcsTree.cpp:203:53: style:inconclusive: Function 'GetStringSelection' argument 1 names different: declaration 'item' definition 'selected'. [funcArgNamesDifferent] jcsTree.h:49:50: note: Function 'GetStringSelection' argument 1 names different: declaration 'item' definition 'selected'. jcsTree.cpp:203:53: note: Function 'GetStringSelection' argument 1 names different: declaration 'item' definition 'selected'. jcsTree.cpp:78:20: style: Variable 'item' can be declared as pointer to const [constVariablePointer] jcsTree.cpp:100:22: style: Variable 'item' can be declared as pointer to const [constVariablePointer] jcsTree.cpp:155:22: style: Variable 'data' can be declared as pointer to const [constVariablePointer] jcsTree.cpp:223:22: style: Variable 'data' can be declared as pointer to const [constVariablePointer] jcsTree.cpp:236:22: style: Variable 'data' can be declared as pointer to const [constVariablePointer] jcsTree.cpp:267:22: style: Variable 'data' can be declared as pointer to const [constVariablePointer] diff: head AnalyzeVolume.cpp:48:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head AnalyzeVolume.cpp:60:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head AnalyzeVolume.h:101:8: style: The destructor '~AnalyzeVolume' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:31:16: note: Virtual destructor in base class AnalyzeVolume.h:101:8: note: Destructor in derived class head AnalyzeVolume.h:103:21: performance: Function 'GetHeader()' should return member 'mHeader' by const reference. [returnByReference] head BasicVolumeFormat.cpp:87:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head BvFiles.cpp:109:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head BvFiles.cpp:183:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head BvFiles.cpp:30:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head BvFiles.cpp:84:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head DicomFile.txx:119:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mBeginning [valueFlowBailoutIncompleteVar] head DicomFile.txx:152:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadMap [valueFlowBailoutIncompleteVar] head DicomFile.txx:61:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur [valueFlowBailoutIncompleteVar] head DicomFile.txx:92:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur [valueFlowBailoutIncompleteVar] head Dictionary.cpp:67:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxConvLocal [valueFlowBailoutIncompleteVar] head MRIConvert.cpp:63:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxDefaultPosition [valueFlowBailoutIncompleteVar] head MessageList.cpp:104:41: style: Parameter 'event' can be declared as reference to const [constParameterReference] 2.13.0 NewBvOutputter.txx:122:15: style: Condition 'write_vmr' is always true [knownConditionTrueFalse] NewBvOutputter.txx:47:22: note: Assignment 'write_vmr=true', assigned value is 1 NewBvOutputter.txx:122:15: note: Condition 'write_vmr' is always true 2.13.0 NewBvOutputter.txx:150:9: style: Condition 'write_vmr' is always true [knownConditionTrueFalse] NewBvOutputter.txx:47:22: note: Assignment 'write_vmr=true', assigned value is 1 NewBvOutputter.txx:150:9: note: Condition 'write_vmr' is always true head NewBvOutputter.txx:180:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mSkip [valueFlowBailoutIncompleteVar] head NewBvOutputter.txx:48:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mSaveV16 [valueFlowBailoutIncompleteVar] head NewMetaVolume.cpp:38:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head NewSpmVolume.cpp:231:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head NewSpmVolume.cpp:345:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head NewSpmVolume.cpp:43:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head NewSpmVolume.cpp:70:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] head NewSpmVolume.h:96:3: style: The destructor '~NewSpmVolume' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:31:16: note: Virtual destructor in base class NewSpmVolume.h:96:3: note: Destructor in derived class head NewSpmVolume.h:98:15: performance: Function 'GetHeader()' should return member 'mHeader' by const reference. [returnByReference] head NiftiVolume.cpp:60:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] head NiftiVolume.cpp:72:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] head NiftiVolume.h:52:6: style: The destructor '~NiftiVolume' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] BasicVolumeFormat.h:31:16: note: Virtual destructor in base class NiftiVolume.h:52:6: note: Destructor in derived class head NiftiVolume.h:54:17: performance: Function 'GetHeader()' should return member 'mHeader' by const reference. [returnByReference] head NoOptionsDlg.cpp:40:38: style: Parameter 'event' can be declared as reference to const [constParameterReference] head OutputList.h:24:17: performance: Function 'GetPrefix()' should return member 'mPrefix' by const reference. [returnByReference] head OutputList.h:25:17: performance: Function 'GetPostfix()' should return member 'mPostfix' by const reference. [returnByReference] head OutputList.h:35:17: performance: Function 'GetExt()' should return member 'mExt' by const reference. [returnByReference] head OverwriteDlg.cpp:47:40: style: Parameter 'event' can be declared as reference to const [constParameterReference] head StringConvert.cpp:187:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] head ValueRepresentations.cpp:461:43: style: Parameter 'sq' can be declared as reference to const [constParameterReference] head jcsTree.cpp:256:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] head jcsTree.cpp:277:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxTR_MULTIPLE [valueFlowBailoutIncompleteVar] head jcsTree.cpp:37:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable folder_xpm [valueFlowBailoutIncompleteVar] DONE