2026-05-31 21:33 ftp://ftp.de.debian.org/debian/pool/main/b/beads/beads_1.1.22+ds.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.12.88+deb13-amd64-x86_64-with-glibc2.41 python: 3.12.13 client-version: 1.4.0 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.20.0 head-info: 8c14fc7 (2026-05-31 09:56:45 +0200) count: 162 159 elapsed-time: 0.5 0.5 head-timing-info: old-timing-info: head results: beads-1.1.22+ds/src/ConfigFile/ConfigFile.cpp:62:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/ConfigFile/ConfigFile.cpp:98:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/ConfigFile/ConfigFile.h:67:2: style: Class 'ConfigFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/ConfigFile/ConfigFile.h:110:3: style: Struct 'file_not_found' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/ConfigFile/ConfigFile.h:114:3: style: Struct 'key_not_found' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/ConfigFile/ConfigFile.h:88:9: performance: Function 'getDelimiter()' should return member 'myDelimiter' by const reference. [returnByReference] beads-1.1.22+ds/src/ConfigFile/ConfigFile.h:89:9: performance: Function 'getComment()' should return member 'myComment' by const reference. [returnByReference] beads-1.1.22+ds/src/ConfigFile/ConfigFile.h:90:9: performance: Function 'getSentry()' should return member 'mySentry' by const reference. [returnByReference] beads-1.1.22+ds/src/ConfigFile/ConfigFile.cpp:7:32: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] beads-1.1.22+ds/src/ConfigFile/ConfigFile.cpp:8:48: performance: Function parameter 'sentry' should be passed by const reference. [passedByValue] beads-1.1.22+ds/src/ConfigFile/ConfigFile.cpp:95:10: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] beads-1.1.22+ds/src/ConfigFile/ConfigFile.cpp:121:16: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] beads-1.1.22+ds/src/beads.cpp:34:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/beads.cpp:99:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/spotPROTICdbDocument.h:11:2: warning: Member variable 'spotPROTICdbDocument::_p_xml_stream' is not initialized in the constructor. [uninitMemberVar] beads-1.1.22+ds/src/spotPROTICdbDocument.h:11:2: warning: Member variable 'spotPROTICdbDocument::_output_file' is not initialized in the constructor. [uninitMemberVar] beads-1.1.22+ds/src/spotPROTICdbDocument.h:11:2: warning: Member variable 'spotPROTICdbDocument::_output_stream' is not initialized in the constructor. [uninitMemberVar] beads-1.1.22+ds/src/spotDocument.h:15:6: warning:inconclusive: Class 'spotDocument' which has virtual members does not have a virtual destructor. [virtualDestructor] beads-1.1.22+ds/src/images/imageCoule.h:25:34: warning: The class 'imageCoule' defines member variable with name '_max_value' also defined in its parent class 'imageIntensity'. [duplInheritedMember] beads-1.1.22+ds/src/images/imageIntensity.h:56:34: note: Parent variable 'imageIntensity::_max_value' beads-1.1.22+ds/src/images/imageCoule.h:25:34: note: Derived variable 'imageCoule::_max_value' beads-1.1.22+ds/src/images/imageCode.h:17:2: style: Class 'imageCode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/images/imageIntensity.h:14:2: style: Class 'imageIntensity' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/images/imageDirect.h:20:2: style: Class 'imageDirect' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/images/imageCoule.h:10:2: style: Class 'imageCoule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/images/imageProb.h:14:2: style: Class 'imageProb' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/images/imagePaths.h:10:2: style: Class 'imagePaths' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/images/imageDetection.h:12:2: style: Class 'imageDetection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/images/imageDetection.h:14:2: style: Class 'imageDetection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/images/imageConfluent.h:14:2: style: Class 'imageConfluent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/detection.h:35:2: style: Class 'detection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/images/imageContours.h:10:2: style: Class 'imageContours' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/spotDocument.h:13:5: style: Class 'spotDocument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/parameters.h:13:2: style: Class 'parameters' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/spotSvgDocument.h:17:15: style: The function 'close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] beads-1.1.22+ds/src/spotDocument.h:25:18: note: Virtual function in base class beads-1.1.22+ds/src/spotSvgDocument.h:17:15: note: Function in derived class beads-1.1.22+ds/src/spotPROTICdbDocument.h:18:15: style: The function 'close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] beads-1.1.22+ds/src/spotDocument.h:25:18: note: Virtual function in base class beads-1.1.22+ds/src/spotPROTICdbDocument.h:18:15: note: Function in derived class beads-1.1.22+ds/src/spotPROTICdbDocument.h:19:7: style: The function 'write_spot' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] beads-1.1.22+ds/src/spotDocument.h:29:18: note: Virtual function in base class beads-1.1.22+ds/src/spotPROTICdbDocument.h:19:7: note: Function in derived class beads-1.1.22+ds/src/beads.cpp:374:31: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] beads-1.1.22+ds/src/beads.cpp:138:22: note: outer condition: sub_function=="total" beads-1.1.22+ds/src/beads.cpp:374:31: note: opposite inner condition: sub_function=="denovo" beads-1.1.22+ds/src/beads.cpp:343:13: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] beads-1.1.22+ds/src/beads.cpp:376:21: style: Local variable 'output_filename' shadows outer variable [shadowVariable] beads-1.1.22+ds/src/beads.cpp:102:23: note: Shadowed variable beads-1.1.22+ds/src/beads.cpp:376:21: note: Shadow local variable beads-1.1.22+ds/src/beads.cpp:31:49: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] beads-1.1.22+ds/src/beads.cpp:84:25: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] beads-1.1.22+ds/src/beads.cpp:163:31: style: Variable 'svg_output' is assigned a value that is never used. [unreadVariable] beads-1.1.22+ds/src/detection.cpp:59:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/detection.cpp:100:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/detection.cpp:161:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/detection.cpp:278:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/qtbeads/qtbeads_error.h:25:38: error: Returning object that will be invalid when returning. [returnDanglingLifetime] beads-1.1.22+ds/src/qtbeads/qtbeads_error.h:25:38: note: Pointer to container is created here. beads-1.1.22+ds/src/qtbeads/qtbeads_error.h:25:38: note: Returning object that will be invalid when returning. beads-1.1.22+ds/src/detection.cpp:49:12: warning: Member variable 'detection::_gel_image_width' is not initialized in the constructor. [uninitMemberVar] beads-1.1.22+ds/src/detection.cpp:49:12: warning: Member variable 'detection::_gel_image_height' is not initialized in the constructor. [uninitMemberVar] beads-1.1.22+ds/src/detection.cpp:12:2: performance: Variable '_image_file_name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] beads-1.1.22+ds/src/detection.cpp:20:2: performance: Variable '_image_file_name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] beads-1.1.22+ds/src/qtbeads/qtbeads_error.h:16:2: style: Class 'qtbeadsError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/detection.cpp:141:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] beads-1.1.22+ds/src/detection.cpp:99:8: style: The scope of the variable 'atteint' can be reduced. [variableScope] beads-1.1.22+ds/src/detection.cpp:49:45: style:inconclusive: Function 'detection' argument 1 names different: declaration '' definition 'image_detect'. [funcArgNamesDifferentUnnamed] beads-1.1.22+ds/src/qtbeads/qtbeads_error.h:16:23: performance: Function parameter 'message' should be passed by const reference. [passedByValue] beads-1.1.22+ds/src/encode/base64.cpp:16:6: style: The scope of the variable 'j' can be reduced. [variableScope] beads-1.1.22+ds/src/encode/base64.cpp:62:6: style: The scope of the variable 'j' can be reduced. [variableScope] beads-1.1.22+ds/src/encode/base64.cpp:12:48: style:inconclusive: Function 'base64_encode' argument 1 names different: declaration '' definition 'bytes_to_encode'. [funcArgNamesDifferentUnnamed] beads-1.1.22+ds/src/encode/base64.cpp:13:16: style:inconclusive: Function 'base64_encode' argument 2 names different: declaration 'len' definition 'in_len'. [funcArgNamesDifferent] beads-1.1.22+ds/src/encode/base64.h:3:62: note: Function 'base64_encode' argument 2 names different: declaration 'len' definition 'in_len'. beads-1.1.22+ds/src/encode/base64.cpp:13:16: note: Function 'base64_encode' argument 2 names different: declaration 'len' definition 'in_len'. beads-1.1.22+ds/src/encode/base64.cpp:59:46: style:inconclusive: Function 'base64_decode' argument 1 names different: declaration 's' definition 'encoded_string'. [funcArgNamesDifferent] beads-1.1.22+ds/src/encode/base64.h:4:46: note: Function 'base64_decode' argument 1 names different: declaration 's' definition 'encoded_string'. beads-1.1.22+ds/src/encode/base64.cpp:59:46: note: Function 'base64_decode' argument 1 names different: declaration 's' definition 'encoded_string'. beads-1.1.22+ds/src/encode/base64.cpp:16:8: style: Variable 'j' is assigned a value that is never used. [unreadVariable] beads-1.1.22+ds/src/encode/base64.cpp:62:8: style: Variable 'j' is assigned a value that is never used. [unreadVariable] beads-1.1.22+ds/src/images/imageConfluent.cpp:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/images/imageConfluent.cpp:26:6: style: The scope of the variable 'confl' can be reduced. [variableScope] beads-1.1.22+ds/src/images/imageConfluent.cpp:26:13: style: The scope of the variable 'is_max' can be reduced. [variableScope] beads-1.1.22+ds/src/images/imageContours.cpp:49:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/images/imageContours.cpp:96:10: style: The scope of the variable 'yy' can be reduced. [variableScope] beads-1.1.22+ds/src/images/imageCoule.cpp:14:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/images/imageDeNovo.cpp:89:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/images/imageDetection.cpp:5:44: style:inconclusive: Function 'imageDetection' argument 1 names different: declaration '' definition 'my_detection'. [funcArgNamesDifferentUnnamed] beads-1.1.22+ds/src/images/imageDetection.cpp:6:19: style: Variable 'detection_image' can be declared as reference to const [constVariableReference] beads-1.1.22+ds/src/images/imageDirect.cpp:77:2: error: There is an unknown macro here somewhere. Configuration is required. If cimg_for_borderXY is a macro then please configure it. [unknownMacro] beads-1.1.22+ds/src/images/imageIntensity.cpp:11:2: performance: Variable '_image_filename' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] beads-1.1.22+ds/src/images/imageIntensity.cpp:17:2: performance: Variable '_image_filename' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] beads-1.1.22+ds/src/images/imageIntensity.cpp:8:111: style:inconclusive: Function 'imageIntensity' argument 6 names different: declaration '_image_filename' definition 'image_filename'. [funcArgNamesDifferent] beads-1.1.22+ds/src/images/imageIntensity.h:13:96: note: Function 'imageIntensity' argument 6 names different: declaration '_image_filename' definition 'image_filename'. beads-1.1.22+ds/src/images/imageIntensity.cpp:8:111: note: Function 'imageIntensity' argument 6 names different: declaration '_image_filename' definition 'image_filename'. beads-1.1.22+ds/src/images/imageIntensity.cpp:47:19: style: Variable 'img' can be declared as reference to const [constVariableReference] beads-1.1.22+ds/src/images/imageIntensity.cpp:58:19: style: Variable 'image_inversed' can be declared as reference to const [constVariableReference] beads-1.1.22+ds/src/images/imageIntensity.cpp:76:56: style: Parameter 'mark' can be declared as reference to const [constParameterReference] beads-1.1.22+ds/src/images/imageIntensity.cpp:69:19: style: Variable 'image_inversed' can be declared as pointer to const [constVariablePointer] beads-1.1.22+ds/src/images/imageNumber.cpp:100:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/images/imageNumber.cpp:223:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/images/imageNumber.cpp:351:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/images/imageNumber.cpp:476:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/images/imageNumber.cpp:54:6: style: The scope of the variable 'spot_num' can be reduced. [variableScope] beads-1.1.22+ds/src/images/imageNumber.cpp:54:16: style: The scope of the variable 'x' can be reduced. [variableScope] beads-1.1.22+ds/src/images/imageNumber.cpp:54:19: style: The scope of the variable 'y' can be reduced. [variableScope] beads-1.1.22+ds/src/images/imageNumber.cpp:169:6: style: The scope of the variable 'nc' can be reduced. [variableScope] beads-1.1.22+ds/src/images/imageNumber.cpp:169:14: style: The scope of the variable 'ncdep' can be reduced. [variableScope] beads-1.1.22+ds/src/images/imageNumber.cpp:170:6: style: The scope of the variable 'couldep' can be reduced. [variableScope] beads-1.1.22+ds/src/images/imageNumber.cpp:170:15: style: The scope of the variable 'coularr' can be reduced. [variableScope] beads-1.1.22+ds/src/images/imageNumber.cpp:279:16: style: The scope of the variable 'image_number' can be reduced. [variableScope] beads-1.1.22+ds/src/images/imageNumber.cpp:371:8: style: The scope of the variable 'curr' can be reduced. [variableScope] beads-1.1.22+ds/src/images/imageNumber.cpp:83:68: style: Argument 'enlarge' shadows outer function [shadowFunction] beads-1.1.22+ds/src/images/imageNumber.h:32:7: note: Shadowed function beads-1.1.22+ds/src/images/imageNumber.cpp:83:68: note: Shadow argument beads-1.1.22+ds/src/images/imageNumber.cpp:196:31: style: Argument 'enlarge' shadows outer function [shadowFunction] beads-1.1.22+ds/src/images/imageNumber.h:32:7: note: Shadowed function beads-1.1.22+ds/src/images/imageNumber.cpp:196:31: note: Shadow argument beads-1.1.22+ds/src/images/imageNumber.cpp:22:16: style: Variable 'image_numeros' can be declared as reference to const [constVariableReference] beads-1.1.22+ds/src/images/imageNumber.cpp:85:16: style: Variable 'image_numeros' can be declared as reference to const [constVariableReference] beads-1.1.22+ds/src/images/imageNumber.cpp:197:16: style: Variable 'image_numeros' can be declared as reference to const [constVariableReference] beads-1.1.22+ds/src/images/imageNumber.cpp:279:16: style: Variable 'image_number' can be declared as reference to const [constVariableReference] beads-1.1.22+ds/src/images/imageNumber.cpp:299:10: style: Variable 'the_spot' can be declared as reference to const [constVariableReference] beads-1.1.22+ds/src/images/imageNumber.cpp:469:16: style: Variable 'image_numeros' can be declared as reference to const [constVariableReference] beads-1.1.22+ds/src/images/imageNumber.cpp:71:4: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] beads-1.1.22+ds/src/images/imagePaths.cpp:23:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/images/imageProb.cpp:104:2: error: There is an unknown macro here somewhere. Configuration is required. If cimg_for_borderXY is a macro then please configure it. [unknownMacro] beads-1.1.22+ds/src/parameters.cpp:6:37: performance: Function parameter 'config_filename' should be passed by const reference. [passedByValue] beads-1.1.22+ds/src/qtbeads/QCimg.h:18:2: style: Class 'QCimg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/qtbeads/QCimg.cpp:12:37: style:inconclusive: Function 'QCimg' argument 1 names different: declaration 'cimg' definition 'cimg_image'. [funcArgNamesDifferent] beads-1.1.22+ds/src/qtbeads/QCimg.h:18:31: note: Function 'QCimg' argument 1 names different: declaration 'cimg' definition 'cimg_image'. beads-1.1.22+ds/src/qtbeads/QCimg.cpp:12:37: note: Function 'QCimg' argument 1 names different: declaration 'cimg' definition 'cimg_image'. beads-1.1.22+ds/src/qtbeads/beads_results.cpp:65:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/qtbeads/beads_results.cpp:17:15: warning: Member variable 'BeadsResults::_p_detection' is not initialized in the constructor. [uninitMemberVar] beads-1.1.22+ds/src/qtbeads/beads_results.cpp:17:15: warning: Member variable 'BeadsResults::_p_number_image' is not initialized in the constructor. [uninitMemberVar] beads-1.1.22+ds/src/qtbeads/beads_results.h:18:2: style: Class 'BeadsResults' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] beads-1.1.22+ds/src/qtbeads/main_window.cpp:31:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/qtbeads/main_window.cpp:76:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BEADS_VERSION [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/qtbeads/main_window.cpp:129:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Normal [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/qtbeads/main_window.cpp:150:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/qtbeads/main_window.cpp:171:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BusyCursor [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/qtbeads/main_window.cpp:208:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BusyCursor [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/qtbeads/main_window.cpp:233:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Directory [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/qtbeads/main_window.cpp:247:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReturnByValue [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/qtbeads/main_window.cpp:297:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BEADS_VERSION [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/qtbeads/main_window.cpp:417:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReturnByValue [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/qtbeads/main_window.cpp:467:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BusyCursor [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/qtbeads/main_window.cpp:430:18: style: Either there is a missing 'override', or the member function 'MainWindow::adjustScrollBar' can be static. [functionStatic] beads-1.1.22+ds/src/qtbeads/main_window.h:60:7: note: Either there is a missing 'override', or the member function 'MainWindow::adjustScrollBar' can be static. beads-1.1.22+ds/src/qtbeads/main_window.cpp:430:18: note: Either there is a missing 'override', or the member function 'MainWindow::adjustScrollBar' can be static. beads-1.1.22+ds/src/qtbeads/main_window.cpp:461:39: performance: Function parameter 'directory_to_save_all_steps' should be passed by const reference. [passedByValue] beads-1.1.22+ds/src/qtbeads/properties.cpp:15:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/qtbeads/properties.cpp:134:10: warning: Class 'Properties' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] beads-1.1.22+ds/src/qtbeads/properties.cpp:103:25: style: Condition '_p_param_file_info!=NULL' is always false [knownConditionTrueFalse] beads-1.1.22+ds/src/qtbeads/properties.cpp:99:23: note: Assignment '_p_param_file_info=NULL', assigned value is 0 beads-1.1.22+ds/src/qtbeads/properties.cpp:103:25: note: Condition '_p_param_file_info!=NULL' is always false beads-1.1.22+ds/src/qtbeads/properties.cpp:109:38: style: Condition '_p_original_gel_image_file_info!=NULL' is always false [knownConditionTrueFalse] beads-1.1.22+ds/src/qtbeads/properties.cpp:100:36: note: Assignment '_p_original_gel_image_file_info=NULL', assigned value is 0 beads-1.1.22+ds/src/qtbeads/properties.cpp:109:38: note: Condition '_p_original_gel_image_file_info!=NULL' is always false beads-1.1.22+ds/src/qtbeads/q_gel_image.cpp:59:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReturnByValue [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/qtbeads/q_gel_image.cpp:10:12: warning: Member variable 'QGelImage::_scaleFactor' is not initialized in the constructor. [uninitMemberVar] beads-1.1.22+ds/src/qtbeads/q_gel_image.cpp:10:12: warning: Member variable 'QGelImage::_before_x' is not initialized in the constructor. [uninitMemberVar] beads-1.1.22+ds/src/qtbeads/q_gel_image.cpp:10:12: warning: Member variable 'QGelImage::_before_y' is not initialized in the constructor. [uninitMemberVar] beads-1.1.22+ds/src/qtbeads/q_gel_image.cpp:40:47: style:inconclusive: Function 'mousePressEvent' argument 1 names different: declaration 'event' definition 'ev'. [funcArgNamesDifferent] beads-1.1.22+ds/src/qtbeads/q_gel_image.h:40:37: note: Function 'mousePressEvent' argument 1 names different: declaration 'event' definition 'ev'. beads-1.1.22+ds/src/qtbeads/q_gel_image.cpp:40:47: note: Function 'mousePressEvent' argument 1 names different: declaration 'event' definition 'ev'. beads-1.1.22+ds/src/qtbeads/q_gel_image.cpp:44:49: style:inconclusive: Function 'mouseReleaseEvent' argument 1 names different: declaration 'event' definition 'ev'. [funcArgNamesDifferent] beads-1.1.22+ds/src/qtbeads/q_gel_image.h:41:39: note: Function 'mouseReleaseEvent' argument 1 names different: declaration 'event' definition 'ev'. beads-1.1.22+ds/src/qtbeads/q_gel_image.cpp:44:49: note: Function 'mouseReleaseEvent' argument 1 names different: declaration 'event' definition 'ev'. beads-1.1.22+ds/src/qtbeads/q_gel_image_scroll.cpp:12:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Base [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/spot.cpp:53:2: performance: Variable '_edge_x' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] beads-1.1.22+ds/src/spot.cpp:54:2: performance: Variable '_edge_y' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] beads-1.1.22+ds/src/spot.cpp:56:2: performance: Variable '_picked_num' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] beads-1.1.22+ds/src/spot.cpp:72:12: style:inconclusive: Technically the member function 'spot::is_in_edge' can be const. [functionConst] beads-1.1.22+ds/src/spot.h:134:7: note: Technically the member function 'spot::is_in_edge' can be const. beads-1.1.22+ds/src/spot.cpp:72:12: note: Technically the member function 'spot::is_in_edge' can be const. beads-1.1.22+ds/src/spot.cpp:250:12: style:inconclusive: Technically the member function 'spot::check_alignment' can be const. [functionConst] beads-1.1.22+ds/src/spot.h:135:7: note: Technically the member function 'spot::check_alignment' can be const. beads-1.1.22+ds/src/spot.cpp:250:12: note: Technically the member function 'spot::check_alignment' can be const. beads-1.1.22+ds/src/spot.cpp:185:8: style: The scope of the variable 'distance' can be reduced. [variableScope] beads-1.1.22+ds/src/spot.cpp:250:41: style:inconclusive: Function 'check_alignment' argument 1 names different: declaration 'i' definition 'pos'. [funcArgNamesDifferent] beads-1.1.22+ds/src/spot.h:135:36: note: Function 'check_alignment' argument 1 names different: declaration 'i' definition 'pos'. beads-1.1.22+ds/src/spot.cpp:250:41: note: Function 'check_alignment' argument 1 names different: declaration 'i' definition 'pos'. beads-1.1.22+ds/src/spot.cpp:123:13: style: Unused variable: new_x_left [unusedVariable] beads-1.1.22+ds/src/spot.cpp:124:13: style: Unused variable: new_y_left [unusedVariable] beads-1.1.22+ds/src/spotDocument.cpp:8:15: warning:inconclusive: Member variable 'spotDocument::_p_writer' is not initialized in the constructor. [uninitMemberVar] beads-1.1.22+ds/src/spotDocument.cpp:27:44: style:inconclusive: Function 'write_spot' argument 1 names different: declaration '' definition 'thespot'. [funcArgNamesDifferentUnnamed] beads-1.1.22+ds/src/spotDocument.cpp:52:16: style: Variable 'the_spot' can be declared as reference to const [constVariableReference] beads-1.1.22+ds/src/spotPROTICdbDocument.cpp:18:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/spotPROTICdbDocument.cpp:179:2: warning: Either the condition '_p_xml_stream!=NULL' is redundant or there is possible null pointer dereference: _p_xml_stream. [nullPointerRedundantCheck] beads-1.1.22+ds/src/spotPROTICdbDocument.cpp:190:20: note: Assuming that condition '_p_xml_stream!=NULL' is not redundant beads-1.1.22+ds/src/spotPROTICdbDocument.cpp:179:2: note: Null pointer dereference beads-1.1.22+ds/src/spotPROTICdbDocument.cpp:188:2: warning: Either the condition '_p_xml_stream!=NULL' is redundant or there is possible null pointer dereference: _p_xml_stream. [nullPointerRedundantCheck] beads-1.1.22+ds/src/spotPROTICdbDocument.cpp:190:20: note: Assuming that condition '_p_xml_stream!=NULL' is not redundant beads-1.1.22+ds/src/spotPROTICdbDocument.cpp:188:2: note: Null pointer dereference beads-1.1.22+ds/src/spotPROTICdbDocument.cpp:207:52: style:inconclusive: Function 'write_spot' argument 1 names different: declaration '' definition 'thespot'. [funcArgNamesDifferentUnnamed] beads-1.1.22+ds/src/spotSvgDocument.cpp:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/spotSvgDocument.cpp:355:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] beads-1.1.22+ds/src/spotSvgDocument.cpp:8:18: warning: Member variable 'spotSvgDocument::_p_xml_stream' is not initialized in the constructor. [uninitMemberVar] beads-1.1.22+ds/src/spotSvgDocument.cpp:8:18: warning: Member variable 'spotSvgDocument::_output_file' is not initialized in the constructor. [uninitMemberVar] beads-1.1.22+ds/src/spotSvgDocument.cpp:8:18: warning: Member variable 'spotSvgDocument::_output_stream' is not initialized in the constructor. [uninitMemberVar] beads-1.1.22+ds/src/spotSvgDocument.cpp:8:18: warning: Member variable 'spotSvgDocument::_gel_image_width' is not initialized in the constructor. [uninitMemberVar] beads-1.1.22+ds/src/spotSvgDocument.cpp:8:18: warning: Member variable 'spotSvgDocument::_gel_image_height' is not initialized in the constructor. [uninitMemberVar] beads-1.1.22+ds/src/spotSvgDocument.cpp:117:2: warning: Either the condition '_p_xml_stream!=NULL' is redundant or there is possible null pointer dereference: _p_xml_stream. [nullPointerRedundantCheck] beads-1.1.22+ds/src/spotSvgDocument.cpp:123:20: note: Assuming that condition '_p_xml_stream!=NULL' is not redundant beads-1.1.22+ds/src/spotSvgDocument.cpp:117:2: note: Null pointer dereference beads-1.1.22+ds/src/spotSvgDocument.cpp:119:2: warning: Either the condition '_p_xml_stream!=NULL' is redundant or there is possible null pointer dereference: _p_xml_stream. [nullPointerRedundantCheck] beads-1.1.22+ds/src/spotSvgDocument.cpp:123:20: note: Assuming that condition '_p_xml_stream!=NULL' is not redundant beads-1.1.22+ds/src/spotSvgDocument.cpp:119:2: note: Null pointer dereference beads-1.1.22+ds/src/spotSvgDocument.cpp:373:43: style: C-style pointer casting [cstyleCast] beads-1.1.22+ds/src/spotSvgDocument.cpp:302:55: style:inconclusive: Function 'draw_contours' argument 1 names different: declaration 'my_detection' definition 'the_detection'. [funcArgNamesDifferent] beads-1.1.22+ds/src/spotSvgDocument.h:29:34: note: Function 'draw_contours' argument 1 names different: declaration 'my_detection' definition 'the_detection'. beads-1.1.22+ds/src/spotSvgDocument.cpp:302:55: note: Function 'draw_contours' argument 1 names different: declaration 'my_detection' definition 'the_detection'. beads-1.1.22+ds/src/spotSvgDocument.cpp:335:10: style: Variable 'the_spot' can be declared as reference to const [constVariableReference] diff: 2.20.0 beads-1.1.22+ds/src/ConfigFile/ConfigFile.cpp:39:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] 2.20.0 beads-1.1.22+ds/src/ConfigFile/ConfigFile.cpp:57:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] head beads-1.1.22+ds/src/ConfigFile/ConfigFile.cpp:62:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] 2.20.0 beads-1.1.22+ds/src/beads.cpp:376:21: style: Local variable 'output_filename' shadows outer variable [shadowVariable] beads-1.1.22+ds/src/beads.cpp:102:23: note: Shadowed declaration beads-1.1.22+ds/src/beads.cpp:376:21: note: Shadow variable head beads-1.1.22+ds/src/beads.cpp:376:21: style: Local variable 'output_filename' shadows outer variable [shadowVariable] beads-1.1.22+ds/src/beads.cpp:102:23: note: Shadowed variable beads-1.1.22+ds/src/beads.cpp:376:21: note: Shadow local variable head beads-1.1.22+ds/src/detection.cpp:49:45: style:inconclusive: Function 'detection' argument 1 names different: declaration '' definition 'image_detect'. [funcArgNamesDifferentUnnamed] head beads-1.1.22+ds/src/encode/base64.cpp:12:48: style:inconclusive: Function 'base64_encode' argument 1 names different: declaration '' definition 'bytes_to_encode'. [funcArgNamesDifferentUnnamed] head beads-1.1.22+ds/src/images/imageDetection.cpp:5:44: style:inconclusive: Function 'imageDetection' argument 1 names different: declaration '' definition 'my_detection'. [funcArgNamesDifferentUnnamed] 2.20.0 beads-1.1.22+ds/src/images/imageNumber.cpp:164:19: style:inconclusive: Either there is a missing 'override', or the member function 'imageNumber::bouche_trou' can be const. [functionConst] beads-1.1.22+ds/src/images/imageNumber.h:33:7: note: Either there is a missing 'override', or the member function 'imageNumber::bouche_trou' can be const. beads-1.1.22+ds/src/images/imageNumber.cpp:164:19: note: Either there is a missing 'override', or the member function 'imageNumber::bouche_trou' can be const. head beads-1.1.22+ds/src/images/imageNumber.cpp:196:31: style: Argument 'enlarge' shadows outer function [shadowFunction] beads-1.1.22+ds/src/images/imageNumber.h:32:7: note: Shadowed function beads-1.1.22+ds/src/images/imageNumber.cpp:196:31: note: Shadow argument 2.20.0 beads-1.1.22+ds/src/images/imageNumber.cpp:270:19: style:inconclusive: Either there is a missing 'override', or the member function 'imageNumber::set_burned_zone_number' can be const. [functionConst] beads-1.1.22+ds/src/images/imageNumber.h:37:7: note: Either there is a missing 'override', or the member function 'imageNumber::set_burned_zone_number' can be const. beads-1.1.22+ds/src/images/imageNumber.cpp:270:19: note: Either there is a missing 'override', or the member function 'imageNumber::set_burned_zone_number' can be const. head beads-1.1.22+ds/src/images/imageNumber.cpp:83:68: style: Argument 'enlarge' shadows outer function [shadowFunction] beads-1.1.22+ds/src/images/imageNumber.h:32:7: note: Shadowed function beads-1.1.22+ds/src/images/imageNumber.cpp:83:68: note: Shadow argument 2.20.0 beads-1.1.22+ds/src/parameters.h:13:26: performance: Function parameter 'config_filename' should be passed by const reference. [passedByValue] head beads-1.1.22+ds/src/spotDocument.cpp:27:44: style:inconclusive: Function 'write_spot' argument 1 names different: declaration '' definition 'thespot'. [funcArgNamesDifferentUnnamed] head beads-1.1.22+ds/src/spotPROTICdbDocument.cpp:207:52: style:inconclusive: Function 'write_spot' argument 1 names different: declaration '' definition 'thespot'. [funcArgNamesDifferentUnnamed] DONE