2024-04-04 03:18 ftp://ftp.de.debian.org/debian/pool/main/s/schroedinger-coordgenlibs/schroedinger-coordgenlibs_3.0.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=boost --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 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.55 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: edfcc31 (2024-04-03 23:39:33 +0200) count: 532 496 elapsed-time: 7.1 6.2 head-timing-info: old-timing-info: head results: coordgenlibs-3.0.2/sketcherMinimizerMaths.h:107:5: style:inconclusive: Technically the member function 'sketcherMinimizerPointF::parallelComponent' can be const. [functionConst] coordgenlibs-3.0.2/sketcherMinimizerFragment.h:81:5: style: Class 'CoordgenRotateFragmentDOF' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] coordgenlibs-3.0.2/sketcherMinimizerFragment.h:94:5: style: Class 'CoordgenFlipFragmentDOF' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] coordgenlibs-3.0.2/sketcherMinimizerFragment.h:107:5: style: Class 'CoordgenScaleAtomsDOF' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] coordgenlibs-3.0.2/sketcherMinimizerFragment.h:123:5: style: Class 'CoordgenScaleFragmentDOF' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] coordgenlibs-3.0.2/sketcherMinimizerFragment.h:136:5: style: Class 'CoordgenChangeParentBondLengthFragmentDOF' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] coordgenlibs-3.0.2/sketcherMinimizerMaths.h:99:15: style: Local variable 'x' shadows outer function [shadowFunction] coordgenlibs-3.0.2/sketcherMinimizerMaths.h:63:18: note: Shadowed declaration coordgenlibs-3.0.2/sketcherMinimizerMaths.h:99:15: note: Shadow variable coordgenlibs-3.0.2/sketcherMinimizerMaths.h:100:15: style: Local variable 'y' shadows outer function [shadowFunction] coordgenlibs-3.0.2/sketcherMinimizerMaths.h:64:18: note: Shadowed declaration coordgenlibs-3.0.2/sketcherMinimizerMaths.h:100:15: note: Shadow variable coordgenlibs-3.0.2/sketcherMinimizerAtom.h:162:64: performance: Function parameter 'info' should be passed by const reference. [passedByValue] coordgenlibs-3.0.2/sketcherMinimizerMaths.h:156:69: style: Parameter 'point' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenFragmenter.cpp:46:15: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmenter.cpp:76:28: style: Parameter 'bond' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/CoordgenFragmenter.cpp:91:28: style: Parameter 'bond' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/CoordgenFragmenter.cpp:151:33: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmenter.cpp:160:33: style: Variable 'bond' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmenter.cpp:174:19: style: Variable 'child' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmenter.cpp:290:37: style: Variable 'fragment' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmenter.cpp:304:32: style: Parameter 'mainFragment' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/CoordgenFragmenter.cpp:330:37: style: Variable 'b' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmenter.cpp:331:40: style: Variable 'childFragment' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmenter.cpp:351:41: style: Variable 'b' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.h:182:46: style: Parameter 'at2' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.h:184:20: style: Variable 'neighbor' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerAtom.h:184:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmenter.cpp:151:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmenter.cpp:160:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmenter.cpp:291:55: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:351:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:374:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:403:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:612:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:926:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1087:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:695:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/sketcherMinimizerBendInteraction.h:28:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable restV [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/sketcherMinimizerClashInteraction.h:26:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable restV [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/sketcherMinimizerConstraintInteraction.h:24:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable k [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:875:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endAtom [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:282:5: warning: Member variable 'CoordgenMacrocycleBuilder::m_precision' is not initialized in the constructor. [uninitMemberVar] coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:82:28: performance:inconclusive: Technically the member function 'CoordgenFragmentBuilder::getSharedAtomsWithAlreadyDrawnRing' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:292:26: note: Technically the member function 'CoordgenFragmentBuilder::getSharedAtomsWithAlreadyDrawnRing' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:82:28: note: Technically the member function 'CoordgenFragmentBuilder::getSharedAtomsWithAlreadyDrawnRing' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:98:28: performance:inconclusive: Technically the member function 'CoordgenFragmentBuilder::findCentralRingOfSystem' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:166:49: note: Technically the member function 'CoordgenFragmentBuilder::findCentralRingOfSystem' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:98:28: note: Technically the member function 'CoordgenFragmentBuilder::findCentralRingOfSystem' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:104:10: performance:inconclusive: Technically the member function 'CoordgenFragmentBuilder::findTemplate' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:103:31: note: Technically the member function 'CoordgenFragmentBuilder::findTemplate' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:104:10: note: Technically the member function 'CoordgenFragmentBuilder::findTemplate' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:116:10: performance:inconclusive: Technically the member function 'CoordgenFragmentBuilder::rotateMainFragment' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:37:31: note: Technically the member function 'CoordgenFragmentBuilder::rotateMainFragment' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:116:10: note: Technically the member function 'CoordgenFragmentBuilder::rotateMainFragment' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:138:5: performance:inconclusive: Technically the member function 'CoordgenFragmentBuilder::initializeFusedRingInformation' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:879:31: note: Technically the member function 'CoordgenFragmentBuilder::initializeFusedRingInformation' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:138:5: note: Technically the member function 'CoordgenFragmentBuilder::initializeFusedRingInformation' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:146:5: performance:inconclusive: Technically the member function 'CoordgenFragmentBuilder::simplifyRingSystem' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:1003:31: note: Technically the member function 'CoordgenFragmentBuilder::simplifyRingSystem' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:146:5: note: Technically the member function 'CoordgenFragmentBuilder::simplifyRingSystem' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:152:10: performance:inconclusive: Technically the member function 'CoordgenFragmentBuilder::fallbackIfNanCoordinates' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:869:31: note: Technically the member function 'CoordgenFragmentBuilder::fallbackIfNanCoordinates' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:152:10: note: Technically the member function 'CoordgenFragmentBuilder::fallbackIfNanCoordinates' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:174:10: performance:inconclusive: Technically the member function 'CoordgenFragmentBuilder::initializeVariablesForNeighboursCoordinatesRingAtom' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:668:5: note: Technically the member function 'CoordgenFragmentBuilder::initializeVariablesForNeighboursCoordinatesRingAtom' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:174:10: note: Technically the member function 'CoordgenFragmentBuilder::initializeVariablesForNeighboursCoordinatesRingAtom' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:183:10: performance:inconclusive: Technically the member function 'CoordgenFragmentBuilder::maybeAddMacrocycleDOF' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:794:31: note: Technically the member function 'CoordgenFragmentBuilder::maybeAddMacrocycleDOF' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:183:10: note: Technically the member function 'CoordgenFragmentBuilder::maybeAddMacrocycleDOF' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:187:5: performance:inconclusive: Technically the member function 'CoordgenFragmentBuilder::avoidZEInversions' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:813:31: note: Technically the member function 'CoordgenFragmentBuilder::avoidZEInversions' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:187:5: note: Technically the member function 'CoordgenFragmentBuilder::avoidZEInversions' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:73:17: style:inconclusive: Technically the member function 'CoordgenTemplates::getTemplateDir' can be const. [functionConst] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:136:5: style: Struct 'Hex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] coordgenlibs-3.0.2/sketcherMinimizer.h:85:5: style: Class 'sketcherMinimizer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:833:35: style: Condition 'doubleBond' is always true [knownConditionTrueFalse] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:295:28: performance:inconclusive: Technically the member function 'CoordgenMacrocycleBuilder::findBondToOpen' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:721:28: note: Technically the member function 'CoordgenMacrocycleBuilder::findBondToOpen' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:295:28: note: Technically the member function 'CoordgenMacrocycleBuilder::findBondToOpen' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:300:5: performance:inconclusive: Technically the member function 'CoordgenMacrocycleBuilder::getDoubleBondConstraints' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:915:28: note: Technically the member function 'CoordgenMacrocycleBuilder::getDoubleBondConstraints' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:300:5: note: Technically the member function 'CoordgenMacrocycleBuilder::getDoubleBondConstraints' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:318:28: performance:inconclusive: Technically the member function 'CoordgenMacrocycleBuilder::buildSquaredShapes' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1296:28: note: Technically the member function 'CoordgenMacrocycleBuilder::buildSquaredShapes' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:318:28: note: Technically the member function 'CoordgenMacrocycleBuilder::buildSquaredShapes' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:321:28: performance:inconclusive: Technically the member function 'CoordgenMacrocycleBuilder::removeDuplicates' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1274:28: note: Technically the member function 'CoordgenMacrocycleBuilder::removeDuplicates' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:321:28: note: Technically the member function 'CoordgenMacrocycleBuilder::removeDuplicates' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:324:5: performance:inconclusive: Technically the member function 'CoordgenMacrocycleBuilder::getRingConstraints' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:884:51: note: Technically the member function 'CoordgenMacrocycleBuilder::getRingConstraints' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:324:5: note: Technically the member function 'CoordgenMacrocycleBuilder::getRingConstraints' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:327:9: performance:inconclusive: Technically the member function 'CoordgenMacrocycleBuilder::getNumberOfChildren' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:977:32: note: Technically the member function 'CoordgenMacrocycleBuilder::getNumberOfChildren' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:327:9: note: Technically the member function 'CoordgenMacrocycleBuilder::getNumberOfChildren' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:343:28: performance:inconclusive: Technically the member function 'CoordgenMacrocycleBuilder::listOfEquivalent' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:853:28: note: Technically the member function 'CoordgenMacrocycleBuilder::listOfEquivalent' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:343:28: note: Technically the member function 'CoordgenMacrocycleBuilder::listOfEquivalent' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:349:10: performance:inconclusive: Technically the member function 'CoordgenMacrocycleBuilder::checkRingConstraints' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1126:33: note: Technically the member function 'CoordgenMacrocycleBuilder::checkRingConstraints' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:349:10: note: Technically the member function 'CoordgenMacrocycleBuilder::checkRingConstraints' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:359:9: performance:inconclusive: Technically the member function 'CoordgenMacrocycleBuilder::scorePathRestraints' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1071:32: note: Technically the member function 'CoordgenMacrocycleBuilder::scorePathRestraints' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:359:9: note: Technically the member function 'CoordgenMacrocycleBuilder::scorePathRestraints' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:374:9: performance:inconclusive: Technically the member function 'CoordgenMacrocycleBuilder::acceptableShapeScore' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1382:32: note: Technically the member function 'CoordgenMacrocycleBuilder::acceptableShapeScore' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:374:9: note: Technically the member function 'CoordgenMacrocycleBuilder::acceptableShapeScore' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:375:22: performance:inconclusive: Technically the member function 'CoordgenMacrocycleBuilder::getVertexNeighborNs' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1164:28: note: Technically the member function 'CoordgenMacrocycleBuilder::getVertexNeighborNs' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:375:22: note: Technically the member function 'CoordgenMacrocycleBuilder::getVertexNeighborNs' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:379:9: performance:inconclusive: Technically the member function 'CoordgenMacrocycleBuilder::getLowestPeriod' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1175:32: note: Technically the member function 'CoordgenMacrocycleBuilder::getLowestPeriod' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:379:9: note: Technically the member function 'CoordgenMacrocycleBuilder::getLowestPeriod' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:398:29: performance:inconclusive: Technically the member function 'CoordgenMacrocycleBuilder::coordsOfVertex' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1250:28: note: Technically the member function 'CoordgenMacrocycleBuilder::coordsOfVertex' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:398:29: note: Technically the member function 'CoordgenMacrocycleBuilder::coordsOfVertex' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:552:11: style: The scope of the variable 'angle' can be reduced. [variableScope] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:38:32: style:inconclusive: Function 'rotateMainFragment' argument 1 names different: declaration 'fragment' definition 'f'. [funcArgNamesDifferent] coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:116:56: note: Function 'rotateMainFragment' argument 1 names different: declaration 'fragment' definition 'f'. coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:38:32: note: Function 'rotateMainFragment' argument 1 names different: declaration 'fragment' definition 'f'. coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:206:36: style:inconclusive: Function 'generateCoordinatesCentralRings' argument 1 names different: declaration 'centralRings' definition 'rings'. [funcArgNamesDifferent] coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:97:45: note: Function 'generateCoordinatesCentralRings' argument 1 names different: declaration 'centralRings' definition 'rings'. coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:206:36: note: Function 'generateCoordinatesCentralRings' argument 1 names different: declaration 'centralRings' definition 'rings'. coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:355:70: style:inconclusive: Function 'orderRingAtoms' argument 1 names different: declaration 'r' definition 'ring'. [funcArgNamesDifferent] coordgenlibs-3.0.2/CoordgenFragmentBuilder.h:39:49: note: Function 'orderRingAtoms' argument 1 names different: declaration 'r' definition 'ring'. coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:355:70: note: Function 'orderRingAtoms' argument 1 names different: declaration 'r' definition 'ring'. coordgenlibs-3.0.2/sketcherMinimizer.h:143:63: performance: Function parameter 'fragments' should be passed by const reference. [passedByValue] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:190:19: performance: Range variable 'fusionAtoms' should be declared as const reference. [iterateByValue] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:38:32: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:64:22: style: Variable 'a' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:73:22: style: Variable 'a' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:117:33: style: Variable 'r' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:128:33: style: Variable 'r' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:131:41: style: Variable 'b2' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:175:19: style: Variable 'neighborRing' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:254:30: style: Variable 'otherRing' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:422:41: style: Variable 'neighbor' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:528:46: style: Variable 'targetCoords' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:799:20: style: Variable 'bond' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:820:28: style: Variable 'doubleBond' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:834:32: style: Variable 'firstCIPNeighborStart' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:839:32: style: Variable 'firstCIPNeighborEnd' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:870:32: style: Parameter 'fragment' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:880:32: style: Parameter 'fragment' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:980:49: style: Variable 'n' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:982:53: style: Variable 'nr' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerResidue.h:35:40: style: Variable 'n' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:55:29: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:132:30: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:176:53: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:191:22: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:256:27: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:262:23: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:269:27: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:317:49: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:345:39: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:413:23: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:425:35: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:462:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:648:30: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:800:58: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:1069:25: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:662:9: style: The scope of the variable 'scoreOfChosen' can be reduced. [variableScope] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:664:9: style: The scope of the variable 'bestStart' can be reduced. [variableScope] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:665:9: style: The scope of the variable 'bestScore' can be reduced. [variableScope] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:667:9: style: The scope of the variable 'acceptableScore' can be reduced. [variableScope] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:668:9: style: The scope of the variable 'checkedMacrocycles' can be reduced. [variableScope] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:643:28: style:inconclusive: Function 'newMacrocycle' argument 1 names different: declaration 'r' definition 'ring'. [funcArgNamesDifferent] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.h:287:42: note: Function 'newMacrocycle' argument 1 names different: declaration 'r' definition 'ring'. coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:643:28: note: Function 'newMacrocycle' argument 1 names different: declaration 'r' definition 'ring'. coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:866:25: style: Local variable 'i' shadows outer variable [shadowVariable] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:860:16: note: Shadowed declaration coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:866:25: note: Shadow variable coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:990:19: style: Local variable 'n' shadows outer variable [shadowVariable] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:980:9: note: Shadowed declaration coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:990:19: note: Shadow variable coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1348:27: style: Local variable 'p' shadows outer variable [shadowVariable] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1337:23: note: Shadowed declaration coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1348:27: note: Shadow variable coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1353:27: style: Local variable 'p' shadows outer variable [shadowVariable] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1337:23: note: Shadowed declaration coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1353:27: note: Shadow variable coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1358:27: style: Local variable 'p' shadows outer variable [shadowVariable] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1337:23: note: Shadowed declaration coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1358:27: note: Shadow variable coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1363:27: style: Local variable 'p' shadows outer variable [shadowVariable] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1337:23: note: Shadowed declaration coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1363:27: note: Shadow variable coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1368:27: style: Local variable 'p' shadows outer variable [shadowVariable] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1337:23: note: Shadowed declaration coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1368:27: note: Shadow variable coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1373:27: style: Local variable 'p' shadows outer variable [shadowVariable] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1337:23: note: Shadowed declaration coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1373:27: note: Shadow variable coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:644:38: error: Uninitialized variable: p.priority [uninitvar] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:775:36: performance:inconclusive: Use const reference for 'atoms' to avoid unnecessary data copying. [redundantCopyLocalConst] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:644:38: error: Uninitialized struct member: p.priority [uninitStructMember] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:792:36: performance:inconclusive: Use const reference for 'bonds' to avoid unnecessary data copying. [redundantCopyLocalConst] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:103:40: style: Parameter 'p' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:916:37: style: Parameter 'atoms' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1001:37: style: Parameter 'atoms' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1034:10: style: Parameter 'startI' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1036:16: style: Variable 'dbConstraint' can be declared as reference to const [constVariableReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1071:68: style: Parameter 'pr' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1072:63: style: Parameter 'p' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1074:65: style: Parameter 'neighborNs' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1075:57: style: Parameter 'startI' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1127:57: style: Parameter 'p' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1128:27: style: Parameter 'path' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1128:46: style: Parameter 'neighborNs' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1129:10: style: Parameter 'startI' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1133:16: style: Variable 'ringConstraint' can be declared as reference to const [constVariableReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1164:59: style: Parameter 'p' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1165:70: style: Parameter 'path' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1176:23: style: Parameter 'neighbors' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1250:57: style: Parameter 'v' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1260:27: style: Parameter 'path' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:49:15: style: Variable 'i' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:60:15: style: Variable 'i' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:110:15: style: Variable 'hex' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:118:15: style: Variable 'hex' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:354:10: style: Variable 'h' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:397:15: style: Variable 'h' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:421:15: style: Variable 'i' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:430:15: style: Variable 'i' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:557:10: style: Variable 'currentHex' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:714:33: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:721:66: style: Parameter 'ring' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:732:23: style: Variable 'otherBond' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:738:23: style: Variable 'otherBond' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:768:28: style: Variable 'bondToBreak' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:822:32: style: Variable 'otherAtom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:860:16: style: Variable 'i' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:106:45: style: Variable 'allAtoms' is assigned a value that is never used. [unreadVariable] coordgenlibs-3.0.2/CoordgenFragmentBuilder.cpp:552:17: style: Variable 'angle' is assigned a value that is never used. [unreadVariable] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:96:11: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:111:22: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:142:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:149:39: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:413:13: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:563:55: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:715:21: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:733:44: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:739:44: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:935:59: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1170:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:319:22: style: Variable 'nextMultiplicity' is assigned a value that is never used. [unreadVariable] coordgenlibs-3.0.2/example_dir/example.cpp:31:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/CoordgenTemplates.cpp:4866:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:71:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:103:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:117:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:187:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:682:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:1085:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:43:20: warning: Member variable 'CoordgenMinimizer::m_evenAngles' is not initialized in the constructor. [uninitMemberVar] coordgenlibs-3.0.2/sketcherMinimizerClashInteraction.h:20:5: warning: Member variable 'sketcherMinimizerClashInteraction::squaredDistance' is not initialized in the constructor. [uninitMemberVar] coordgenlibs-3.0.2/sketcherMinimizerEZConstrainInteraction.h:19:5: warning: Member variable 'sketcherMinimizerEZConstrainInteraction::k2' is not initialized in the constructor. [uninitMemberVar] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:51:5: performance: Variable 'energy_list' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:52:5: performance: Variable 'all_coordinates' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] coordgenlibs-3.0.2/CoordgenMinimizer.h:139:10: performance:inconclusive: Technically the member function 'CoordgenMinimizer::findIntermolecularClashes' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:730:25: note: Technically the member function 'CoordgenMinimizer::findIntermolecularClashes' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:139:10: note: Technically the member function 'CoordgenMinimizer::findIntermolecularClashes' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:164:11: performance:inconclusive: Technically the member function 'CoordgenMinimizer::scoreDofs' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:813:26: note: Technically the member function 'CoordgenMinimizer::scoreDofs' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:164:11: note: Technically the member function 'CoordgenMinimizer::scoreDofs' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:208:10: style:inconclusive: Technically the member function 'CoordgenMinimizer::growSolutions' can be const. [functionConst] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1105:25: note: Technically the member function 'CoordgenMinimizer::growSolutions' can be const. coordgenlibs-3.0.2/CoordgenMinimizer.h:208:10: note: Technically the member function 'CoordgenMinimizer::growSolutions' can be const. coordgenlibs-3.0.2/CoordgenMinimizer.h:226:5: performance:inconclusive: Technically the member function 'CoordgenMinimizer::buildTuplesOfDofs' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1076:20: note: Technically the member function 'CoordgenMinimizer::buildTuplesOfDofs' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:226:5: note: Technically the member function 'CoordgenMinimizer::buildTuplesOfDofs' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:236:10: performance:inconclusive: Technically the member function 'CoordgenMinimizer::runExhaustiveSearchLevel' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1042:25: note: Technically the member function 'CoordgenMinimizer::runExhaustiveSearchLevel' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:236:10: note: Technically the member function 'CoordgenMinimizer::runExhaustiveSearchLevel' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:243:10: performance:inconclusive: Technically the member function 'CoordgenMinimizer::bondsClash' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1352:25: note: Technically the member function 'CoordgenMinimizer::bondsClash' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:243:10: note: Technically the member function 'CoordgenMinimizer::bondsClash' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:250:10: style:inconclusive: Technically the member function 'CoordgenMinimizer::avoidTerminalClashes' can be const. [functionConst] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1397:25: note: Technically the member function 'CoordgenMinimizer::avoidTerminalClashes' can be const. coordgenlibs-3.0.2/CoordgenMinimizer.h:250:10: note: Technically the member function 'CoordgenMinimizer::avoidTerminalClashes' can be const. coordgenlibs-3.0.2/CoordgenMinimizer.h:276:10: performance:inconclusive: Technically the member function 'CoordgenMinimizer::buildMoleculeFromFragments' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1461:25: note: Technically the member function 'CoordgenMinimizer::buildMoleculeFromFragments' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:276:10: note: Technically the member function 'CoordgenMinimizer::buildMoleculeFromFragments' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:281:5: performance:inconclusive: Technically the member function 'CoordgenMinimizer::getChetoCs' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:269:53: note: Technically the member function 'CoordgenMinimizer::getChetoCs' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:281:5: note: Technically the member function 'CoordgenMinimizer::getChetoCs' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:285:5: performance:inconclusive: Technically the member function 'CoordgenMinimizer::getAminoNs' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:292:53: note: Technically the member function 'CoordgenMinimizer::getAminoNs' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:285:5: note: Technically the member function 'CoordgenMinimizer::getAminoNs' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:289:5: performance:inconclusive: Technically the member function 'CoordgenMinimizer::getAlphaCs' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:307:53: note: Technically the member function 'CoordgenMinimizer::getAlphaCs' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:289:5: note: Technically the member function 'CoordgenMinimizer::getAlphaCs' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:301:10: style:inconclusive: Technically the member function 'CoordgenMinimizer::hasNaNCoordinates' can be const. [functionConst] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1524:25: note: Technically the member function 'CoordgenMinimizer::hasNaNCoordinates' can be const. coordgenlibs-3.0.2/CoordgenMinimizer.h:301:10: note: Technically the member function 'CoordgenMinimizer::hasNaNCoordinates' can be const. coordgenlibs-3.0.2/CoordgenMinimizer.h:378:10: performance:inconclusive: Technically the member function 'CoordgenMinimizer::getFourConsecutiveAtomsThatMatchSequence' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:374:25: note: Technically the member function 'CoordgenMinimizer::getFourConsecutiveAtomsThatMatchSequence' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/CoordgenMinimizer.h:378:10: note: Technically the member function 'CoordgenMinimizer::getFourConsecutiveAtomsThatMatchSequence' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizerBendInteraction.h:129:11: style:inconclusive: Technically the member function 'sketcherMinimizerBendInteraction::angle' can be const. [functionConst] coordgenlibs-3.0.2/sketcherMinimizerEZConstrainInteraction.h:80:10: style:inconclusive: Technically the member function 'sketcherMinimizerEZConstrainInteraction::inversion' can be const. [functionConst] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1080:9: style: The scope of the variable 'lastOrderVector' can be reduced. [variableScope] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:795:10: style:inconclusive: Function 'scoreClashes' argument 3 names different: declaration 'scoreProximityRelationsOnOppositeSides' definition 'scoreProximityRelationsOnOppositeSid'. [funcArgNamesDifferent] coordgenlibs-3.0.2/CoordgenMinimizer.h:157:23: note: Function 'scoreClashes' argument 3 names different: declaration 'scoreProximityRelationsOnOppositeSides' definition 'scoreProximityRelationsOnOppositeSid'. coordgenlibs-3.0.2/CoordgenMinimizer.cpp:795:10: note: Function 'scoreClashes' argument 3 names different: declaration 'scoreProximityRelationsOnOppositeSides' definition 'scoreProximityRelationsOnOppositeSid'. coordgenlibs-3.0.2/CoordgenMinimizer.cpp:489:43: style: Local variable 'i' shadows outer variable [shadowVariable] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:469:22: note: Shadowed declaration coordgenlibs-3.0.2/CoordgenMinimizer.cpp:489:43: note: Shadow variable coordgenlibs-3.0.2/CoordgenMinimizer.cpp:362:15: performance: Range variable 'torsionAtoms' should be declared as const reference. [iterateByValue] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1089:19: performance: Range variable 'lastOrderTuple' should be declared as const reference. [iterateByValue] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1219:46: style: Parameter 'clashE' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1364:11: style: Variable 'start1' can be declared as reference to const [constVariableReference] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1365:11: style: Variable 'start2' can be declared as reference to const [constVariableReference] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1366:11: style: Variable 'end1' can be declared as reference to const [constVariableReference] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1367:11: style: Variable 'end2' can be declared as reference to const [constVariableReference] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:203:45: style: Variable 'n' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:211:45: style: Variable 'n' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:258:14: style: Variable 'sharedRing' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:277:19: style: Variable 'bondedAtom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:279:22: style: Variable 'bond' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:422:15: style: Variable 'ring' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:432:40: style: Variable 'bond' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:506:52: style: Variable 'otherAtom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:526:35: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:558:52: style: Variable 'i' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:581:31: style: Variable 'interaction' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:630:15: style: Variable 'bond' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:731:32: style: Parameter 'mol1' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:731:65: style: Parameter 'mol2' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:740:33: style: Variable 'a' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:741:37: style: Variable 'a2' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:749:33: style: Variable 'a' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:750:37: style: Variable 'b' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:758:33: style: Variable 'a' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:759:37: style: Variable 'b' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:767:33: style: Variable 'b' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:768:37: style: Variable 'b2' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:817:26: style: Variable 'dof' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:874:48: style: Variable 'a1' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:876:48: style: Variable 'a2' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:887:35: style: Variable 'b2' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:924:37: style: Variable 'm' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:933:41: style: Variable 'a' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:973:40: style: Variable 'otherMol1' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:975:40: style: Variable 'f1' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:991:44: style: Variable 'otherMol2' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1352:59: style: Parameter 'bond' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1353:59: style: Parameter 'bond2' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1411:32: style: Variable 'rootAtom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1494:33: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:508:65: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:527:73: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:559:35: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:631:44: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:741:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:750:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:759:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:768:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:818:15: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1118:23: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1494:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1516:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1655:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1679:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/CoordgenMinimizer.cpp:449:36: style: Variable 'bonds' is assigned a value that is never used. [unreadVariable] coordgenlibs-3.0.2/sketcherMinimizer.cpp:775:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/sketcherMinimizer.cpp:943:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coordinates [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2215:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coordinates [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2719:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3072:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3086:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/sketcherMinimizerBond.h:85:10: style:inconclusive: Technically the member function 'sketcherMinimizerBond::flip' can be const. [functionConst] coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:194:29: note: Technically the member function 'sketcherMinimizerBond::flip' can be const. coordgenlibs-3.0.2/sketcherMinimizerBond.h:85:10: note: Technically the member function 'sketcherMinimizerBond::flip' can be const. coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:202:36: performance:inconclusive: Use const reference for 'allBonds' to avoid unnecessary data copying. [redundantCopyLocalConst] coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:75:14: style: Variable 'firstCIPNeighborStart' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:76:14: style: Variable 'firstCIPNeighborEnd' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:108:28: style: Variable 'firstCIPNeighborStart' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:112:28: style: Variable 'firstCIPNeighborEnd' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:125:15: style: Variable 'ring' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:135:15: style: Variable 'ring' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:166:64: style: Parameter 'atom1' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:167:64: style: Parameter 'atom2' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:169:28: style: Variable 'firstCIPNeighbor1' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:170:28: style: Variable 'firstCIPNeighbor2' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:189:28: style: Variable 'ring' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:31:20: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:60:20: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:125:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerBond.cpp:135:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerFragment.h:64:24: style:inconclusive: Technically the member function 'CoordgenFragmentDOF::getCurrentState' can be const. [functionConst] coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:36:41: note: Technically the member function 'CoordgenFragmentDOF::getCurrentState' can be const. coordgenlibs-3.0.2/sketcherMinimizerFragment.h:64:24: note: Technically the member function 'CoordgenFragmentDOF::getCurrentState' can be const. coordgenlibs-3.0.2/sketcherMinimizerFragment.h:217:46: style:inconclusive: Technically the member function 'sketcherMinimizerFragment::getDofs' can be const. [functionConst] coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:390:69: note: Technically the member function 'sketcherMinimizerFragment::getDofs' can be const. coordgenlibs-3.0.2/sketcherMinimizerFragment.h:217:46: note: Technically the member function 'sketcherMinimizerFragment::getDofs' can be const. coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:113:20: style: Variable 'atom' can be declared as reference to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:220:20: style: Variable 'atom' can be declared as reference to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:520:16: style: Variable 'coords' can be declared as reference to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:325:28: style: Parameter 'ring' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:398:15: style: Variable 'm_atom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:406:15: style: Variable 'm_bond' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:416:15: style: Variable 'm_atom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:427:15: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:438:15: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:517:15: style: Variable 'dof' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:399:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:408:15: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:418:15: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:429:15: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerFragment.cpp:440:15: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerMarchingSquares.cpp:56:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/sketcherMinimizerMarchingSquares.cpp:67:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/sketcherMinimizerMarchingSquares.h:45:5: warning: Member variable 'sketcherMinimizerMarchingSquares::m_xinterval' is not initialized in the constructor. [uninitMemberVar] coordgenlibs-3.0.2/sketcherMinimizerMarchingSquares.h:45:5: warning: Member variable 'sketcherMinimizerMarchingSquares::m_yinterval' is not initialized in the constructor. [uninitMemberVar] coordgenlibs-3.0.2/sketcherMinimizerMarchingSquares.h:45:5: warning: Member variable 'sketcherMinimizerMarchingSquares::m_left' is not initialized in the constructor. [uninitMemberVar] coordgenlibs-3.0.2/sketcherMinimizerMarchingSquares.h:45:5: warning: Member variable 'sketcherMinimizerMarchingSquares::m_bottom' is not initialized in the constructor. [uninitMemberVar] coordgenlibs-3.0.2/sketcherMinimizerMarchingSquares.h:45:5: warning: Member variable 'sketcherMinimizerMarchingSquares::m_XN' is not initialized in the constructor. [uninitMemberVar] coordgenlibs-3.0.2/sketcherMinimizerMarchingSquares.h:45:5: warning: Member variable 'sketcherMinimizerMarchingSquares::m_YN' is not initialized in the constructor. [uninitMemberVar] coordgenlibs-3.0.2/sketcherMinimizerMarchingSquares.h:45:5: warning: Member variable 'sketcherMinimizerMarchingSquares::m_threshold' is not initialized in the constructor. [uninitMemberVar] coordgenlibs-3.0.2/sketcherMinimizerMarchingSquares.h:45:5: warning: Member variable 'sketcherMinimizerMarchingSquares::m_lastCellRightPoint' is not initialized in the constructor. [uninitMemberVar] coordgenlibs-3.0.2/sketcherMinimizerMarchingSquares.cpp:159:36: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerMolecule.h:56:10: style:inconclusive: Technically the member function 'sketcherMinimizerMolecule::minimizationIsRequired' can be const. [functionConst] coordgenlibs-3.0.2/sketcherMinimizerMolecule.cpp:91:33: note: Technically the member function 'sketcherMinimizerMolecule::minimizationIsRequired' can be const. coordgenlibs-3.0.2/sketcherMinimizerMolecule.h:56:10: note: Technically the member function 'sketcherMinimizerMolecule::minimizationIsRequired' can be const. coordgenlibs-3.0.2/sketcherMinimizerMolecule.cpp:110:42: style: Parameter 'bonds' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/sketcherMinimizerMolecule.cpp:53:16: style: Variable '_atom' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerMolecule.cpp:102:16: style: Variable '_atom' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerMolecule.cpp:164:24: style: Variable 'k' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerMolecule.cpp:174:24: style: Variable 'k' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerMolecule.cpp:54:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerMolecule.cpp:103:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerMolecule.cpp:165:32: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerMolecule.cpp:175:32: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerMolecule.cpp:270:30: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerResidue.cpp:13:27: warning: Member variable 'sketcherMinimizerResidue::resnum' is not initialized in the constructor. [uninitMemberVar] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:29:16: style: Variable '_atom' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:41:16: style: Variable '_atom' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:46:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:48:20: style: Variable 'bond' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:68:16: style: Variable '_bond' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:73:16: style: Variable '_atom' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:76:20: style: Variable 'bond' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:99:15: style: Variable '_atom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:106:65: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:108:16: style: Variable '_bond' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:115:64: style: Parameter 'ring' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:117:16: style: Variable 'i' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:30:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:41:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:49:39: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:70:13: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:99:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:108:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:117:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerRing.cpp:142:41: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMaeReading.h:22:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATOM_BLOCK [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/test/test_coordgen.cpp:56:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/test/test_coordgen.cpp:86:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/test/test_coordgen.cpp:110:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_samples_path [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/test/test_coordgen.cpp:144:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_DIR [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/test/test_coordgen.cpp:197:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_samples_path [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/test/test_coordgen.cpp:236:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_samples_path [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/test/test_coordgen.cpp:268:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_samples_path [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/test/test_coordgen.cpp:298:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_samples_path [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/test/test_coordgen.cpp:422:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_samples_path [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/test/test_coordgen.cpp:495:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _smiles [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/test/test_coordgen.cpp:600:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable constrained [valueFlowBailoutIncompleteVar] coordgenlibs-3.0.2/test/test_smilesparser.cpp:23:11: style: Variable 'atoms' can be declared as reference to const [constVariableReference] coordgenlibs-3.0.2/test/test_smilesparser.cpp:24:10: style: Variable 'c' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/test/test_coordgen.cpp:44:16: style: Variable 'bond' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/test/test_coordgen.cpp:69:16: style: Variable 'bond' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/test/test_coordgen.cpp:70:20: style: Variable 'bond2' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/test/test_coordgen.cpp:125:16: style: Variable 'atom' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/test/test_coordgen.cpp:175:19: style: Variable 'a' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/test/test_coordgen.cpp:247:10: style: Variable 'Al' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/test/test_coordgen.cpp:248:10: style: Variable 'N' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/test/test_coordgen.cpp:278:10: style: Variable 'Al' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/test/test_coordgen.cpp:279:10: style: Variable 'N' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/test/test_coordgen.cpp:315:14: style: Variable 'ring' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/test/test_coordgen.cpp:328:18: style: Variable 'ring' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/test/test_coordgen.cpp:432:19: style: Variable 'ring' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/test/test_coordgen.cpp:497:28: style: Variable 'center' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/test/test_coordgen.cpp:611:15: style: Variable 'fragment' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/test/test_coordgen.cpp:500:33: style: Variable 'orderedNeighbors' is assigned a value that is never used. [unreadVariable] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:206:24: warning: Member variable 'sketcherMinimizerAtom::molecule' is not initialized in the constructor. [uninitMemberVar] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:1439:9: style: The if condition is the same as the previous if condition [duplicateCondition] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:1433:9: note: First condition coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:1439:9: note: Second condition coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:892:15: style: Redundant initialization for 'firstAtom'. The initialized value is overwritten before it is read. [redundantInitialization] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:885:45: note: firstAtom is initialized coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:892:15: note: firstAtom is overwritten coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:906:16: style: Redundant initialization for 'secondAtom'. The initialized value is overwritten before it is read. [redundantInitialization] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:898:46: note: secondAtom is initialized coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:906:16: note: secondAtom is overwritten coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:1558:11: style: The scope of the variable 'totalf' can be reduced. [variableScope] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:132:33: style: Parameter 'rhs' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:947:16: style: Variable 'atomPrioritie' can be declared as reference to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:1147:59: style: Parameter 'v' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:245:37: style: Variable 'ring2' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:252:37: style: Variable 'ring2' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:268:15: style: Variable 'bond' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:624:65: style: Parameter 'lookingFrom' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:625:65: style: Parameter 'atom1' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:626:65: style: Parameter 'atom2' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:639:32: style: Variable 'n' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:691:32: style: Variable 'n' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:799:15: style: Variable 'bond' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:828:36: style: Variable 'at' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:838:32: style: Variable 'b' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:935:36: style: Variable 'res' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:1221:54: style: Parameter 'at' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:1298:28: style: Variable 'centralAtom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:1457:15: style: Variable 'n' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:1560:19: style: Variable 'neighbor' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:246:32: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:253:32: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:269:21: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:369:23: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:799:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:1293:20: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:1459:39: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:453:38: error: Uninitialized variable: p.priority [uninitvar] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:459:38: error: Uninitialized variable: p.priority [uninitvar] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:1409:34: error: Uninitialized variable: p.priority [uninitvar] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:453:38: error: Uninitialized struct member: p.priority [uninitStructMember] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:459:38: error: Uninitialized struct member: p.priority [uninitStructMember] coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:1409:34: error: Uninitialized struct member: p.priority [uninitStructMember] coordgenlibs-3.0.2/sketcherMinimizer.h:109:10: performance:inconclusive: Technically the member function 'sketcherMinimizer::splitIntoMolecules' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/sketcherMinimizer.cpp:372:25: note: Technically the member function 'sketcherMinimizer::splitIntoMolecules' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:109:10: note: Technically the member function 'sketcherMinimizer::splitIntoMolecules' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:174:10: style:inconclusive: Technically the member function 'sketcherMinimizer::buildFromFragments' can be const. [functionConst] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3734:25: note: Technically the member function 'sketcherMinimizer::buildFromFragments' can be const. coordgenlibs-3.0.2/sketcherMinimizer.h:174:10: note: Technically the member function 'sketcherMinimizer::buildFromFragments' can be const. coordgenlibs-3.0.2/sketcherMinimizer.h:311:11: performance:inconclusive: Technically the member function 'sketcherMinimizer::getResidueDistance' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1346:26: note: Technically the member function 'sketcherMinimizer::getResidueDistance' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:311:11: note: Technically the member function 'sketcherMinimizer::getResidueDistance' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:316:9: performance:inconclusive: Technically the member function 'sketcherMinimizer::getShapeIndex' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1525:24: note: Technically the member function 'sketcherMinimizer::getShapeIndex' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:316:9: note: Technically the member function 'sketcherMinimizer::getShapeIndex' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:342:10: style:inconclusive: Technically the member function 'sketcherMinimizer::maybeFlipPeptides' can be const. [functionConst] coordgenlibs-3.0.2/sketcherMinimizer.cpp:584:25: note: Technically the member function 'sketcherMinimizer::maybeFlipPeptides' can be const. coordgenlibs-3.0.2/sketcherMinimizer.h:342:10: note: Technically the member function 'sketcherMinimizer::maybeFlipPeptides' can be const. coordgenlibs-3.0.2/sketcherMinimizer.h:369:10: performance:inconclusive: Technically the member function 'sketcherMinimizer::flipIfCrossingInteractions' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2462:25: note: Technically the member function 'sketcherMinimizer::flipIfCrossingInteractions' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:369:10: note: Technically the member function 'sketcherMinimizer::flipIfCrossingInteractions' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:372:32: performance:inconclusive: Technically the member function 'sketcherMinimizer::buildProximityDataVector' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2004:42: note: Technically the member function 'sketcherMinimizer::buildProximityDataVector' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:372:32: note: Technically the member function 'sketcherMinimizer::buildProximityDataVector' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:385:10: performance:inconclusive: Technically the member function 'sketcherMinimizer::rotateMoleculesWithProximityRelations' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2056:25: note: Technically the member function 'sketcherMinimizer::rotateMoleculesWithProximityRelations' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:385:10: note: Technically the member function 'sketcherMinimizer::rotateMoleculesWithProximityRelations' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:413:11: performance:inconclusive: Technically the member function 'sketcherMinimizer::scoreSSEBondStretch' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1337:26: note: Technically the member function 'sketcherMinimizer::scoreSSEBondStretch' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:413:11: note: Technically the member function 'sketcherMinimizer::scoreSSEBondStretch' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:420:10: style:inconclusive: Technically the member function 'sketcherMinimizer::markSolution' can be const. [functionConst] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1486:25: note: Technically the member function 'sketcherMinimizer::markSolution' can be const. coordgenlibs-3.0.2/sketcherMinimizer.h:420:10: note: Technically the member function 'sketcherMinimizer::markSolution' can be const. coordgenlibs-3.0.2/sketcherMinimizer.h:428:42: style:inconclusive: Technically the member function 'sketcherMinimizer::shapeAroundLigand' can be const. [functionConst] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1578:52: note: Technically the member function 'sketcherMinimizer::shapeAroundLigand' can be const. coordgenlibs-3.0.2/sketcherMinimizer.h:428:42: note: Technically the member function 'sketcherMinimizer::shapeAroundLigand' can be const. coordgenlibs-3.0.2/sketcherMinimizer.h:432:5: performance:inconclusive: Technically the member function 'sketcherMinimizer::groupResiduesInSSEs' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1540:20: note: Technically the member function 'sketcherMinimizer::groupResiduesInSSEs' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:432:5: note: Technically the member function 'sketcherMinimizer::groupResiduesInSSEs' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:451:10: style:inconclusive: Technically the member function 'sketcherMinimizer::placeResiduesProteinOnlyModeCircleStyle' can be const. [functionConst] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1074:25: note: Technically the member function 'sketcherMinimizer::placeResiduesProteinOnlyModeCircleStyle' can be const. coordgenlibs-3.0.2/sketcherMinimizer.h:451:10: note: Technically the member function 'sketcherMinimizer::placeResiduesProteinOnlyModeCircleStyle' can be const. coordgenlibs-3.0.2/sketcherMinimizer.h:464:44: performance:inconclusive: Technically the member function 'sketcherMinimizer::orderResiduesOfChains' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1188:59: note: Technically the member function 'sketcherMinimizer::orderResiduesOfChains' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:464:44: note: Technically the member function 'sketcherMinimizer::orderResiduesOfChains' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:478:10: performance:inconclusive: Technically the member function 'sketcherMinimizer::shortenInteractions' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1173:25: note: Technically the member function 'sketcherMinimizer::shortenInteractions' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:478:10: note: Technically the member function 'sketcherMinimizer::shortenInteractions' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:500:10: performance:inconclusive: Technically the member function 'sketcherMinimizer::assignLongestChainFromHere' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2960:25: note: Technically the member function 'sketcherMinimizer::assignLongestChainFromHere' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:500:10: note: Technically the member function 'sketcherMinimizer::assignLongestChainFromHere' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:501:10: performance:inconclusive: Technically the member function 'sketcherMinimizer::assignNumberOfChildrenAtomsFromHere' can be static (but you may consider moving to unnamed namespace). [functionStatic] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2943:25: note: Technically the member function 'sketcherMinimizer::assignNumberOfChildrenAtomsFromHere' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.h:501:10: note: Technically the member function 'sketcherMinimizer::assignNumberOfChildrenAtomsFromHere' can be static (but you may consider moving to unnamed namespace). coordgenlibs-3.0.2/sketcherMinimizer.cpp:854:59: style: The if condition is the same as the previous if condition [duplicateCondition] coordgenlibs-3.0.2/sketcherMinimizer.cpp:851:59: note: First condition coordgenlibs-3.0.2/sketcherMinimizer.cpp:854:59: note: Second condition coordgenlibs-3.0.2/sketcherMinimizer.cpp:3027:31: style: Condition 'candidates.size()==1' is always false [knownConditionTrueFalse] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3046:31: style: Condition 'candidates.size()==1' is always false [knownConditionTrueFalse] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1587:11: style: Same expression used in consecutive assignments of 'minX' and 'maxX'. [duplicateAssignExpression] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1588:11: note: Same expression used in consecutive assignments of 'minX' and 'maxX'. coordgenlibs-3.0.2/sketcherMinimizer.cpp:1587:11: note: Same expression used in consecutive assignments of 'minX' and 'maxX'. coordgenlibs-3.0.2/sketcherMinimizer.cpp:1589:11: style: Same expression used in consecutive assignments of 'minY' and 'maxY'. [duplicateAssignExpression] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1590:11: note: Same expression used in consecutive assignments of 'minY' and 'maxY'. coordgenlibs-3.0.2/sketcherMinimizer.cpp:1589:11: note: Same expression used in consecutive assignments of 'minY' and 'maxY'. coordgenlibs-3.0.2/sketcherMinimizer.cpp:831:15: style: The scope of the variable 'lastAngle' can be reduced. [variableScope] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3619:17: style: The scope of the variable 'orderedScores' can be reduced. [variableScope] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1347:62: style:inconclusive: Function 'getResidueDistance' argument 3 names different: declaration 'res' definition 'resToConsider'. [funcArgNamesDifferent] coordgenlibs-3.0.2/sketcherMinimizer.h:312:56: note: Function 'getResidueDistance' argument 3 names different: declaration 'res' definition 'resToConsider'. coordgenlibs-3.0.2/sketcherMinimizer.cpp:1347:62: note: Function 'getResidueDistance' argument 3 names different: declaration 'res' definition 'resToConsider'. coordgenlibs-3.0.2/sketcherMinimizer.cpp:3092:43: style:inconclusive: Function 'findClosestAtomToResidues' argument 1 names different: declaration 'atoms' definition 'catoms'. [funcArgNamesDifferent] coordgenlibs-3.0.2/sketcherMinimizer.h:506:74: note: Function 'findClosestAtomToResidues' argument 1 names different: declaration 'atoms' definition 'catoms'. coordgenlibs-3.0.2/sketcherMinimizer.cpp:3092:43: note: Function 'findClosestAtomToResidues' argument 1 names different: declaration 'atoms' definition 'catoms'. coordgenlibs-3.0.2/sketcherMinimizer.cpp:3611:50: style:inconclusive: Function 'morganScores' argument 3 names different: declaration 'scores' definition 'oldScores'. [funcArgNamesDifferent] coordgenlibs-3.0.2/sketcherMinimizer.h:279:47: note: Function 'morganScores' argument 3 names different: declaration 'scores' definition 'oldScores'. coordgenlibs-3.0.2/sketcherMinimizer.cpp:3611:50: note: Function 'morganScores' argument 3 names different: declaration 'scores' definition 'oldScores'. coordgenlibs-3.0.2/sketcherMinimizer.cpp:884:31: style: Local variable 'i' shadows outer variable [shadowVariable] coordgenlibs-3.0.2/sketcherMinimizer.cpp:832:22: note: Shadowed declaration coordgenlibs-3.0.2/sketcherMinimizer.cpp:884:31: note: Shadow variable coordgenlibs-3.0.2/sketcherMinimizer.cpp:960:48: style: Local variable 'rings' shadows outer variable [shadowVariable] coordgenlibs-3.0.2/sketcherMinimizer.cpp:912:44: note: Shadowed declaration coordgenlibs-3.0.2/sketcherMinimizer.cpp:960:48: note: Shadow variable coordgenlibs-3.0.2/sketcherMinimizer.cpp:1513:17: style: Local variable 'startIndex' shadows outer variable [shadowVariable] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1503:13: note: Shadowed declaration coordgenlibs-3.0.2/sketcherMinimizer.cpp:1513:17: note: Shadow variable coordgenlibs-3.0.2/sketcherMinimizer.cpp:1514:17: style: Local variable 'endIndex' shadows outer variable [shadowVariable] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1504:13: note: Shadowed declaration coordgenlibs-3.0.2/sketcherMinimizer.cpp:1514:17: note: Shadow variable coordgenlibs-3.0.2/sketcherMinimizer.cpp:2266:37: style: Local variable 'b' shadows outer variable [shadowVariable] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2259:33: note: Shadowed declaration coordgenlibs-3.0.2/sketcherMinimizer.cpp:2266:37: note: Shadow variable coordgenlibs-3.0.2/sketcherMinimizer.cpp:967:31: performance: Range variable 'fusionAts' should be declared as const reference. [iterateByValue] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1324:48: style: Parameter 'SSEs' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1560:16: style: Variable 'pair' can be declared as reference to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2005:41: style: Parameter 'proximityMols' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2057:41: style: Parameter 'proximityMols' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2059:28: style: Parameter 'proximityDataVector' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2114:41: style: Parameter 'proximityMols' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2990:65: style: Parameter 'atoms' can be declared as reference to const [constParameterReference] coordgenlibs-3.0.2/sketcherMinimizer.cpp:173:16: style: Variable '_bond' can be declared as pointer to const [constVariableReference] coordgenlibs-3.0.2/sketcherMinimizer.cpp:236:39: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:410:41: style: Variable 'm' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:469:33: style: Variable 'ring' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:477:41: style: Variable 'ring3' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:488:33: style: Variable 'ring' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:493:41: style: Variable 'ring3' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:519:37: style: Variable 'mol' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:546:48: style: Variable 'b' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:590:15: style: Variable 'alphaC' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:629:37: style: Variable 'a' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:635:41: style: Variable 'f' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:803:15: style: Variable 'alphaC' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:910:41: style: Variable 'f' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:966:45: style: Variable 'r' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1002:41: style: Variable 'at' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1127:27: style: Variable 'r1' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1129:27: style: Variable 'r2' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1136:53: style: Variable 'b' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1243:35: style: Variable 'firstPartner' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1347:62: style: Parameter 'resToConsider' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1351:31: style: Variable 'lastRes' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1422:15: style: Variable 'res' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1630:23: style: Variable 'a' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1701:15: style: Variable 'target' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1703:19: style: Variable 'ligandAtom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1748:66: style: Parameter 'mol' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1813:41: style: Variable 'at' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1815:49: style: Variable 'm' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1857:31: style: Parameter 'residueForInteractions' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1927:45: style: Variable 'm' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1951:35: style: Variable 'partnerOfA' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1969:39: style: Variable 'partner' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2020:36: style: Variable 'otherMetaAtom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2021:36: style: Variable 'targetAtom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2093:41: style: Variable 'n' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2266:37: style: Variable 'b' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2325:32: style: Variable 'at' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2381:64: style: Parameter 'parent' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2395:32: style: Variable 'at' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2395:47: style: Variable 'parentAt' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2500:40: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2501:40: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2664:53: style: Variable 'm' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2739:32: style: Parameter 'fragment' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2933:19: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3178:36: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3339:36: style: Variable 'startA' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3349:27: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3365:27: style: Variable 'atom' can be declared as pointer to const [constVariablePointer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3035:40: error: Out of bounds access in expression 'oldCandidates[0]' because 'oldCandidates' is empty. [containerOutOfBounds] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3030:25: note: Assignment 'oldCandidates=candidates', assigned value is size=0 coordgenlibs-3.0.2/sketcherMinimizer.cpp:3035:40: note: Access out of bounds coordgenlibs-3.0.2/sketcherMinimizer.cpp:3053:25: error: Out of bounds access in expression 'oldCandidates[0]' because 'oldCandidates' is empty. [containerOutOfBounds] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3049:25: note: Assignment 'oldCandidates=candidates', assigned value is size=0 coordgenlibs-3.0.2/sketcherMinimizer.cpp:3053:25: note: Access out of bounds coordgenlibs-3.0.2/sketcherMinimizer.cpp:287:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:329:17: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:386:25: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:405:21: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:528:45: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:630:18: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:963:30: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1003:24: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1138:77: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1194:17: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1295:38: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1298:39: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1424:13: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:1692:20: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2094:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2554:30: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2709:28: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2779:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3350:61: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3366:59: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3482:30: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3496:40: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3036:41: style: Iterating over container 'oldCandidates' that is always empty. [knownEmptyContainer] coordgenlibs-3.0.2/sketcherMinimizer.cpp:644:24: style: Variable 'c2' is assigned a value that is never used. [unreadVariable] coordgenlibs-3.0.2/sketcherMinimizer.cpp:645:24: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] coordgenlibs-3.0.2/sketcherMinimizer.cpp:876:20: style: Variable 'weight' is assigned a value that is never used. [unreadVariable] coordgenlibs-3.0.2/sketcherMinimizer.cpp:974:61: style: Variable 'rotatedP' is assigned a value that is never used. [unreadVariable] coordgenlibs-3.0.2/sketcherMinimizer.cpp:2073:42: style: Variable 'direction' is assigned a value that is never used. [unreadVariable] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3624:20: style: Variable 'i' is assigned a value that is never used. [unreadVariable] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3624:27: style: Variable 'j' is assigned a value that is never used. [unreadVariable] diff: head coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:1087:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:374:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:403:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:612:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/CoordgenMacrocycleBuilder.cpp:926:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] 2.13.0 coordgenlibs-3.0.2/CoordgenMinimizer.cpp:1645:26: style: Consider using std::any_of, std::all_of, std::none_of algorithm instead of a raw loop. [useStlAlgorithm] head coordgenlibs-3.0.2/CoordgenMinimizer.cpp:875:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endAtom [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/sketcherMaeReading.h:22:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATOM_BLOCK [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/sketcherMinimizer.cpp:2215:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coordinates [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/sketcherMinimizer.cpp:2719:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/sketcherMinimizer.cpp:3027:31: style: Condition 'candidates.size()==1' is always false [knownConditionTrueFalse] head coordgenlibs-3.0.2/sketcherMinimizer.cpp:3035:40: error: Out of bounds access in expression 'oldCandidates[0]' because 'oldCandidates' is empty. [containerOutOfBounds] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3030:25: note: Assignment 'oldCandidates=candidates', assigned value is size=0 coordgenlibs-3.0.2/sketcherMinimizer.cpp:3035:40: note: Access out of bounds head coordgenlibs-3.0.2/sketcherMinimizer.cpp:3036:41: style: Iterating over container 'oldCandidates' that is always empty. [knownEmptyContainer] head coordgenlibs-3.0.2/sketcherMinimizer.cpp:3046:31: style: Condition 'candidates.size()==1' is always false [knownConditionTrueFalse] head coordgenlibs-3.0.2/sketcherMinimizer.cpp:3053:25: error: Out of bounds access in expression 'oldCandidates[0]' because 'oldCandidates' is empty. [containerOutOfBounds] coordgenlibs-3.0.2/sketcherMinimizer.cpp:3049:25: note: Assignment 'oldCandidates=candidates', assigned value is size=0 coordgenlibs-3.0.2/sketcherMinimizer.cpp:3053:25: note: Access out of bounds head coordgenlibs-3.0.2/sketcherMinimizer.cpp:3072:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/sketcherMinimizer.cpp:3086:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/sketcherMinimizer.cpp:775:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/sketcherMinimizer.cpp:943:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coordinates [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:103:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:1085:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:117:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:187:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/sketcherMinimizerAtom.cpp:682:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/sketcherMinimizerClashInteraction.h:26:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable restV [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/sketcherMinimizerConstraintInteraction.h:24:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable k [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/sketcherMinimizerMarchingSquares.cpp:67:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/test/test_coordgen.cpp:110:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_samples_path [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/test/test_coordgen.cpp:144:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_DIR [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/test/test_coordgen.cpp:197:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_samples_path [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/test/test_coordgen.cpp:236:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_samples_path [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/test/test_coordgen.cpp:268:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_samples_path [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/test/test_coordgen.cpp:298:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_samples_path [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/test/test_coordgen.cpp:422:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_samples_path [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/test/test_coordgen.cpp:495:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _smiles [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/test/test_coordgen.cpp:56:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/test/test_coordgen.cpp:600:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable constrained [valueFlowBailoutIncompleteVar] head coordgenlibs-3.0.2/test/test_coordgen.cpp:86:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] DONE