2026-03-27 11:21 ftp://ftp.de.debian.org/debian/pool/main/c/cura-engine/cura-engine_5.0.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=googletest --library=boost --library=openmp --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-106-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.20.0 head-info: 18492b0 (2026-03-27 10:07:07 +0100) count: 1197 1148 elapsed-time: 94.7 45.0 head-timing-info: old-timing-info: head results: CuraEngine-5.0.0/libs/clipper/clipper.cpp:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] CuraEngine-5.0.0/libs/clipper/clipper.cpp:720:8: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] CuraEngine-5.0.0/libs/clipper/clipper.cpp:180:11: warning: Member variable 'PolyNode::m_jointype' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/libs/clipper/clipper.cpp:180:11: warning: Member variable 'PolyNode::m_endtype' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/libs/clipper/clipper.cpp:882:14: warning: Member variable 'ClipperBase::m_PreserveCollinear' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/libs/clipper/clipper.cpp:882:14: warning: Member variable 'ClipperBase::m_HasOpenPaths' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/libs/clipper/clipper.cpp:882:14: warning: Member variable 'ClipperBase::m_ActiveEdges' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/libs/clipper/clipper.cpp:1473:10: warning: Member variable 'Clipper::m_ClipType' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/libs/clipper/clipper.cpp:1473:10: warning: Member variable 'Clipper::m_SortedEdges' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/libs/clipper/clipper.cpp:1473:10: warning: Member variable 'Clipper::m_ClipFillType' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/libs/clipper/clipper.cpp:1473:10: warning: Member variable 'Clipper::m_SubjFillType' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/libs/clipper/clipper.cpp:1473:10: warning: Member variable 'Clipper::m_UsingPolyTree' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3785:16: warning: Member variable 'ClipperOffset::m_delta' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3785:16: warning: Member variable 'ClipperOffset::m_sinA' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3785:16: warning: Member variable 'ClipperOffset::m_sin' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3785:16: warning: Member variable 'ClipperOffset::m_cos' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3785:16: warning: Member variable 'ClipperOffset::m_miterLim' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3785:16: warning: Member variable 'ClipperOffset::m_StepsPerRad' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:229:8: style:inconclusive: Technically the member function 'ClipperLib::ClipperBase::PreserveCollinear' can be const. [functionConst] CuraEngine-5.0.0/libs/clipper/clipper.cpp:1464:19: style:inconclusive: Technically the member function 'ClipperLib::ClipperBase::LocalMinimaPending' can be const. [functionConst] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:238:8: note: Technically the member function 'ClipperLib::ClipperBase::LocalMinimaPending' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:1464:19: note: Technically the member function 'ClipperLib::ClipperBase::LocalMinimaPending' can be const. CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:281:8: style:inconclusive: Technically the member function 'ClipperLib::Clipper::ReverseSolution' can be const. [functionConst] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:283:8: style:inconclusive: Technically the member function 'ClipperLib::Clipper::StrictlySimple' can be const. [functionConst] CuraEngine-5.0.0/libs/clipper/clipper.cpp:1623:15: style:inconclusive: Technically the member function 'ClipperLib::Clipper::SetWindingCount' can be const. [functionConst] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:308:8: note: Technically the member function 'ClipperLib::Clipper::SetWindingCount' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:1623:15: note: Technically the member function 'ClipperLib::Clipper::SetWindingCount' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:2366:15: style:inconclusive: Technically the member function 'ClipperLib::Clipper::AppendPolygon' can be const. [functionConst] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:326:8: note: Technically the member function 'ClipperLib::Clipper::AppendPolygon' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:2366:15: note: Technically the member function 'ClipperLib::Clipper::AppendPolygon' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:2300:15: style:inconclusive: Technically the member function 'ClipperLib::Clipper::SetHoleState' can be const. [functionConst] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:336:8: note: Technically the member function 'ClipperLib::Clipper::SetHoleState' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:2300:15: note: Technically the member function 'ClipperLib::Clipper::SetHoleState' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3142:15: style:inconclusive: Technically the member function 'ClipperLib::Clipper::FixupOutPolygon' can be const. [functionConst] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:339:8: note: Technically the member function 'ClipperLib::Clipper::FixupOutPolygon' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3142:15: note: Technically the member function 'ClipperLib::Clipper::FixupOutPolygon' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3115:15: style: The member function 'ClipperLib::Clipper::FixupOutPolyline' can be static. [functionStatic] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:340:8: note: The member function 'ClipperLib::Clipper::FixupOutPolyline' can be static. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3115:15: note: The member function 'ClipperLib::Clipper::FixupOutPolyline' can be static. CuraEngine-5.0.0/libs/clipper/clipper.cpp:1544:15: style: The member function 'ClipperLib::Clipper::FixHoleLinkage' can be static. [functionStatic] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:343:8: note: The member function 'ClipperLib::Clipper::FixHoleLinkage' can be static. CuraEngine-5.0.0/libs/clipper/clipper.cpp:1544:15: note: The member function 'ClipperLib::Clipper::FixHoleLinkage' can be static. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3457:15: style:inconclusive: Technically the member function 'ClipperLib::Clipper::JoinPoints' can be const. [functionConst] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:348:8: note: Technically the member function 'ClipperLib::Clipper::JoinPoints' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3457:15: note: Technically the member function 'ClipperLib::Clipper::JoinPoints' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3624:15: style:inconclusive: Technically the member function 'ClipperLib::Clipper::FixupFirstLefts1' can be const. [functionConst] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:351:8: note: Technically the member function 'ClipperLib::Clipper::FixupFirstLefts1' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3624:15: note: Technically the member function 'ClipperLib::Clipper::FixupFirstLefts1' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3640:15: style:inconclusive: Technically the member function 'ClipperLib::Clipper::FixupFirstLefts2' can be const. [functionConst] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:352:8: note: Technically the member function 'ClipperLib::Clipper::FixupFirstLefts2' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3640:15: note: Technically the member function 'ClipperLib::Clipper::FixupFirstLefts2' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3665:15: style:inconclusive: Technically the member function 'ClipperLib::Clipper::FixupFirstLefts3' can be const. [functionConst] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:353:8: note: Technically the member function 'ClipperLib::Clipper::FixupFirstLefts3' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3665:15: note: Technically the member function 'ClipperLib::Clipper::FixupFirstLefts3' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3860:21: style:inconclusive: Technically the member function 'ClipperLib::ClipperOffset::FixOrientations' can be const. [functionConst] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:382:8: note: Technically the member function 'ClipperLib::ClipperOffset::FixOrientations' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3860:21: note: Technically the member function 'ClipperLib::ClipperOffset::FixOrientations' can be const. CuraEngine-5.0.0/libs/clipper/clipper.cpp:125:15: style:inconclusive: Technically the member function 'ClipperLib::LocMinSorter::operator()' can be const. [functionConst] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:227:16: style: Virtual function 'Clear' is called from destructor '~ClipperBase()' at line 891. Dynamic binding is not used. [virtualCallInConstructor] CuraEngine-5.0.0/libs/clipper/clipper.cpp:891:3: note: Calling Clear CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:227:16: note: Clear is a virtual function CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:92:3: style: Struct 'IntPoint' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:120:3: style: Struct 'DoublePoint' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:121:3: style: Struct 'DoublePoint' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:266:3: style: Class 'Clipper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:363:3: style: Class 'ClipperOffset' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:394:5: style: Class 'clipperException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/libs/clipper/clipper.cpp:255:5: style: Class 'Int128' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:163:6: style: The destructor '~PolyTree' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:140:14: note: Virtual destructor in base class CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:163:6: note: Destructor in derived class CuraEngine-5.0.0/libs/clipper/clipper.cpp:2982:19: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] CuraEngine-5.0.0/libs/clipper/clipper.cpp:2980:22: note: outer condition: e->OutIdx>=0 CuraEngine-5.0.0/libs/clipper/clipper.cpp:2982:19: note: identical inner condition: e->OutIdx>=0 CuraEngine-5.0.0/libs/clipper/clipper.cpp:2879:16: style: The scope of the variable 'Pt' can be reduced. [variableScope] CuraEngine-5.0.0/libs/clipper/clipper.cpp:4201:50: style: The scope of the variable 'X2' can be reduced. [variableScope] CuraEngine-5.0.0/libs/clipper/clipper.cpp:927:49: style:inconclusive: Function 'ProcessBound' argument 2 names different: declaration 'IsClockwise' definition 'NextIsForward'. [funcArgNamesDifferent] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:235:38: note: Function 'ProcessBound' argument 2 names different: declaration 'IsClockwise' definition 'NextIsForward'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:927:49: note: Function 'ProcessBound' argument 2 names different: declaration 'IsClockwise' definition 'NextIsForward'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:1394:45: style:inconclusive: Function 'SwapPositionsInAEL' argument 1 names different: declaration 'edge1' definition 'Edge1'. [funcArgNamesDifferent] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:243:34: note: Function 'SwapPositionsInAEL' argument 1 names different: declaration 'edge1' definition 'Edge1'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:1394:45: note: Function 'SwapPositionsInAEL' argument 1 names different: declaration 'edge1' definition 'Edge1'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:1394:59: style:inconclusive: Function 'SwapPositionsInAEL' argument 2 names different: declaration 'edge2' definition 'Edge2'. [funcArgNamesDifferent] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:243:48: note: Function 'SwapPositionsInAEL' argument 2 names different: declaration 'edge2' definition 'Edge2'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:1394:59: note: Function 'SwapPositionsInAEL' argument 2 names different: declaration 'edge2' definition 'Edge2'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:1840:71: style:inconclusive: Function 'AddLocalMinPoly' argument 3 names different: declaration 'pt' definition 'Pt'. [funcArgNamesDifferent] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:324:64: note: Function 'AddLocalMinPoly' argument 3 names different: declaration 'pt' definition 'Pt'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:1840:71: note: Function 'AddLocalMinPoly' argument 3 names different: declaration 'pt' definition 'Pt'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:1883:69: style:inconclusive: Function 'AddLocalMaxPoly' argument 3 names different: declaration 'pt' definition 'Pt'. [funcArgNamesDifferent] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:323:62: note: Function 'AddLocalMaxPoly' argument 3 names different: declaration 'pt' definition 'Pt'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:1883:69: note: Function 'AddLocalMaxPoly' argument 3 names different: declaration 'pt' definition 'Pt'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:1941:62: style:inconclusive: Function 'AddJoin' argument 3 names different: declaration 'offPt' definition 'OffPt'. [funcArgNamesDifferent] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:344:55: note: Function 'AddJoin' argument 3 names different: declaration 'offPt' definition 'OffPt'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:1941:62: note: Function 'AddJoin' argument 3 names different: declaration 'offPt' definition 'OffPt'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:1967:54: style:inconclusive: Function 'AddGhostJoin' argument 2 names different: declaration 'offPt' definition 'OffPt'. [funcArgNamesDifferent] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:347:47: note: Function 'AddGhostJoin' argument 2 names different: declaration 'offPt' definition 'OffPt'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:1967:54: note: Function 'AddGhostJoin' argument 2 names different: declaration 'offPt' definition 'OffPt'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:2105:62: style:inconclusive: Function 'IntersectEdges' argument 3 names different: declaration 'pt' definition 'Pt'. [funcArgNamesDifferent] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:327:55: note: Function 'IntersectEdges' argument 3 names different: declaration 'pt' definition 'Pt'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:2105:62: note: Function 'IntersectEdges' argument 3 names different: declaration 'pt' definition 'Pt'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:2357:32: style:inconclusive: Function 'GetOutRec' argument 1 names different: declaration 'idx' definition 'Idx'. [funcArgNamesDifferent] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:325:25: note: Function 'GetOutRec' argument 1 names different: declaration 'idx' definition 'Idx'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:2357:32: note: Function 'GetOutRec' argument 1 names different: declaration 'idx' definition 'Idx'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:2557:41: style:inconclusive: Function 'SwapPositionsInSEL' argument 1 names different: declaration 'edge1' definition 'Edge1'. [funcArgNamesDifferent] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:317:34: note: Function 'SwapPositionsInSEL' argument 1 names different: declaration 'edge1' definition 'Edge1'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:2557:41: note: Function 'SwapPositionsInSEL' argument 1 names different: declaration 'edge1' definition 'Edge1'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:2557:55: style:inconclusive: Function 'SwapPositionsInSEL' argument 2 names different: declaration 'edge2' definition 'Edge2'. [funcArgNamesDifferent] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:317:48: note: Function 'SwapPositionsInSEL' argument 2 names different: declaration 'edge2' definition 'Edge2'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:2557:55: note: Function 'SwapPositionsInSEL' argument 2 names different: declaration 'edge2' definition 'Edge2'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3785:56: style:inconclusive: Function 'ClipperOffset' argument 2 names different: declaration 'roundPrecision' definition 'arcTolerance'. [funcArgNamesDifferent] CuraEngine-5.0.0/libs/clipper/include/polyclipping/clipper.hpp:363:49: note: Function 'ClipperOffset' argument 2 names different: declaration 'roundPrecision' definition 'arcTolerance'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3785:56: note: Function 'ClipperOffset' argument 2 names different: declaration 'roundPrecision' definition 'arcTolerance'. CuraEngine-5.0.0/libs/clipper/clipper.cpp:3209:14: style: Local variable 'i' shadows outer variable [shadowVariable] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3201:31: note: Shadowed declaration CuraEngine-5.0.0/libs/clipper/clipper.cpp:3209:14: note: Shadow variable CuraEngine-5.0.0/libs/clipper/clipper.cpp:577:33: style: Parameter 'e' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/libs/clipper/clipper.cpp:614:25: style: Parameter 'edge' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/libs/clipper/clipper.cpp:2105:62: style: Parameter 'Pt' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/libs/clipper/clipper.cpp:2609:30: style: Parameter 'HorzEdge' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3968:17: style: Variable 'node' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3996:15: style: Variable 'node' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/libs/clipper/clipper.cpp:4590:38: style: Parameter 'polytree' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/libs/clipper/clipper.cpp:223:13: style: Variable 'node' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:426:10: style: Variable 'pp2' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:487:10: style: Variable 'startOp' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:527:10: style: Variable 'op' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:799:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:1085:23: style: Variable 'eLoopStop' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:1172:10: style: Variable 'EMin' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:1313:14: style: Variable 'bottomE' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:1653:14: style: Variable 'e2' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:2303:10: style: Variable 'eTmp' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:2333:10: style: Variable 'OutPt1' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:2334:10: style: Variable 'OutPt2' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:2346:36: style: Parameter 'outRec1' can be declared as pointer to const [constParameterPointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:2346:53: style: Parameter 'outRec2' can be declared as pointer to const [constParameterPointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:2501:37: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:2537:29: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3146:12: style: Variable 'lastOK' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3187:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3457:43: style: Parameter 'outRec1' can be declared as pointer to const [constParameterPointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3457:60: style: Parameter 'outRec2' can be declared as pointer to const [constParameterPointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3624:40: style: Parameter 'OldOutRec' can be declared as pointer to const [constParameterPointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3630:13: style: Variable 'firstLeft' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3665:40: style: Parameter 'OldOutRec' can be declared as pointer to const [constParameterPointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:3671:13: style: Variable 'firstLeft' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/libs/clipper/clipper.cpp:930:15: style: Variable 'Horz' is assigned a value that is never used. [unreadVariable] CuraEngine-5.0.0/libs/clipper/clipper.cpp:4117:11: style: Variable 'k' is assigned a value that is never used. [unreadVariable] CuraEngine-5.0.0/libs/clipper/clipper.cpp:2657:72: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/libs/clipper/clipper.cpp:2664:74: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/libs/clipper/clipper.cpp:2691:19: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/libs/clipper/clipper.cpp:2700:19: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/utils/polygon.h:253:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.h:908:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clipper_init [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.h:917:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clipper_init [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.h:933:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clipper_init [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.h:969:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clipper_init [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.h:979:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clipper_init [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.h:991:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jtMiter [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.h:1346:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clipper_init [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/Application.cpp:19:14: warning: Member variable 'Application::argc' is not initialized in the constructor. [uninitMemberVarPrivate] CuraEngine-5.0.0/src/Application.cpp:19:14: warning: Member variable 'Application::argv' is not initialized in the constructor. [uninitMemberVarPrivate] CuraEngine-5.0.0/src/gcodeExport.h:93:9: warning: Member variable 'ExtruderTrainAttributes::last_e_value_after_wipe' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/utils/polygon.h:892:39: performance: Variable 'paths' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/src/utils/polygon.h:893:34: performance: Variable 'paths' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/src/Application.cpp:102:19: style: The member function 'cura::Application::printHelp' can be static. [functionStatic] CuraEngine-5.0.0/src/Application.h:56:10: note: The member function 'cura::Application::printHelp' can be static. CuraEngine-5.0.0/src/Application.cpp:102:19: note: The member function 'cura::Application::printHelp' can be static. CuraEngine-5.0.0/src/Application.cpp:139:19: style: The member function 'cura::Application::printLicense' can be static. [functionStatic] CuraEngine-5.0.0/src/Application.h:84:10: note: The member function 'cura::Application::printLicense' can be static. CuraEngine-5.0.0/src/Application.cpp:139:19: note: The member function 'cura::Application::printLicense' can be static. CuraEngine-5.0.0/src/utils/IntPoint.h:288:18: style:inconclusive: Technically the member function 'cura::Point3Matrix::compose' can be const. [functionConst] CuraEngine-5.0.0/src/utils/polygon.h:524:10: style:inconclusive: Technically the member function 'cura::PolygonRef::translate' can be const. [functionConst] CuraEngine-5.0.0/src/utils/polygon.h:1162:10: style:inconclusive: Technically the member function 'cura::Polygons::scale' can be const. [functionConst] CuraEngine-5.0.0/src/utils/polygon.h:1178:10: style:inconclusive: Technically the member function 'cura::Polygons::translate' can be const. [functionConst] CuraEngine-5.0.0/src/utils/polygon.h:1434:16: style:inconclusive: Technically the member function 'cura::PolygonsPart::outerPolygon' can be const. [functionConst] CuraEngine-5.0.0/src/utils/polygon.h:450:18: warning: The class 'PolygonRef' defines member function with name 'operator[]' also defined in its parent class 'ConstPolygonRef'. [duplInheritedMember] CuraEngine-5.0.0/src/utils/polygon.h:108:18: note: Parent function 'ConstPolygonRef::operator[]' CuraEngine-5.0.0/src/utils/polygon.h:450:18: note: Derived function 'PolygonRef::operator[]' CuraEngine-5.0.0/src/utils/polygon.h:456:32: warning: The class 'PolygonRef' defines member function with name 'begin' also defined in its parent class 'ConstPolygonRef'. [duplInheritedMember] CuraEngine-5.0.0/src/utils/polygon.h:119:38: note: Parent function 'ConstPolygonRef::begin' CuraEngine-5.0.0/src/utils/polygon.h:456:32: note: Derived function 'PolygonRef::begin' CuraEngine-5.0.0/src/utils/polygon.h:461:32: warning: The class 'PolygonRef' defines member function with name 'end' also defined in its parent class 'ConstPolygonRef'. [duplInheritedMember] CuraEngine-5.0.0/src/utils/polygon.h:124:38: note: Parent function 'ConstPolygonRef::end' CuraEngine-5.0.0/src/utils/polygon.h:461:32: note: Derived function 'PolygonRef::end' CuraEngine-5.0.0/src/utils/polygon.h:466:33: warning: The class 'PolygonRef' defines member function with name 'front' also defined in its parent class 'ConstPolygonRef'. [duplInheritedMember] CuraEngine-5.0.0/src/utils/polygon.h:139:39: note: Parent function 'ConstPolygonRef::front' CuraEngine-5.0.0/src/utils/polygon.h:466:33: note: Derived function 'PolygonRef::front' CuraEngine-5.0.0/src/utils/polygon.h:471:33: warning: The class 'PolygonRef' defines member function with name 'back' also defined in its parent class 'ConstPolygonRef'. [duplInheritedMember] CuraEngine-5.0.0/src/utils/polygon.h:144:39: note: Parent function 'ConstPolygonRef::back' CuraEngine-5.0.0/src/utils/polygon.h:471:33: note: Derived function 'PolygonRef::back' CuraEngine-5.0.0/src/utils/polygon.h:632:16: warning: The class 'PolygonPointer' defines member function with name 'operator*' also defined in its parent class 'ConstPolygonPointer'. [duplInheritedMember] CuraEngine-5.0.0/src/utils/polygon.h:596:21: note: Parent function 'ConstPolygonPointer::operator*' CuraEngine-5.0.0/src/utils/polygon.h:632:16: note: Derived function 'PolygonPointer::operator*' CuraEngine-5.0.0/src/utils/polygon.h:638:21: warning: The class 'PolygonPointer' defines member function with name 'operator*' also defined in its parent class 'ConstPolygonPointer'. [duplInheritedMember] CuraEngine-5.0.0/src/utils/polygon.h:596:21: note: Parent function 'ConstPolygonPointer::operator*' CuraEngine-5.0.0/src/utils/polygon.h:638:21: note: Derived function 'PolygonPointer::operator*' CuraEngine-5.0.0/src/utils/polygon.h:650:29: warning: The class 'PolygonPointer' defines member function with name 'operator->' also defined in its parent class 'ConstPolygonPointer'. [duplInheritedMember] CuraEngine-5.0.0/src/utils/polygon.h:601:29: note: Parent function 'ConstPolygonPointer::operator->' CuraEngine-5.0.0/src/utils/polygon.h:650:29: note: Derived function 'PolygonPointer::operator->' CuraEngine-5.0.0/src/utils/polygon.h:656:5: warning: The class 'PolygonPointer' defines member function with name 'operatorbool' also defined in its parent class 'ConstPolygonPointer'. [duplInheritedMember] CuraEngine-5.0.0/src/utils/polygon.h:607:5: note: Parent function 'ConstPolygonPointer::operatorbool' CuraEngine-5.0.0/src/utils/polygon.h:656:5: note: Derived function 'PolygonPointer::operatorbool' CuraEngine-5.0.0/src/utils/polygon.h:1449:10: warning: The class 'PolygonsPart' defines member function with name 'inside' also defined in its parent class 'Polygons'. [duplInheritedMember] CuraEngine-5.0.0/src/utils/polygon.h:1011:10: note: Parent function 'Polygons::inside' CuraEngine-5.0.0/src/utils/polygon.h:1449:10: note: Derived function 'PolygonsPart::inside' CuraEngine-5.0.0/src/settings/types/Duration.h:27:15: style: Struct 'Duration' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/settings/types/LayerIndex.h:28:15: style: Struct 'LayerIndex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/settings/types/Velocity.h:25:15: style: Struct 'Velocity' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/IntPoint.h:190:5: style: Class 'PointMatrix' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/IntPoint.h:199:5: style: Class 'PointMatrix' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/IntPoint.h:251:5: style: Class 'Point3Matrix' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/settings/types/Temperature.h:25:5: style: Struct 'Temperature' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/LayerPlanBuffer.h:52:5: style: Class 'LayerPlanBuffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/settings/types/Ratio.h:26:15: style: Class 'Ratio' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/settings/types/Angle.h:34:5: style: Class 'AngleDegrees' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/settings/types/Angle.h:39:5: style: Class 'AngleDegrees' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/settings/types/Angle.h:106:5: style: Class 'AngleRadians' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/settings/types/Angle.h:111:5: style: Class 'AngleRadians' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/polygon.h:81:5: style: Class 'ConstPolygonRef' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/polygon.h:408:5: style: Class 'PolygonRef' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/polygon.h:589:5: style: Class 'ConstPolygonPointer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/polygon.h:592:5: style: Class 'ConstPolygonPointer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/polygon.h:624:5: style: Class 'PolygonPointer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/polygon.h:628:5: style: Class 'PolygonPointer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/polygon.h:705:5: style: Class 'Polygon' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/polygon.h:1459:5: style: Class 'PartsView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/communication/CommandLine.h:30:5: style: Class 'CommandLine' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/polygon.h:418:14: style: The destructor '~PolygonRef' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/src/utils/polygon.h:87:14: note: Virtual destructor in base class CuraEngine-5.0.0/src/utils/polygon.h:418:14: note: Destructor in derived class CuraEngine-5.0.0/src/utils/polygon.h:723:14: style: The destructor '~Polygon' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/src/utils/polygon.h:418:14: note: Virtual destructor in base class CuraEngine-5.0.0/src/utils/polygon.h:723:14: note: Destructor in derived class CuraEngine-5.0.0/src/utils/polygon.h:1303:76: style: Condition 'poly_rem.size()==0' is always false [knownConditionTrueFalse] CuraEngine-5.0.0/src/utils/polygon.h:1298:34: note: Assuming that condition 'poly_keep.size()>0' is not redundant CuraEngine-5.0.0/src/utils/polygon.h:1300:45: note: Assuming container is not empty CuraEngine-5.0.0/src/utils/polygon.h:1303:37: note: Assuming that condition 'poly_rem.size()!=poly_keep.size()' is not redundant CuraEngine-5.0.0/src/utils/polygon.h:1303:76: note: Condition 'poly_rem.size()==0' is always false CuraEngine-5.0.0/src/utils/string.h:61:13: style: Redundant initialization for 'end_pos'. The initialized value is overwritten before it is read. [redundantInitialization] CuraEngine-5.0.0/src/utils/string.h:54:17: note: end_pos is initialized CuraEngine-5.0.0/src/utils/string.h:61:13: note: end_pos is overwritten CuraEngine-5.0.0/src/utils/polygon.h:242:16: style: Local variable 'area' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/polygon.h:223:12: note: Shadowed declaration CuraEngine-5.0.0/src/utils/polygon.h:242:16: note: Shadow variable CuraEngine-5.0.0/src/settings/Settings.h:47:56: performance: Function parameter 'value' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/GCodePathConfig.h:44:147: performance: Function parameter 'speed_derivatives' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/polygon.h:362:103: performance:inconclusive: Function parameter 'p0_it' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/polygon.h:362:127: performance:inconclusive: Function parameter 'p1_it' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/polygon.h:362:151: performance:inconclusive: Function parameter 'p2_it' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/polygon.h:624:32: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer] CuraEngine-5.0.0/src/utils/polygon.h:528:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/utils/polygon.h:1173:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/utils/polygon.h:1368:20: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/BeadingStrategy/BeadingStrategy.h:108:17: style:inconclusive: Member variable 'BeadingStrategy::name' is in the wrong place in the initializer list. [initializerList] CuraEngine-5.0.0/src/BeadingStrategy/BeadingStrategy.cpp:34:5: note: Member variable 'BeadingStrategy::name' is in the wrong place in the initializer list. CuraEngine-5.0.0/src/BeadingStrategy/BeadingStrategy.h:108:17: note: Member variable 'BeadingStrategy::name' is in the wrong place in the initializer list. CuraEngine-5.0.0/src/BeadingStrategy/BeadingStrategy.cpp:25:5: performance: Variable 'name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/src/BeadingStrategy/RedistributeBeadingStrategy.h:54:29: style: The function 'toString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/src/BeadingStrategy/BeadingStrategy.h:99:25: note: Virtual function in base class CuraEngine-5.0.0/src/BeadingStrategy/RedistributeBeadingStrategy.h:54:29: note: Function in derived class CuraEngine-5.0.0/src/BeadingStrategy/OuterWallInsetBeadingStrategy.h:19:18: style: The destructor '~OuterWallInsetBeadingStrategy' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/src/BeadingStrategy/BeadingStrategy.h:51:14: note: Virtual destructor in base class CuraEngine-5.0.0/src/BeadingStrategy/OuterWallInsetBeadingStrategy.h:19:18: note: Destructor in derived class CuraEngine-5.0.0/src/BeadingStrategy/OuterWallInsetBeadingStrategy.h:28:29: style: The function 'toString' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/src/BeadingStrategy/BeadingStrategy.h:99:25: note: Virtual function in base class CuraEngine-5.0.0/src/BeadingStrategy/OuterWallInsetBeadingStrategy.h:28:29: note: Function in derived class CuraEngine-5.0.0/src/BeadingStrategy/RedistributeBeadingStrategy.cpp:91:31: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/BeadingStrategy/WideningBeadingStrategy.cpp:66:19: style: Condition 'thickness>=min_input_width' is always true [knownConditionTrueFalse] CuraEngine-5.0.0/src/BeadingStrategy/WideningBeadingStrategy.cpp:64:19: note: Assuming that condition 'thickness=min_input_width' is always true CuraEngine-5.0.0/src/slicer.h:350:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_TERMINUS [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/floatpoint.h:24:5: warning:inconclusive: Member variable 'FPoint3::x' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/utils/floatpoint.h:24:5: warning:inconclusive: Member variable 'FPoint3::y' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/utils/floatpoint.h:24:5: warning:inconclusive: Member variable 'FPoint3::z' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/utils/floatpoint.h:84:12: style:inconclusive: Technically the member function 'cura::FPoint3::toPoint3' can be const. [functionConst] CuraEngine-5.0.0/src/slicer.h:224:14: style:inconclusive: Technically the member function 'cura::SlicerLayer::Terminus::operator==' can be const. [functionConst] CuraEngine-5.0.0/src/slicer.h:230:14: style:inconclusive: Technically the member function 'cura::SlicerLayer::Terminus::operator!=' can be const. [functionConst] CuraEngine-5.0.0/src/utils/floatpoint.h:26:5: style: Class 'FPoint3' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/mesh.h:25:5: style: Class 'MeshVertex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/mesh.h:73:5: style: Class 'Mesh' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/slicer.h:160:9: style: Class 'Terminus' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/slicer.h:307:9: style: Class 'TerminusTrackingMap' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/ConicalOverhang.cpp:14:22: style: Local variable 'angle' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/IntPoint.h:145:12: note: Shadowed declaration CuraEngine-5.0.0/src/ConicalOverhang.cpp:14:22: note: Shadow variable CuraEngine-5.0.0/src/utils/floatpoint.h:37:30: style: Parameter 'p' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/utils/floatpoint.h:38:30: style: Parameter 'p' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/ConicalOverhang.cpp:23:17: style: Variable 'layer_above' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/slicer.h:216:13: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:198:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable point_idx [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:390:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:696:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1017:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1334:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1352:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1425:166: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1468:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1479:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1580:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1966:166: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2178:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_place [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2188:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2232:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2257:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2455:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2560:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2597:137: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2831:162: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2928:166: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/orderOptimizer.h:74:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/SparseLineGrid.h:82:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_grid [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/SparseLineGrid.h:92:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_grid [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/GcodeLayerThreader.h:190:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/SVG.h:42:9: warning: Member variable 'ColorObject::r' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/utils/SVG.h:42:9: warning: Member variable 'ColorObject::g' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/utils/SVG.h:42:9: warning: Member variable 'ColorObject::b' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/utils/SVG.h:46:9: warning: Member variable 'ColorObject::color' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/FffGcodeWriter.h:49:21: style:inconclusive: Member variable 'FffGcodeWriter::layer_plan_buffer' uses an uninitialized argument 'gcode' due to the order of declarations. [initializerList] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:34:3: note: Member variable 'FffGcodeWriter::layer_plan_buffer' uses an uninitialized argument 'gcode' due to the order of declarations. CuraEngine-5.0.0/src/FffGcodeWriter.h:49:21: note: Member variable 'FffGcodeWriter::layer_plan_buffer' uses an uninitialized argument 'gcode' due to the order of declarations. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1374:22: style: The member function 'cura::FffGcodeWriter::addMeshOpenPolyLinesToGCode' can be static. [functionStatic] CuraEngine-5.0.0/src/FffGcodeWriter.h:358:10: note: The member function 'cura::FffGcodeWriter::addMeshOpenPolyLinesToGCode' can be static. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1374:22: note: The member function 'cura::FffGcodeWriter::addMeshOpenPolyLinesToGCode' can be static. CuraEngine-5.0.0/src/utils/Lock.h:28:10: style: The member function 'Lock::lock' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/Lock.h:34:10: style: The member function 'Lock::unlock' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/Lock.h:40:9: style: The member function 'Lock::test_lock' can be static. [functionStatic] CuraEngine-5.0.0/src/InsetOrderOptimizer.h:131:39: style: The member function 'cura::InsetOrderOptimizer::wallsToBeAdded' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/orderOptimizer.h:48:38: style:inconclusive: Technically the member function 'cura::OrderOptimizer < unsigned long >::optimize' can be const. [functionConst] CuraEngine-5.0.0/src/utils/orderOptimizer.h:38:23: note: Technically the member function 'cura::OrderOptimizer < unsigned long >::optimize' can be const. CuraEngine-5.0.0/src/utils/orderOptimizer.h:48:38: note: Technically the member function 'cura::OrderOptimizer < unsigned long >::optimize' can be const. CuraEngine-5.0.0/src/PathOrderOptimizer.h:551:13: style: The member function 'cura::PathOrderOptimizer < const SliceLayerPart * >::getDirectDistance' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:607:12: style: The member function 'cura::PathOrderOptimizer < const SliceLayerPart * >::getRandomPointInPolygon' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:612:10: style: The member function 'cura::PathOrderOptimizer < const SliceLayerPart * >::isLoopingPolyline' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:551:13: style: The member function 'cura::PathOrderOptimizer < const SkinPart * >::getDirectDistance' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:607:12: style: The member function 'cura::PathOrderOptimizer < const SkinPart * >::getRandomPointInPolygon' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:612:10: style: The member function 'cura::PathOrderOptimizer < const SkinPart * >::isLoopingPolyline' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:551:13: style: The member function 'cura::PathOrderOptimizer < const SupportInfillPart * >::getDirectDistance' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:607:12: style: The member function 'cura::PathOrderOptimizer < const SupportInfillPart * >::getRandomPointInPolygon' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:612:10: style: The member function 'cura::PathOrderOptimizer < const SupportInfillPart * >::isLoopingPolyline' can be static. [functionStatic] CuraEngine-5.0.0/src/GcodeLayerThreader.h:224:29: style:inconclusive: Technically the member function 'cura::GcodeLayerThreader < LayerPlan >::finished' can be const. [functionConst] CuraEngine-5.0.0/src/GcodeLayerThreader.h:80:10: note: Technically the member function 'cura::GcodeLayerThreader < LayerPlan >::finished' can be const. CuraEngine-5.0.0/src/GcodeLayerThreader.h:224:29: note: Technically the member function 'cura::GcodeLayerThreader < LayerPlan >::finished' can be const. CuraEngine-5.0.0/src/utils/SparsePointGridInclusive.h:40:11: style:inconclusive: Technically the member function 'cura::SparsePointGridInclusiveImpl::Locatoror < std :: weak_ptr < LightningTreeNode > >::operator()' can be const. [functionConst] CuraEngine-5.0.0/src/utils/SquareGrid.h:31:5: style: Class 'SquareGrid' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/SparseGrid.h:45:5: style: Class 'SparseGrid' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/AABB.h:24:5: style: Class 'AABB' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/AABB.h:25:5: style: Class 'AABB' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/SVG.h:42:9: style: Struct 'ColorObject' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/polygonUtils.h:31:5: style: Struct 'ClosestPolygonPoint' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/infill/LightningGenerator.h:47:5: style: Class 'LightningGenerator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/Scene.h:57:5: style: Class 'Scene' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/Slice.h:24:5: style: Class 'Slice' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/PathOrderOptimizer.h:89:5: style: Class 'PathOrderOptimizer < const SliceLayerPart * >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/PathOrderOptimizer.h:89:5: style: Class 'PathOrderOptimizer < const SkinPart * >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/PathOrderOptimizer.h:89:5: style: Class 'PathOrderOptimizer < const SupportInfillPart * >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/PathOrderPath.h:36:5: style: Struct 'PathOrderPath < ConstPolygonPointer >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/PathOrderPath.h:36:5: style: Struct 'PathOrderPath < const SliceLayerPart * >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/PathOrderPath.h:36:5: style: Struct 'PathOrderPath < const SkinPart * >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/PathOrderPath.h:36:5: style: Struct 'PathOrderPath < const SupportInfillPart * >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/SparseLineGrid.h:39:5: style: Class 'SparseLineGrid < PathsPointIndex < Polygons > , PolygonsPointIndexSegmentLocator >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/SparsePointGridInclusive.h:67:5: style: Class 'SparsePointGridInclusive < std :: weak_ptr < LightningTreeNode > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/SparsePointGrid.h:37:5: style: Class 'SparsePointGrid < SparsePointGridInclusiveImpl :: SparsePointGridInclusiveElem < std :: weak_ptr < LightningTreeNode > > , SparsePointGridInclusiveImpl :: Locatoror < std :: weak_ptr < LightningTreeNode > > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1440:43: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2712:73: style: Condition '(density_idx+1)>0' is always true [knownConditionTrueFalse] CuraEngine-5.0.0/src/GcodeLayerThreader.h:187:66: style: Condition 'consume_lock.test_lock()' is always true [knownConditionTrueFalse] CuraEngine-5.0.0/src/utils/Lock.h:42:19: note: Assignment 'ret=1', assigned value is 1 CuraEngine-5.0.0/src/GcodeLayerThreader.h:187:66: note: Calling function 'test_lock' returns 1 CuraEngine-5.0.0/src/GcodeLayerThreader.h:187:66: note: Condition 'consume_lock.test_lock()' is always true CuraEngine-5.0.0/src/FffGcodeWriter.cpp:789:31: style: Redundant initialization for 'last_planned_position'. The initialized value is overwritten before it is read. [redundantInitialization] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:713:48: note: last_planned_position is initialized CuraEngine-5.0.0/src/FffGcodeWriter.cpp:789:31: note: last_planned_position is overwritten CuraEngine-5.0.0/src/FffGcodeWriter.cpp:523:23: style: The scope of the variable 'extruder_is_used' can be reduced. [variableScope] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:604:23: style: The scope of the variable 'extruder_is_used' can be reduced. [variableScope] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2193:71: style: Checking if unsigned expression 'roofing_layer_count' is less than zero. [unsignedLessThanZero] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:68:72: style:inconclusive: Function 'writeGCode' argument 2 names different: declaration 'timeKeeper' definition 'time_keeper'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffGcodeWriter.h:136:60: note: Function 'writeGCode' argument 2 names different: declaration 'timeKeeper' definition 'time_keeper'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:68:72: note: Function 'writeGCode' argument 2 names different: declaration 'timeKeeper' definition 'time_keeper'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1092:83: style:inconclusive: Function 'processSkirtBrim' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffGcodeWriter.h:273:71: note: Function 'processSkirtBrim' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1092:83: note: Function 'processSkirtBrim' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1184:84: style:inconclusive: Function 'processOozeShield' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffGcodeWriter.h:281:72: note: Function 'processOozeShield' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1184:84: note: Function 'processOozeShield' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1197:85: style:inconclusive: Function 'processDraftShield' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffGcodeWriter.h:289:73: note: Function 'processDraftShield' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1197:85: note: Function 'processDraftShield' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1340:187: style:inconclusive: Function 'addMeshLayerToGCode_meshSurfaceMode' argument 4 names different: declaration 'gcodeLayer' definition 'gcode_layer'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffGcodeWriter.h:348:175: note: Function 'addMeshLayerToGCode_meshSurfaceMode' argument 4 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1340:187: note: Function 'addMeshLayerToGCode_meshSurfaceMode' argument 4 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1466:80: style:inconclusive: Function 'processInfill' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffGcodeWriter.h:398:68: note: Function 'processInfill' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1466:80: note: Function 'processInfill' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1477:90: style:inconclusive: Function 'processMultiLayerInfill' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffGcodeWriter.h:412:78: note: Function 'processMultiLayerInfill' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1477:90: note: Function 'processMultiLayerInfill' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1578:91: style:inconclusive: Function 'processSingleLayerInfill' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffGcodeWriter.h:424:79: note: Function 'processSingleLayerInfill' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1578:91: note: Function 'processSingleLayerInfill' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1963:80: style:inconclusive: Function 'processInsets' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffGcodeWriter.h:436:68: note: Function 'processInsets' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1963:80: note: Function 'processInsets' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2533:118: style:inconclusive: Function 'processIroning' argument 3 names different: declaration 'part' definition 'layer'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffGcodeWriter.h:572:106: note: Function 'processIroning' argument 3 names different: declaration 'part' definition 'layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2533:118: note: Function 'processIroning' argument 3 names different: declaration 'part' definition 'layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2551:84: style:inconclusive: Function 'addSupportToGCode' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffGcodeWriter.h:580:72: note: Function 'addSupportToGCode' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2551:84: note: Function 'addSupportToGCode' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2820:89: style:inconclusive: Function 'addSupportRoofsToGCode' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffGcodeWriter.h:598:77: note: Function 'addSupportRoofsToGCode' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2820:89: note: Function 'addSupportRoofsToGCode' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2917:91: style:inconclusive: Function 'addSupportBottomsToGCode' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffGcodeWriter.h:608:79: note: Function 'addSupportBottomsToGCode' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2917:91: note: Function 'addSupportBottomsToGCode' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:3045:80: style:inconclusive: Function 'addPrimeTower' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffGcodeWriter.h:629:68: note: Function 'addPrimeTower' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:3045:80: note: Function 'addPrimeTower' argument 2 names different: declaration 'gcodeLayer' definition 'gcode_layer'. CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1845:40: style: Local variable 'part' shadows outer argument [shadowArgument] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1831:193: note: Shadowed declaration CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1845:40: note: Shadow variable CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2502:31: style: Local variable 'pattern' shadows outer argument [shadowArgument] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2416:279: note: Shadowed declaration CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2502:31: note: Shadow variable CuraEngine-5.0.0/src/utils/SVG.h:69:111: performance: Function parameter 'background' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:70:86: performance: Function parameter 'background' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:71:111: performance: Function parameter 'background' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:94:65: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:94:104: performance: Function parameter 'outline_color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:96:64: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:96:103: performance: Function parameter 'outline_color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:98:112: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:100:119: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:102:123: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:115:75: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:117:70: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:119:71: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:137:78: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:139:65: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:141:63: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:143:66: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:145:64: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:156:85: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:167:72: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.h:178:65: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/LayerPlan.h:394:36: performance: Function parameter 'mesh_id' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:2392:23: performance: Range variable 'support_part' should be declared as const reference. [iterateByValue] CuraEngine-5.0.0/src/utils/SparseLineGrid.h:89:38: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1233:12: style: Variable 'scene' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/infill/ZigzagConnectorProcessor.h:233:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/InsetOrderOptimizer.h:140:39: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:139:13: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:235:19: style: Variable 'a' is assigned a value that is never used. [unreadVariable] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:861:108: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1242:125: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/utils/algorithm.h:90:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable async [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:864:121: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:930:146: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jtRound [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:1134:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/TreeModelVolumes.h:28:5: warning: Member variable 'TreeModelVolumes::z_distance_layers' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/TreeModelVolumes.h:28:5: warning: Member variable 'TreeModelVolumes::distance_priority' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/infill/SierpinskiFill.h:266:9: warning: Member variable 'SierpinskiTriangle::area' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/infill/SierpinskiFill.h:266:9: warning: Member variable 'SierpinskiTriangle::realized_length' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/infill/SierpinskiFill.h:279:9: warning: Member variable 'SierpinskiTriangle::dir' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/infill/SierpinskiFill.h:279:9: warning: Member variable 'SierpinskiTriangle::straight_corner_is_left' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/infill/SierpinskiFill.h:279:9: warning: Member variable 'SierpinskiTriangle::area' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/infill/SierpinskiFill.h:279:9: warning: Member variable 'SierpinskiTriangle::realized_length' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:726:27: style: The member function 'cura::FffPolygonGenerator::processWalls' can be static. [functionStatic] CuraEngine-5.0.0/src/FffPolygonGenerator.h:131:10: note: The member function 'cura::FffPolygonGenerator::processWalls' can be static. CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:726:27: note: The member function 'cura::FffPolygonGenerator::processWalls' can be static. CuraEngine-5.0.0/src/TreeSupport.h:29:5: style: Class 'TreeSupport' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/infill/UniformDensityProvider.h:17:5: style: Class 'UniformDensityProvider' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/progress/ProgressEstimatorLinear.h:19:5: style: Class 'ProgressEstimatorLinear' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/progress/ProgressStageEstimator.h:40:5: style: Class 'ProgressStageEstimator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/progress/ProgressStageEstimator.h:23:9: style: Struct 'ProgressStage' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/infill/ImageBasedDensityProvider.h:22:14: style: The destructor '~ImageBasedDensityProvider' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/src/infill/DensityProvider.h:25:14: note: Virtual destructor in base class CuraEngine-5.0.0/src/infill/ImageBasedDensityProvider.h:22:14: note: Destructor in derived class CuraEngine-5.0.0/src/infill/ImageBasedDensityProvider.h:24:19: style: The function 'operator()' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/src/infill/DensityProvider.h:24:19: note: Virtual function in base class CuraEngine-5.0.0/src/infill/ImageBasedDensityProvider.h:24:19: note: Function in derived class CuraEngine-5.0.0/src/infill/UniformDensityProvider.h:22:14: style: The destructor '~UniformDensityProvider' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/src/infill/DensityProvider.h:25:14: note: Virtual destructor in base class CuraEngine-5.0.0/src/infill/UniformDensityProvider.h:22:14: note: Destructor in derived class CuraEngine-5.0.0/src/infill/UniformDensityProvider.h:26:19: style: The function 'operator()' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/src/infill/DensityProvider.h:24:19: note: Virtual function in base class CuraEngine-5.0.0/src/infill/UniformDensityProvider.h:26:19: note: Function in derived class CuraEngine-5.0.0/src/progress/ProgressEstimatorLinear.h:23:12: style: The function 'progress' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/src/progress/ProgressEstimator.h:23:20: note: Virtual function in base class CuraEngine-5.0.0/src/progress/ProgressEstimatorLinear.h:23:12: note: Function in derived class CuraEngine-5.0.0/src/progress/ProgressStageEstimator.h:42:12: style: The function 'progress' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/src/progress/ProgressEstimator.h:23:20: note: Virtual function in base class CuraEngine-5.0.0/src/progress/ProgressStageEstimator.h:42:12: note: Function in derived class CuraEngine-5.0.0/src/progress/ProgressStageEstimator.h:51:6: style: The destructor '~ProgressStageEstimator' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/src/progress/ProgressEstimator.h:24:14: note: Virtual destructor in base class CuraEngine-5.0.0/src/progress/ProgressStageEstimator.h:51:6: note: Destructor in derived class CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:250:17: style: The scope of the variable 'slicer' can be reduced. [variableScope] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:290:25: style: The scope of the variable 'layer' can be reduced. [variableScope] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:957:29: style: Checking if unsigned expression 'draft_shield_layers' is less than zero. [unsignedLessThanZero] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:56:79: style:inconclusive: Function 'generateAreas' argument 2 names different: declaration 'object' definition 'meshgroup'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffPolygonGenerator.h:38:62: note: Function 'generateAreas' argument 2 names different: declaration 'object' definition 'meshgroup'. CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:56:79: note: Function 'generateAreas' argument 2 names different: declaration 'object' definition 'meshgroup'. CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:87:49: style:inconclusive: Function 'sliceModel' argument 1 names different: declaration 'object' definition 'meshgroup'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffPolygonGenerator.h:63:32: note: Function 'sliceModel' argument 1 names different: declaration 'object' definition 'meshgroup'. CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:87:49: note: Function 'sliceModel' argument 1 names different: declaration 'object' definition 'meshgroup'. CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:334:82: style:inconclusive: Function 'slices2polygons' argument 2 names different: declaration 'timeKeeper' definition 'time_keeper'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/FffPolygonGenerator.h:71:65: note: Function 'slices2polygons' argument 2 names different: declaration 'timeKeeper' definition 'time_keeper'. CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:334:82: note: Function 'slices2polygons' argument 2 names different: declaration 'timeKeeper' definition 'time_keeper'. CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:933:24: style: Local variable 'angle' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/IntPoint.h:145:12: note: Shadowed declaration CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:933:24: note: Shadow variable CuraEngine-5.0.0/src/infill/ImageBasedDensityProvider.h:20:49: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:363:44: style: Variable 'order_and_mesh_idx' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:568:34: style: Variable 'part' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:600:42: style: Variable 'part' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:616:48: style: Variable 'new_part_here' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:642:28: style: Variable 'part' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:737:23: style: Variable 'support_layer' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:749:21: style: Variable 'layer' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:862:16: style: Variable 'scene' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:365:24: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:618:43: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:754:9: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:1146:36: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:560:93: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:850:148: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:937:101: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:941:100: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:948:97: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/GCodePathConfig.cpp:37:135: style:inconclusive: Function 'smoothSpeed' argument 3 names different: declaration 'max_speed_layer' definition 'max_speed_layer_nr'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/GCodePathConfig.h:62:105: note: Function 'smoothSpeed' argument 3 names different: declaration 'max_speed_layer' definition 'max_speed_layer_nr'. CuraEngine-5.0.0/src/GCodePathConfig.cpp:37:135: note: Function 'smoothSpeed' argument 3 names different: declaration 'max_speed_layer' definition 'max_speed_layer_nr'. CuraEngine-5.0.0/src/GCodePathConfig.cpp:25:177: performance: Function parameter 'speed_derivatives' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/GCodePathConfig.cpp:37:69: performance: Function parameter 'first_layer_config' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/InsetOrderOptimizer.cpp:148:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/SparsePointGridInclusive.h:23:5: warning:inconclusive: Member variable 'SparsePointGridInclusiveElem < unsigned long >::val' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/InsetOrderOptimizer.cpp:204:15: style:inconclusive: Technically the member function 'cura::getRegionOrder::Locator::operator()' can be const. [functionConst] CuraEngine-5.0.0/src/PathOrderOptimizer.h:551:13: style: The member function 'cura::PathOrderOptimizer < const ExtrusionLine * >::getDirectDistance' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:607:12: style: The member function 'cura::PathOrderOptimizer < const ExtrusionLine * >::getRandomPointInPolygon' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:612:10: style: The member function 'cura::PathOrderOptimizer < const ExtrusionLine * >::isLoopingPolyline' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/SparsePointGridInclusive.h:40:11: style:inconclusive: Technically the member function 'cura::SparsePointGridInclusiveImpl::Locatoror < unsigned long >::operator()' can be const. [functionConst] CuraEngine-5.0.0/src/PathOrderOptimizer.h:89:5: style: Class 'PathOrderOptimizer < const ExtrusionLine * >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/PathOrderPath.h:36:5: style: Struct 'PathOrderPath < const ExtrusionLine * >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/SparsePointGrid.h:37:5: style: Class 'SparsePointGrid < LineLoc , Locator >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/SparsePointGridInclusive.h:67:5: style: Class 'SparsePointGridInclusive < unsigned long >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/InsetOrderOptimizer.cpp:108:10: style: Local variable 'added_something' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/InsetOrderOptimizer.h:110:10: note: Shadowed declaration CuraEngine-5.0.0/src/InsetOrderOptimizer.cpp:108:10: note: Shadow variable CuraEngine-5.0.0/src/InsetOrderOptimizer.cpp:192:24: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/LayerPlan.cpp:313:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/PathOrderMonotonic.h:52:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start_point [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/PathOrderMonotonic.h:63:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable paths [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/PathOrderMonotonic.h:314:146: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coincident_point_distance [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/PathOrderMonotonic.h:482:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coincident_point_distance [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/SparsePointGrid.h:77:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SparseGrid < SparsePointGridInclusiveImpl :: SparsePointGridInclusiveElem < PathOrderPath < ConstPolygonPointer > * > > [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/SparsePointGrid.h:77:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SparseGrid < SparsePointGridInclusiveImpl :: SparsePointGridInclusiveElem < unsigned long > > [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/LayerPlan.cpp:28:15: warning: Member variable 'ExtruderPlan::fan_speed' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/utils/SparsePointGridInclusive.h:23:5: warning:inconclusive: Member variable 'SparsePointGridInclusiveElem < PathOrderPath < ConstPolygonPointer > * >::val' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/utils/SparsePointGridInclusive.h:23:5: warning:inconclusive: Member variable 'SparsePointGridInclusiveElem < Path * >::val' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/utils/LazyInitialization.h:68:9: performance: Variable 'constructor' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/src/LayerPlan.cpp:69:22: style:inconclusive: Technically the member function 'cura::ExtruderPlan::getExtrudeSpeedFactor' can be const. [functionConst] CuraEngine-5.0.0/src/LayerPlan.h:145:12: note: Technically the member function 'cura::ExtruderPlan::getExtrudeSpeedFactor' can be const. CuraEngine-5.0.0/src/LayerPlan.cpp:69:22: note: Technically the member function 'cura::ExtruderPlan::getExtrudeSpeedFactor' can be const. CuraEngine-5.0.0/src/LayerPlan.cpp:78:22: style:inconclusive: Technically the member function 'cura::ExtruderPlan::getFanSpeed' can be const. [functionConst] CuraEngine-5.0.0/src/LayerPlan.h:154:12: note: Technically the member function 'cura::ExtruderPlan::getFanSpeed' can be const. CuraEngine-5.0.0/src/LayerPlan.cpp:78:22: note: Technically the member function 'cura::ExtruderPlan::getFanSpeed' can be const. CuraEngine-5.0.0/src/PathOrderMonotonic.h:270:10: style: The member function 'cura::PathOrderMonotonic < ConstPolygonPointer >::optimizeClosestStartPoint' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderMonotonic.h:314:146: debug: CheckClass::isMemberVar found used member variable 'coincident_point_distance' with varid 0 [varid0] CuraEngine-5.0.0/src/PathOrderMonotonic.h:318:144: debug: CheckClass::isMemberVar found used member variable 'coincident_point_distance' with varid 0 [varid0] CuraEngine-5.0.0/src/PathOrderMonotonic.h:378:12: style: The member function 'cura::PathOrderMonotonic < ConstPolygonPointer >::getFarthestEndpoint' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:551:13: style: The member function 'cura::PathOrderOptimizer < ConstPolygonPointer >::getDirectDistance' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:607:12: style: The member function 'cura::PathOrderOptimizer < ConstPolygonPointer >::getRandomPointInPolygon' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:612:10: style: The member function 'cura::PathOrderOptimizer < ConstPolygonPointer >::isLoopingPolyline' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/SparsePointGridInclusive.h:40:11: style:inconclusive: Technically the member function 'cura::SparsePointGridInclusiveImpl::Locatoror < PathOrderPath < ConstPolygonPointer > * >::operator()' can be const. [functionConst] CuraEngine-5.0.0/src/utils/LazyInitialization.h:32:5: style: Class 'LazyInitialization < Polygons >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/LazyInitialization.h:59:5: style: Class 'LazyInitialization < Polygons >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/LazyInitialization.h:65:5: style: Class 'LazyInitialization < Polygons >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/LazyInitialization.h:59:5: style: Class 'LazyInitialization < std :: unique_ptr < SparseLineGrid < PathsPointIndex < Polygons > , PolygonsPointIndexSegmentLocator > > , Comb * , const ClipperLib :: cInt >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/LazyInitialization.h:65:5: style: Class 'LazyInitialization < std :: unique_ptr < SparseLineGrid < PathsPointIndex < Polygons > , PolygonsPointIndexSegmentLocator > > , Comb * , const ClipperLib :: cInt >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/PathOrderOptimizer.h:89:5: style: Class 'PathOrderOptimizer < ConstPolygonPointer >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/SparsePointGridInclusive.h:67:5: style: Class 'SparsePointGridInclusive < PathOrderPath < ConstPolygonPointer > * >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/SparsePointGrid.h:37:5: style: Class 'SparsePointGrid < SparsePointGridInclusiveImpl :: SparsePointGridInclusiveElem < PathOrderPath < ConstPolygonPointer > * > , SparsePointGridInclusiveImpl :: Locatoror < PathOrderPath < ConstPolygonPointer > * > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/SparsePointGrid.h:37:5: style: Class 'SparsePointGrid < SparsePointGridInclusiveImpl :: SparsePointGridInclusiveElem < unsigned long > , SparsePointGridInclusiveImpl :: Locatoror < unsigned long > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/SparseGrid.h:45:5: style: Class 'SparseGrid < SparsePointGridInclusiveImpl :: SparsePointGridInclusiveElem < PathOrderPath < ConstPolygonPointer > * > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/SparseGrid.h:45:5: style: Class 'SparseGrid < SparsePointGridInclusiveImpl :: SparsePointGridInclusiveElem < unsigned long > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/PathOrderMonotonic.h:55:10: style: The function 'optimize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/src/PathOrder.h:88:18: note: Virtual function in base class CuraEngine-5.0.0/src/PathOrderMonotonic.h:55:10: note: Function in derived class CuraEngine-5.0.0/src/LayerPlan.cpp:1499:25: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] CuraEngine-5.0.0/src/LayerPlan.cpp:1496:30: note: outer condition: path.retract!=was_retracted CuraEngine-5.0.0/src/LayerPlan.cpp:1499:25: note: identical inner condition: path.retract CuraEngine-5.0.0/src/LayerPlan.cpp:74:39: style:inconclusive: Function 'setFanSpeed' argument 1 names different: declaration 'fan_speed' definition '_fan_speed'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/LayerPlan.h:190:29: note: Function 'setFanSpeed' argument 1 names different: declaration 'fan_speed' definition '_fan_speed'. CuraEngine-5.0.0/src/LayerPlan.cpp:74:39: note: Function 'setFanSpeed' argument 1 names different: declaration 'fan_speed' definition '_fan_speed'. CuraEngine-5.0.0/src/LayerPlan.cpp:123:95: style:inconclusive: Function 'LayerPlan' argument 4 names different: declaration 'layer_height' definition 'layer_thickness'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/LayerPlan.h:316:88: note: Function 'LayerPlan' argument 4 names different: declaration 'layer_height' definition 'layer_thickness'. CuraEngine-5.0.0/src/LayerPlan.cpp:123:95: note: Function 'LayerPlan' argument 4 names different: declaration 'layer_height' definition 'layer_thickness'. CuraEngine-5.0.0/src/LayerPlan.cpp:240:34: style:inconclusive: Function 'setIsInside' argument 1 names different: declaration 'is_inside' definition '_is_inside'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/LayerPlan.h:375:27: note: Function 'setIsInside' argument 1 names different: declaration 'is_inside' definition '_is_inside'. CuraEngine-5.0.0/src/LayerPlan.cpp:240:34: note: Function 'setIsInside' argument 1 names different: declaration 'is_inside' definition '_is_inside'. CuraEngine-5.0.0/src/LayerPlan.cpp:521:57: style:inconclusive: Function 'addPolygon' argument 2 names different: declaration 'startIdx' definition 'start_idx'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/LayerPlan.h:485:50: note: Function 'addPolygon' argument 2 names different: declaration 'startIdx' definition 'start_idx'. CuraEngine-5.0.0/src/LayerPlan.cpp:521:57: note: Function 'addPolygon' argument 2 names different: declaration 'startIdx' definition 'start_idx'. CuraEngine-5.0.0/src/LayerPlan.cpp:521:79: style:inconclusive: Function 'addPolygon' argument 3 names different: declaration 'reverse' definition 'backwards'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/LayerPlan.h:485:71: note: Function 'addPolygon' argument 3 names different: declaration 'reverse' definition 'backwards'. CuraEngine-5.0.0/src/LayerPlan.cpp:521:79: note: Function 'addPolygon' argument 3 names different: declaration 'reverse' definition 'backwards'. CuraEngine-5.0.0/src/LayerPlan.cpp:1424:105: style:inconclusive: Function 'forceMinimalLayerTime' argument 4 names different: declaration 'extrusionTime' definition 'extrudeTime'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/LayerPlan.h:196:95: note: Function 'forceMinimalLayerTime' argument 4 names different: declaration 'extrusionTime' definition 'extrudeTime'. CuraEngine-5.0.0/src/LayerPlan.cpp:1424:105: note: Function 'forceMinimalLayerTime' argument 4 names different: declaration 'extrusionTime' definition 'extrudeTime'. CuraEngine-5.0.0/src/LayerPlan.cpp:219:52: style: Local variable 'part' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/LayerPlan.cpp:206:44: note: Shadowed declaration CuraEngine-5.0.0/src/LayerPlan.cpp:219:52: note: Shadow variable CuraEngine-5.0.0/src/LayerPlan.cpp:544:23: style: Local variable 'p1' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/LayerPlan.cpp:535:22: note: Shadowed declaration CuraEngine-5.0.0/src/LayerPlan.cpp:544:23: note: Shadow variable CuraEngine-5.0.0/src/LayerPlan.cpp:1529:27: style: Local variable 'estimates' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/LayerPlan.h:74:27: note: Shadowed declaration CuraEngine-5.0.0/src/LayerPlan.cpp:1529:27: note: Shadow variable CuraEngine-5.0.0/src/LayerPlan.cpp:1638:17: style: Local variable 'current_mesh' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/LayerPlan.h:243:17: note: Shadowed declaration CuraEngine-5.0.0/src/LayerPlan.cpp:1638:17: note: Shadow variable CuraEngine-5.0.0/src/LayerPlan.cpp:1862:32: style: Local variable 'path' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/LayerPlan.cpp:1719:24: note: Shadowed declaration CuraEngine-5.0.0/src/LayerPlan.cpp:1862:32: note: Shadow variable CuraEngine-5.0.0/src/LayerPlan.cpp:1893:37: style: Local variable 'retraction_config' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/LayerPlan.cpp:1643:33: note: Shadowed declaration CuraEngine-5.0.0/src/LayerPlan.cpp:1893:37: note: Shadow variable CuraEngine-5.0.0/src/LayerPlan.cpp:298:43: performance: Function parameter 'mesh_id' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/LayerPlan.cpp:44:48: style: Parameter 'path_idx' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/LayerPlan.cpp:401:36: style: Variable 'combPath' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/LayerPlan.cpp:430:29: style: Variable 'comb_point' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/LayerPlan.cpp:1433:25: style: Variable 'path' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/LayerPlan.cpp:1511:20: style: Variable 'p1' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/LayerPlan.cpp:1849:32: style: Variable '_path' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/LayerPlan.cpp:1926:29: style: Variable 'paths' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/LayerPlan.cpp:156:38: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/LayerPlan.cpp:404:25: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/LayerPlan.cpp:1930:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/LayerPlan.cpp:2025:13: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/LayerPlan.cpp:1040:18: style: Variable 'junction' is assigned a value that is never used. [unreadVariable] CuraEngine-5.0.0/src/PathOrderOptimizer.h:199:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vertices [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:132:23: style: The member function 'cura::LayerPlanBuffer::insertPreheatCommand' can be static. [functionStatic] CuraEngine-5.0.0/src/LayerPlanBuffer.h:111:10: note: The member function 'cura::LayerPlanBuffer::insertPreheatCommand' can be static. CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:132:23: note: The member function 'cura::LayerPlanBuffer::insertPreheatCommand' can be static. CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:210:23: style: The member function 'cura::LayerPlanBuffer::handleStandbyTemp' can be static. [functionStatic] CuraEngine-5.0.0/src/LayerPlanBuffer.h:200:10: note: The member function 'cura::LayerPlanBuffer::handleStandbyTemp' can be static. CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:210:23: note: The member function 'cura::LayerPlanBuffer::handleStandbyTemp' can be static. CuraEngine-5.0.0/src/utils/SparsePointGridInclusive.h:40:11: style:inconclusive: Technically the member function 'cura::SparsePointGridInclusiveImpl::Locatoror::operator()' can be const. [functionConst] CuraEngine-5.0.0/src/PathOrderOptimizer.h:551:13: style: The member function 'cura::PathOrderOptimizer::getDirectDistance' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:607:12: style: The member function 'cura::PathOrderOptimizer::getRandomPointInPolygon' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:612:10: style: The member function 'cura::PathOrderOptimizer::isLoopingPolyline' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/SparsePointGrid.h:37:5: style: Class 'SparsePointGrid' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/SparsePointGridInclusive.h:67:5: style: Class 'SparsePointGridInclusive' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/PathOrderOptimizer.h:89:5: style: Class 'PathOrderOptimizer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:132:95: style:inconclusive: Function 'insertPreheatCommand' argument 2 names different: declaration 'time_before_extruder_plan_end' definition 'time_after_extruder_plan_start'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/LayerPlanBuffer.h:111:82: note: Function 'insertPreheatCommand' argument 2 names different: declaration 'time_before_extruder_plan_end' definition 'time_after_extruder_plan_start'. CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:132:95: note: Function 'insertPreheatCommand' argument 2 names different: declaration 'time_before_extruder_plan_end' definition 'time_after_extruder_plan_start'. CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:531:20: style: Local variable 'extruder' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:492:16: note: Shadowed declaration CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:531:20: note: Shadow variable CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:137:20: style: Variable 'path' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:153:91: style: Parameter 'extruder_plans' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:155:19: style: Variable 'extruder_plan' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:210:69: style: Parameter 'extruder_plans' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:212:19: style: Variable 'extruder_plan' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:230:19: style: Variable 'extruder_plan' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:328:24: style: Variable 'path' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:362:24: style: Variable 'path' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:454:24: style: Variable 'path' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:486:12: style: Variable 'scene' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:481:28: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/MeshGroup.cpp:252:46: style: Assigned value 'loadMeshSTL_ascii(mesh,filename,matrix)' is always true [knownConditionTrueFalse] CuraEngine-5.0.0/src/MeshGroup.cpp:252:46: note: Calling function 'loadMeshSTL_ascii' returns 1 CuraEngine-5.0.0/src/MeshGroup.cpp:252:46: note: Assigned value 'loadMeshSTL_ascii(mesh,filename,matrix)' is always true CuraEngine-5.0.0/src/MeshGroup.cpp:253:13: style: Condition '!load_success' is always false [knownConditionTrueFalse] CuraEngine-5.0.0/src/MeshGroup.cpp:252:46: note: Calling function 'loadMeshSTL_ascii' returns 1 CuraEngine-5.0.0/src/MeshGroup.cpp:252:46: note: Assignment 'load_success=loadMeshSTL_ascii(mesh,filename,matrix)', assigned value is 1 CuraEngine-5.0.0/src/MeshGroup.cpp:253:13: note: Condition '!load_success' is always false CuraEngine-5.0.0/src/MeshGroup.cpp:24:35: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] CuraEngine-5.0.0/src/MeshGroup.cpp:127:20: note: Assuming allocation function fails CuraEngine-5.0.0/src/MeshGroup.cpp:127:20: note: Assignment 'f=fopen(filename,"rt")', assigned value is 0 CuraEngine-5.0.0/src/MeshGroup.cpp:132:42: note: Calling function 'fgets_', 3rd argument 'f' value is 0 CuraEngine-5.0.0/src/MeshGroup.cpp:24:35: note: Null pointer dereference CuraEngine-5.0.0/src/MeshGroup.cpp:162:11: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] CuraEngine-5.0.0/src/MeshGroup.cpp:160:20: note: Assuming allocation function fails CuraEngine-5.0.0/src/MeshGroup.cpp:160:20: note: Assignment 'f=fopen(filename,"rb")', assigned value is 0 CuraEngine-5.0.0/src/MeshGroup.cpp:162:11: note: Null pointer dereference CuraEngine-5.0.0/src/MeshGroup.cpp:163:33: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] CuraEngine-5.0.0/src/MeshGroup.cpp:160:20: note: Assuming allocation function fails CuraEngine-5.0.0/src/MeshGroup.cpp:160:20: note: Assignment 'f=fopen(filename,"rb")', assigned value is 0 CuraEngine-5.0.0/src/MeshGroup.cpp:163:33: note: Null pointer dereference CuraEngine-5.0.0/src/MeshGroup.cpp:164:12: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] CuraEngine-5.0.0/src/MeshGroup.cpp:160:20: note: Assuming allocation function fails CuraEngine-5.0.0/src/MeshGroup.cpp:160:20: note: Assignment 'f=fopen(filename,"rb")', assigned value is 0 CuraEngine-5.0.0/src/MeshGroup.cpp:164:12: note: Null pointer dereference CuraEngine-5.0.0/src/MeshGroup.cpp:169:30: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] CuraEngine-5.0.0/src/MeshGroup.cpp:160:20: note: Assuming allocation function fails CuraEngine-5.0.0/src/MeshGroup.cpp:160:20: note: Assignment 'f=fopen(filename,"rb")', assigned value is 0 CuraEngine-5.0.0/src/MeshGroup.cpp:169:30: note: Null pointer dereference CuraEngine-5.0.0/src/MeshGroup.cpp:199:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] CuraEngine-5.0.0/src/MeshGroup.cpp:199:20: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] CuraEngine-5.0.0/src/MeshGroup.cpp:199:16: style: Variable 'v' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/src/Mold.cpp:84:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jtRound [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/Mold.cpp:70:32: style: Local variable 'angle' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/IntPoint.h:145:12: note: Shadowed declaration CuraEngine-5.0.0/src/Mold.cpp:70:32: note: Shadow variable CuraEngine-5.0.0/src/Mold.cpp:17:42: style: Parameter 'slicer_list' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/Mold.cpp:41:21: style: Variable 'slicer' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/Mold.cpp:88:27: style: Variable 'mold_outline_above' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/PathOrderPath.h:36:5: style: Struct 'PathOrderPath < PolygonPointer >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/PrimeTower.cpp:74:112: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable settings [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/PrimeTower.cpp:228:18: style:inconclusive: Technically the member function 'cura::PrimeTower::subtractFromSupport' can be const. [functionConst] CuraEngine-5.0.0/src/PrimeTower.h:96:10: note: Technically the member function 'cura::PrimeTower::subtractFromSupport' can be const. CuraEngine-5.0.0/src/PrimeTower.cpp:228:18: note: Technically the member function 'cura::PrimeTower::subtractFromSupport' can be const. CuraEngine-5.0.0/src/PrimeTower.cpp:216:78: style:inconclusive: Function 'addToGcode_denseInfill' argument 2 names different: declaration 'extruder' definition 'extruder_nr'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/PrimeTower.h:125:70: note: Function 'addToGcode_denseInfill' argument 2 names different: declaration 'extruder' definition 'extruder_nr'. CuraEngine-5.0.0/src/PrimeTower.cpp:216:78: note: Function 'addToGcode_denseInfill' argument 2 names different: declaration 'extruder' definition 'extruder_nr'. CuraEngine-5.0.0/src/PrimeTower.cpp:240:70: style:inconclusive: Function 'gotoStartLocation' argument 2 names different: declaration 'extruder' definition 'extruder_nr'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/PrimeTower.h:132:62: note: Function 'gotoStartLocation' argument 2 names different: declaration 'extruder' definition 'extruder_nr'. CuraEngine-5.0.0/src/PrimeTower.cpp:240:70: note: Function 'gotoStartLocation' argument 2 names different: declaration 'extruder' definition 'extruder_nr'. CuraEngine-5.0.0/src/Weaver.h:19:1: style: The class 'Weaver' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] CuraEngine-5.0.0/src/weaveDataStorage.h:45:5: style: Struct 'WeaveConnectionPart' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/BoostInterface.hpp:52:0: debug: Function::addArguments found argument 'PolygonsSegmentIndex' with varid 0. [varid0] CuraEngine-5.0.0/src/BoostInterface.hpp:37:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HORIZONTAL [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:794:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pos [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1150:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pos [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1432:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable total_thickness [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1908:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable perimeter_index [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:350:25: warning: Member variable 'SkeletalTrapezoidation::p_generated_toolpaths' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:258:30: style: The member function 'cura::SkeletalTrapezoidation::computePointCellRange' can be static. [functionStatic] CuraEngine-5.0.0/src/SkeletalTrapezoidation.h:228:10: note: The member function 'cura::SkeletalTrapezoidation::computePointCellRange' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:258:30: note: The member function 'cura::SkeletalTrapezoidation::computePointCellRange' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:305:30: style: The member function 'cura::SkeletalTrapezoidation::computeSegmentCellRange' can be static. [functionStatic] CuraEngine-5.0.0/src/SkeletalTrapezoidation.h:254:10: note: The member function 'cura::SkeletalTrapezoidation::computeSegmentCellRange' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:305:30: note: The member function 'cura::SkeletalTrapezoidation::computeSegmentCellRange' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:572:30: style: The member function 'cura::SkeletalTrapezoidation::filterCentral' can be static. [functionStatic] CuraEngine-5.0.0/src/SkeletalTrapezoidation.h:281:10: note: The member function 'cura::SkeletalTrapezoidation::filterCentral' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:572:30: note: The member function 'cura::SkeletalTrapezoidation::filterCentral' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:659:30: style:inconclusive: Technically the member function 'cura::SkeletalTrapezoidation::filterNoncentralRegions' can be const. [functionConst] CuraEngine-5.0.0/src/SkeletalTrapezoidation.h:313:10: note: Technically the member function 'cura::SkeletalTrapezoidation::filterNoncentralRegions' can be const. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:659:30: note: Technically the member function 'cura::SkeletalTrapezoidation::filterNoncentralRegions' can be const. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:876:77: style:inconclusive: Technically the member function 'cura::SkeletalTrapezoidation::dissolveNearbyTransitions' can be const. [functionConst] CuraEngine-5.0.0/src/SkeletalTrapezoidation.h:347:33: note: Technically the member function 'cura::SkeletalTrapezoidation::dissolveNearbyTransitions' can be const. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:876:77: note: Technically the member function 'cura::SkeletalTrapezoidation::dissolveNearbyTransitions' can be const. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:951:30: style: The member function 'cura::SkeletalTrapezoidation::dissolveBeadCountRegion' can be static. [functionStatic] CuraEngine-5.0.0/src/SkeletalTrapezoidation.h:355:10: note: The member function 'cura::SkeletalTrapezoidation::dissolveBeadCountRegion' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:951:30: note: The member function 'cura::SkeletalTrapezoidation::dissolveBeadCountRegion' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:970:30: style: The member function 'cura::SkeletalTrapezoidation::filterEndOfCentralTransition' can be static. [functionStatic] CuraEngine-5.0.0/src/SkeletalTrapezoidation.h:370:10: note: The member function 'cura::SkeletalTrapezoidation::filterEndOfCentralTransition' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:970:30: note: The member function 'cura::SkeletalTrapezoidation::filterEndOfCentralTransition' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1163:30: style: The member function 'cura::SkeletalTrapezoidation::isGoingDown' can be static. [functionStatic] CuraEngine-5.0.0/src/SkeletalTrapezoidation.h:445:10: note: The member function 'cura::SkeletalTrapezoidation::isGoingDown' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1163:30: note: The member function 'cura::SkeletalTrapezoidation::isGoingDown' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1287:30: style: The member function 'cura::SkeletalTrapezoidation::isEndOfCentral' can be static. [functionStatic] CuraEngine-5.0.0/src/SkeletalTrapezoidation.h:454:10: note: The member function 'cura::SkeletalTrapezoidation::isEndOfCentral' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1287:30: note: The member function 'cura::SkeletalTrapezoidation::isEndOfCentral' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1466:57: style: The member function 'cura::SkeletalTrapezoidation::getQuadMaxRedgeTo' can be static. [functionStatic] CuraEngine-5.0.0/src/SkeletalTrapezoidation.h:480:13: note: The member function 'cura::SkeletalTrapezoidation::getQuadMaxRedgeTo' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1466:57: note: The member function 'cura::SkeletalTrapezoidation::getQuadMaxRedgeTo' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1634:57: style: The member function 'cura::SkeletalTrapezoidation::interpolate' can be static. [functionStatic] CuraEngine-5.0.0/src/SkeletalTrapezoidation.h:545:13: note: The member function 'cura::SkeletalTrapezoidation::interpolate' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1634:57: note: The member function 'cura::SkeletalTrapezoidation::interpolate' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1812:30: style:inconclusive: Technically the member function 'cura::SkeletalTrapezoidation::addToolpathSegment' can be const. [functionConst] CuraEngine-5.0.0/src/SkeletalTrapezoidation.h:585:10: note: Technically the member function 'cura::SkeletalTrapezoidation::addToolpathSegment' can be const. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1812:30: note: Technically the member function 'cura::SkeletalTrapezoidation::addToolpathSegment' can be const. CuraEngine-5.0.0/src/utils/HalfEdgeNode.h:31:10: style:inconclusive: Technically the member function 'cura::HalfEdgeNode < SkeletalTrapezoidationJoint , SkeletalTrapezoidationEdge , STHalfEdgeNode , STHalfEdge >::operator==' can be const. [functionConst] CuraEngine-5.0.0/src/utils/HalfEdge.h:35:10: style:inconclusive: Technically the member function 'cura::HalfEdge < SkeletalTrapezoidationJoint , SkeletalTrapezoidationEdge , STHalfEdgeNode , STHalfEdge >::operator==' can be const. [functionConst] CuraEngine-5.0.0/src/SkeletalTrapezoidationEdge.h:60:5: style: Class 'SkeletalTrapezoidationEdge' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/SkeletalTrapezoidationJoint.h:25:9: style: Struct 'BeadingPropagation' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.h:23:5: style: Class 'STHalfEdge' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/HalfEdge.h:32:5: style: Class 'HalfEdge < SkeletalTrapezoidationJoint , SkeletalTrapezoidationEdge , STHalfEdgeNode , STHalfEdge >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:565:63: warning: Logical conjunction always evaluates to false: edge.to->isLocalMaximum() && !edge.to->isLocalMaximum(). [incorrectLogicOperator] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1669:22: style: Condition 'end_R>=start_R' is always true [knownConditionTrueFalse] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1660:51: note: Assuming that condition 'edge->from->data.distance_to_boundary>edge->to->data.distance_to_boundary' is not redundant CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1666:23: note: end_R is assigned 'edge->from->data.distance_to_boundary' here. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1665:25: note: start_R is assigned 'edge->to->data.distance_to_boundary' here. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1669:22: note: Condition 'end_R>=start_R' is always true CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1481:10: warning: Possible null pointer dereference: ret [nullPointer] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1471:19: note: Assignment 'ret=nullptr', assigned value is 0 CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1472:42: note: Assuming condition is false CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1481:10: note: Null pointer dereference CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:154:78: style:inconclusive: Function 'discretize' argument 1 names different: declaration 'segment' definition 'vd_edge'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/SkeletalTrapezoidation.h:202:58: note: Function 'discretize' argument 1 names different: declaration 'segment' definition 'vd_edge'. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:154:78: note: Function 'discretize' argument 1 names different: declaration 'segment' definition 'vd_edge'. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1163:91: style:inconclusive: Function 'isGoingDown' argument 3 names different: declaration 'transition_half_length' definition 'max_dist'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/SkeletalTrapezoidation.h:445:71: note: Function 'isGoingDown' argument 3 names different: declaration 'transition_half_length' definition 'max_dist'. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1163:91: note: Function 'isGoingDown' argument 3 names different: declaration 'transition_half_length' definition 'max_dist'. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1287:59: style:inconclusive: Function 'isEndOfCentral' argument 1 names different: declaration 'edge' definition 'edge_to'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/SkeletalTrapezoidation.h:454:39: note: Function 'isEndOfCentral' argument 1 names different: declaration 'edge' definition 'edge_to'. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1287:59: note: Function 'isEndOfCentral' argument 1 names different: declaration 'edge' definition 'edge_to'. CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:43:118: style: Parameter 'start_source_point' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:43:145: style: Parameter 'end_source_point' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:612:18: style: Variable 'edge' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:710:18: style: Variable 'edge' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1185:15: style: Variable 'transition_mids' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1186:27: style: Variable 'mid' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1263:29: style: Variable 'transition_end' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1503:29: style: Variable 'lower_beading' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:52:17: style: Variable 'end_node' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:17:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable distance_to_boundary [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:41:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable distance_to_boundary [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:72:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable distance_to_boundary [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:126:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable incident_edge [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:143:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable incident_edge [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:157:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable distance_to_boundary [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:241:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:17:9: debug: CheckClass::isMemberVar found used member variable 'to' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:17:41: debug: CheckClass::isMemberVar found used member variable 'from' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:21:9: debug: CheckClass::isMemberVar found used member variable 'to' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:21:41: debug: CheckClass::isMemberVar found used member variable 'from' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:27:29: debug: CheckClass::isMemberVar found used member variable 'next' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:27:47: debug: CheckClass::isMemberVar found used member variable 'twin' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:41:9: debug: CheckClass::isMemberVar found used member variable 'to' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:41:41: debug: CheckClass::isMemberVar found used member variable 'from' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:45:9: debug: CheckClass::isMemberVar found used member variable 'to' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:45:41: debug: CheckClass::isMemberVar found used member variable 'from' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:52:53: debug: CheckClass::isMemberVar found used member variable 'twin' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:72:9: debug: CheckClass::isMemberVar found used member variable 'to' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:72:41: debug: CheckClass::isMemberVar found used member variable 'from' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:76:9: debug: CheckClass::isMemberVar found used member variable 'to' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:76:41: debug: CheckClass::isMemberVar found used member variable 'from' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:143:20: debug: CheckClass::isMemberVar found used member variable 'incident_edge' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:151:47: debug: CheckClass::isMemberVar found used member variable 'incident_edge' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:157:9: debug: CheckClass::isMemberVar found used member variable 'data' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:162:20: debug: CheckClass::isMemberVar found used member variable 'incident_edge' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:175:47: debug: CheckClass::isMemberVar found used member variable 'incident_edge' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:184:25: debug: CheckClass::isMemberVar found used member variable 'edges' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:321:5: debug: CheckClass::isMemberVar found used member variable 'nodes' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:427:5: debug: CheckClass::isMemberVar found used member variable 'nodes' with varid 0 [varid0] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:450:54: style: The member function 'cura::SkeletalTrapezoidationGraph::getSource' can be static. [functionStatic] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.h:101:29: note: The member function 'cura::SkeletalTrapezoidationGraph::getSource' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:450:54: note: The member function 'cura::SkeletalTrapezoidationGraph::getSource' can be static. CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:137:25: warning: Either the condition '!outgoing' is redundant or there is possible null pointer dereference: outgoing. [nullPointerRedundantCheck] CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:129:14: note: Assuming that condition '!outgoing' is not redundant CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:137:25: note: Null pointer dereference CuraEngine-5.0.0/src/SkeletalTrapezoidationGraph.cpp:109:13: style: Variable 'result' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/src/SkirtBrim.cpp:56:179: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jtRound [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/SkirtBrim.cpp:92:164: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable settings [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/SkirtBrim.cpp:126:124: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/SkirtBrim.cpp:271:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jtRound [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/SkirtBrim.cpp:246:50: style: Checking if unsigned expression 'line_count' is less than zero. [unsignedLessThanZero] CuraEngine-5.0.0/src/SkirtBrim.cpp:122:97: style:inconclusive: Function 'generate' argument 3 names different: declaration 'distance' definition 'start_distance'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/SkirtBrim.h:31:97: note: Function 'generate' argument 3 names different: declaration 'distance' definition 'start_distance'. CuraEngine-5.0.0/src/SkirtBrim.cpp:122:97: note: Function 'generate' argument 3 names different: declaration 'distance' definition 'start_distance'. CuraEngine-5.0.0/src/utils/FMatrix4x3.h:30:41: performance:inconclusive: Function parameter 'scale' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/FMatrix4x3.h:31:41: performance:inconclusive: Function parameter 'scale_x' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/FMatrix4x3.h:31:62: performance:inconclusive: Function parameter 'scale_y' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/FMatrix4x3.h:31:83: performance:inconclusive: Function parameter 'scale_z' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/MeshGroup.h:41:38: performance:inconclusive: Function parameter 'factor_xy' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/MeshGroup.h:41:61: performance:inconclusive: Function parameter 'factor_z' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/Slice.cpp:18:122: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/TopSurface.cpp:49:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/TopSurface.cpp:115:25: style: Local variable 'rotate' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/IntPoint.h:128:14: note: Shadowed declaration CuraEngine-5.0.0/src/TopSurface.cpp:115:25: note: Shadow variable CuraEngine-5.0.0/src/TreeModelVolumes.cpp:19:5: performance: Variable 'max_move_' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/src/TreeModelVolumes.cpp:18:24: style: Local variable 'angle' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/IntPoint.h:145:12: note: Shadowed declaration CuraEngine-5.0.0/src/TreeModelVolumes.cpp:18:24: note: Shadow variable CuraEngine-5.0.0/src/TreeSupport.cpp:562:165: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_PARENT [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/TreeSupport.cpp:598:19: style: The member function 'cura::TreeSupport::insertDroppedNode' can be static. [functionStatic] CuraEngine-5.0.0/src/TreeSupport.h:189:10: note: The member function 'cura::TreeSupport::insertDroppedNode' can be static. CuraEngine-5.0.0/src/TreeSupport.cpp:598:19: note: The member function 'cura::TreeSupport::insertDroppedNode' can be static. CuraEngine-5.0.0/src/utils/MinimumSpanningTree.h:45:5: style: Class 'MinimumSpanningTree' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/TreeSupport.cpp:598:76: style:inconclusive: Function 'insertDroppedNode' argument 2 names different: declaration 'node' definition 'p_node'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/TreeSupport.h:189:67: note: Function 'insertDroppedNode' argument 2 names different: declaration 'node' definition 'p_node'. CuraEngine-5.0.0/src/TreeSupport.cpp:598:76: note: Function 'insertDroppedNode' argument 2 names different: declaration 'node' definition 'p_node'. CuraEngine-5.0.0/src/TreeSupport.cpp:211:18: style: Local variable 'angle' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/IntPoint.h:145:12: note: Shadowed declaration CuraEngine-5.0.0/src/TreeSupport.cpp:211:18: note: Shadow variable CuraEngine-5.0.0/src/TreeSupport.cpp:223:15: style: Variable 'layer_contact_nodes' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/TreeSupport.cpp:287:38: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/TreeSupport.cpp:409:39: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/TreeSupport.cpp:461:51: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/utils/SymmetricPair.h:66:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/SparsePointGrid.h:37:5: style: Class 'SparsePointGrid < PathsPointIndex < VariableWidthLines > , PathsPointIndexLocator < VariableWidthLines > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/SparseGrid.h:45:5: style: Class 'SparseGrid < PathsPointIndex < VariableWidthLines > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/PolylineStitcher.h:192:49: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] CuraEngine-5.0.0/src/WallToolPaths.cpp:170:27: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/WallsComputation.cpp:123:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jtSquare [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/Weaver.cpp:248:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jtRound [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/Weaver.cpp:306:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jtRound [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/Weaver.cpp:450:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/Weaver.cpp:21:31: style:inconclusive: Function 'weave' argument 1 names different: declaration 'objects' definition 'meshgroup'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/Weaver.h:34:27: note: Function 'weave' argument 1 names different: declaration 'objects' definition 'meshgroup'. CuraEngine-5.0.0/src/Weaver.cpp:21:31: note: Function 'weave' argument 1 names different: declaration 'objects' definition 'meshgroup'. CuraEngine-5.0.0/src/Weaver.cpp:205:106: style:inconclusive: Function 'fillRoofs' argument 5 names different: declaration 'roofs' definition 'horizontals'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/Weaver.h:90:102: note: Function 'fillRoofs' argument 5 names different: declaration 'roofs' definition 'horizontals'. CuraEngine-5.0.0/src/Weaver.cpp:205:106: note: Function 'fillRoofs' argument 5 names different: declaration 'roofs' definition 'horizontals'. CuraEngine-5.0.0/src/Weaver.cpp:270:107: style:inconclusive: Function 'fillFloors' argument 5 names different: declaration 'roofs' definition 'horizontals'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/Weaver.h:105:103: note: Function 'fillFloors' argument 5 names different: declaration 'roofs' definition 'horizontals'. CuraEngine-5.0.0/src/Weaver.cpp:270:107: note: Function 'fillFloors' argument 5 names different: declaration 'roofs' definition 'horizontals'. CuraEngine-5.0.0/src/Weaver.cpp:346:45: style: Local variable 'segment' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/Weaver.cpp:337:37: note: Shadowed declaration CuraEngine-5.0.0/src/Weaver.cpp:346:45: note: Shadow variable CuraEngine-5.0.0/src/Weaver.cpp:348:28: style: Local variable 'from' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/Weaver.cpp:339:20: note: Shadowed declaration CuraEngine-5.0.0/src/Weaver.cpp:348:28: note: Shadow variable CuraEngine-5.0.0/src/Weaver.cpp:349:26: style: Local variable 'skipped' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/Weaver.cpp:340:18: note: Shadowed declaration CuraEngine-5.0.0/src/Weaver.cpp:349:26: note: Shadow variable CuraEngine-5.0.0/src/Weaver.cpp:183:15: style: Variable 'polys_above' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/Weaver.cpp:205:34: style: Parameter 'supporting' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/Weaver.cpp:205:56: style: Parameter 'to_be_supported' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/Weaver.cpp:270:35: style: Parameter 'supporting' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/Weaver.cpp:270:57: style: Parameter 'to_be_supported' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/Weaver.cpp:337:37: style: Variable 'segment' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/Weaver.cpp:346:45: style: Variable 'segment' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/Weaver.cpp:390:12: style: Variable 'start_close_to' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/Weaver.cpp:401:42: style: Parameter 'parts1' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/Weaver.cpp:445:41: style: Parameter 'supporting' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/Weaver.cpp:445:71: style: Parameter 'supported' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/Weaver.cpp:476:20: style: Variable 'lower' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/Weaver.cpp:259:16: style: Variable 'inset1' is assigned a value that is never used. [unreadVariable] CuraEngine-5.0.0/src/Weaver.cpp:488:24: style: Variable 'last_upper' is assigned a value that is never used. [unreadVariable] CuraEngine-5.0.0/src/Weaver.cpp:46:84: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/Weaver.cpp:89:98: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:27:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:570:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:639:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jtRound [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/PathOrderOptimizer.h:551:13: style: The member function 'cura::PathOrderOptimizer < PolygonPointer >::getDirectDistance' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:607:12: style: The member function 'cura::PathOrderOptimizer < PolygonPointer >::getRandomPointInPolygon' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:612:10: style: The member function 'cura::PathOrderOptimizer < PolygonPointer >::isLoopingPolyline' can be static. [functionStatic] CuraEngine-5.0.0/src/PathOrderOptimizer.h:89:5: style: Class 'PathOrderOptimizer < PolygonPointer >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:267:9: style: Condition 'lower_retract_start' is always true [knownConditionTrueFalse] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:264:32: note: Assignment 'lower_retract_start=true', assigned value is 1 CuraEngine-5.0.0/src/Wireframe2gcode.cpp:267:9: note: Condition 'lower_retract_start' is always true CuraEngine-5.0.0/src/Wireframe2gcode.cpp:276:13: style: Condition 'after_retract_hop' is always false [knownConditionTrueFalse] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:262:30: note: Assignment 'after_retract_hop=false', assigned value is 0 CuraEngine-5.0.0/src/Wireframe2gcode.cpp:276:13: note: Condition 'after_retract_hop' is always false CuraEngine-5.0.0/src/Wireframe2gcode.cpp:419:86: style:inconclusive: Function 'writeFill' argument 2 names different: declaration 'outlines' definition 'roof_outlines'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/Wireframe2gcode.h:88:73: note: Function 'writeFill' argument 2 names different: declaration 'outlines' definition 'roof_outlines'. CuraEngine-5.0.0/src/Wireframe2gcode.cpp:419:86: note: Function 'writeFill' argument 2 names different: declaration 'outlines' definition 'roof_outlines'. CuraEngine-5.0.0/src/Wireframe2gcode.cpp:198:16: style: Local variable 'from' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:189:12: note: Shadowed declaration CuraEngine-5.0.0/src/Wireframe2gcode.cpp:198:16: note: Shadow variable CuraEngine-5.0.0/src/Wireframe2gcode.cpp:69:45: style: Variable 'segment' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:79:64: style: Parameter 'segment' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:128:46: style: Variable 'segment' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:153:66: style: Parameter 'segment' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:221:29: style: Variable 'segment' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:226:33: style: Variable 'next_segment' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:296:29: style: Variable 'segment' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:305:33: style: Variable 'next_segment' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:327:29: style: Variable 'segment' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:363:29: style: Variable 'segment' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:419:86: style: Parameter 'roof_outlines' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:470:21: style: Variable 'p' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:365:29: style: Variable 'next_segment' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/src/Wireframe2gcode.cpp:89:96: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/communication/CommandLine.cpp:221:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/communication/CommandLine.cpp:361:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] CuraEngine-5.0.0/src/communication/CommandLine.cpp:365:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] CuraEngine-5.0.0/src/communication/CommandLine.cpp:347:46: style: The member function 'cura::CommandLine::defaultSearchDirectories' can be static. [functionStatic] CuraEngine-5.0.0/src/communication/CommandLine.h:162:37: note: The member function 'cura::CommandLine::defaultSearchDirectories' can be static. CuraEngine-5.0.0/src/communication/CommandLine.cpp:347:46: note: The member function 'cura::CommandLine::defaultSearchDirectories' can be static. CuraEngine-5.0.0/src/communication/CommandLine.cpp:433:19: style: The member function 'cura::CommandLine::loadJSONSettings' can be static. [functionStatic] CuraEngine-5.0.0/src/communication/CommandLine.h:189:10: note: The member function 'cura::CommandLine::loadJSONSettings' can be static. CuraEngine-5.0.0/src/communication/CommandLine.cpp:433:19: note: The member function 'cura::CommandLine::loadJSONSettings' can be static. CuraEngine-5.0.0/src/communication/CommandLine.cpp:487:32: style: The member function 'cura::CommandLine::findDefinitionFile' can be static. [functionStatic] CuraEngine-5.0.0/src/communication/CommandLine.h:197:23: note: The member function 'cura::CommandLine::findDefinitionFile' can be static. CuraEngine-5.0.0/src/communication/CommandLine.cpp:487:32: note: The member function 'cura::CommandLine::findDefinitionFile' can be static. CuraEngine-5.0.0/src/communication/CommandLine.cpp:142:17: style: Variable 'argument' is assigned an expression that holds the same value. [redundantAssignment] CuraEngine-5.0.0/src/communication/CommandLine.cpp:111:30: note: argument is assigned 'arguments[argument_index]' here. CuraEngine-5.0.0/src/communication/CommandLine.cpp:142:17: note: Variable 'argument' is assigned an expression that holds the same value. CuraEngine-5.0.0/src/communication/CommandLine.cpp:279:25: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] CuraEngine-5.0.0/src/communication/CommandLine.cpp:351:11: style: Variable 'search_path_env' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/src/communication/CommandLine.cpp:357:14: style: Variable 'delims' can be declared as const array [constVariable] CuraEngine-5.0.0/src/communication/CommandLine.cpp:93:13: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] CuraEngine-5.0.0/src/communication/CommandLine.cpp:116:21: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] CuraEngine-5.0.0/src/communication/CommandLine.cpp:95:13: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/communication/CommandLine.cpp:68:9: style: Variable 'sum' is assigned a value that is never used. [unreadVariable] CuraEngine-5.0.0/src/communication/CommandLine.cpp:71:13: style: Variable 'sum' is assigned a value that is never used. [unreadVariable] CuraEngine-5.0.0/src/gcodeExport.cpp:42:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/gcodeExport.cpp:288:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/gcodeExport.cpp:36:14: warning: Member variable 'GCodeExport::current_e_offset' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/gcodeExport.cpp:36:14: warning: Member variable 'GCodeExport::max_extrusion_offset' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/gcodeExport.cpp:36:14: warning: Member variable 'GCodeExport::extrusion_offset_factor' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/gcodeExport.cpp:36:14: warning: Member variable 'GCodeExport::always_write_active_tool' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/gcodeExport.cpp:48:5: performance: Variable 'total_print_times' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/src/gcodeExport.cpp:50:5: performance: Variable 'currentSpeed' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/src/gcodeExport.cpp:51:5: performance: Variable 'current_print_acceleration' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/src/gcodeExport.cpp:52:5: performance: Variable 'current_travel_acceleration' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/src/gcodeExport.cpp:53:5: performance: Variable 'current_jerk' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/src/gcodeExport.cpp:55:5: performance: Variable 'is_z_hopped' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/src/gcodeExport.cpp:405:21: style:inconclusive: Technically the member function 'cura::GCodeExport::eToMm' can be const. [functionConst] CuraEngine-5.0.0/src/gcodeExport.h:170:12: note: Technically the member function 'cura::GCodeExport::eToMm' can be const. CuraEngine-5.0.0/src/gcodeExport.cpp:405:21: note: Technically the member function 'cura::GCodeExport::eToMm' can be const. CuraEngine-5.0.0/src/gcodeExport.cpp:417:21: style:inconclusive: Technically the member function 'cura::GCodeExport::mm3ToE' can be const. [functionConst] CuraEngine-5.0.0/src/gcodeExport.h:181:12: note: Technically the member function 'cura::GCodeExport::mm3ToE' can be const. CuraEngine-5.0.0/src/gcodeExport.cpp:417:21: note: Technically the member function 'cura::GCodeExport::mm3ToE' can be const. CuraEngine-5.0.0/src/gcodeExport.cpp:429:21: style:inconclusive: Technically the member function 'cura::GCodeExport::mmToE' can be const. [functionConst] CuraEngine-5.0.0/src/gcodeExport.h:192:12: note: Technically the member function 'cura::GCodeExport::mmToE' can be const. CuraEngine-5.0.0/src/gcodeExport.cpp:429:21: note: Technically the member function 'cura::GCodeExport::mmToE' can be const. CuraEngine-5.0.0/src/gcodeExport.cpp:441:21: style:inconclusive: Technically the member function 'cura::GCodeExport::eToMm3' can be const. [functionConst] CuraEngine-5.0.0/src/gcodeExport.h:204:12: note: Technically the member function 'cura::GCodeExport::eToMm3' can be const. CuraEngine-5.0.0/src/gcodeExport.cpp:441:21: note: Technically the member function 'cura::GCodeExport::eToMm3' can be const. CuraEngine-5.0.0/src/gcodeExport.cpp:141:32: style: The member function 'cura::GCodeExport::flavorToString' can be static. [functionStatic] CuraEngine-5.0.0/src/gcodeExport.h:217:23: note: The member function 'cura::GCodeExport::flavorToString' can be static. CuraEngine-5.0.0/src/gcodeExport.cpp:141:32: note: The member function 'cura::GCodeExport::flavorToString' can be static. CuraEngine-5.0.0/src/gcodeExport.cpp:453:21: style:inconclusive: Technically the member function 'cura::GCodeExport::getTotalFilamentUsed' can be const. [functionConst] CuraEngine-5.0.0/src/gcodeExport.h:272:12: note: Technically the member function 'cura::GCodeExport::getTotalFilamentUsed' can be const. CuraEngine-5.0.0/src/gcodeExport.cpp:453:21: note: Technically the member function 'cura::GCodeExport::getTotalFilamentUsed' can be const. CuraEngine-5.0.0/src/gcodeExport.cpp:460:36: style:inconclusive: Technically the member function 'cura::GCodeExport::getTotalPrintTimePerFeature' can be const. [functionConst] CuraEngine-5.0.0/src/gcodeExport.h:279:27: note: Technically the member function 'cura::GCodeExport::getTotalPrintTimePerFeature' can be const. CuraEngine-5.0.0/src/gcodeExport.cpp:460:36: note: Technically the member function 'cura::GCodeExport::getTotalPrintTimePerFeature' can be const. CuraEngine-5.0.0/src/gcodeExport.h:279:27: performance: Function 'getTotalPrintTimePerFeature()' should return member 'total_print_times' by const reference. [returnByReference] CuraEngine-5.0.0/src/gcodeExport.cpp:914:50: style: Checking if unsigned expression 'config.retraction_count_max' is less than zero. [unsignedLessThanZero] CuraEngine-5.0.0/src/gcodeExport.cpp:281:43: style:inconclusive: Function 'setLayerNr' argument 1 names different: declaration 'layer_nr' definition 'layer_nr_'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/gcodeExport.h:230:34: note: Function 'setLayerNr' argument 1 names different: declaration 'layer_nr' definition 'layer_nr_'. CuraEngine-5.0.0/src/gcodeExport.cpp:281:43: note: Function 'setLayerNr' argument 1 names different: declaration 'layer_nr' definition 'layer_nr_'. CuraEngine-5.0.0/src/gcodeExport.cpp:502:51: style:inconclusive: Function 'writeComment' argument 1 names different: declaration 'comment' definition 'unsanitized_comment'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/gcodeExport.h:289:42: note: Function 'writeComment' argument 1 names different: declaration 'comment' definition 'unsanitized_comment'. CuraEngine-5.0.0/src/gcodeExport.cpp:502:51: note: Function 'writeComment' argument 1 names different: declaration 'comment' definition 'unsanitized_comment'. CuraEngine-5.0.0/src/timeEstimate.h:111:63: performance:inconclusive: Function parameter 'entry_factor' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/timeEstimate.h:111:89: performance:inconclusive: Function parameter 'exit_factor' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/gcodeExport.cpp:470:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/gcodeExport.cpp:604:39: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/utils/PolygonConnector.h:449:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Polygonal [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/PolygonConnector.h:517:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/PolygonConnector.h:555:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/PolygonConnector.h:608:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/UnionFind.h:32:9: performance: Variable 'element_to_position' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/src/infill.cpp:265:14: style:inconclusive: Technically the member function 'cura::Infill::multiplyInfill' can be const. [functionConst] CuraEngine-5.0.0/src/infill.h:147:10: note: Technically the member function 'cura::Infill::multiplyInfill' can be const. CuraEngine-5.0.0/src/infill.cpp:265:14: note: Technically the member function 'cura::Infill::multiplyInfill' can be const. CuraEngine-5.0.0/src/infill.cpp:334:14: style:inconclusive: Technically the member function 'cura::Infill::generateGyroidInfill' can be const. [functionConst] CuraEngine-5.0.0/src/infill.h:247:10: note: Technically the member function 'cura::Infill::generateGyroidInfill' can be const. CuraEngine-5.0.0/src/infill.cpp:334:14: note: Technically the member function 'cura::Infill::generateGyroidInfill' can be const. CuraEngine-5.0.0/src/infill.cpp:341:14: style:inconclusive: Technically the member function 'cura::Infill::generateLightningInfill' can be const. [functionConst] CuraEngine-5.0.0/src/infill.h:254:10: note: Technically the member function 'cura::Infill::generateLightningInfill' can be const. CuraEngine-5.0.0/src/infill.cpp:341:14: note: Technically the member function 'cura::Infill::generateLightningInfill' can be const. CuraEngine-5.0.0/src/infill.cpp:428:14: style:inconclusive: Technically the member function 'cura::Infill::generateCubicSubDivInfill' can be const. [functionConst] CuraEngine-5.0.0/src/infill.h:315:10: note: Technically the member function 'cura::Infill::generateCubicSubDivInfill' can be const. CuraEngine-5.0.0/src/infill.cpp:428:14: note: Technically the member function 'cura::Infill::generateCubicSubDivInfill' can be const. CuraEngine-5.0.0/src/infill.cpp:488:17: style:inconclusive: Technically the member function 'cura::Infill::getShiftOffsetFromInfillOriginAndRotation' can be const. [functionConst] CuraEngine-5.0.0/src/infill.h:429:13: note: Technically the member function 'cura::Infill::getShiftOffsetFromInfillOriginAndRotation' can be const. CuraEngine-5.0.0/src/infill.cpp:488:17: note: Technically the member function 'cura::Infill::getShiftOffsetFromInfillOriginAndRotation' can be const. CuraEngine-5.0.0/src/utils/PolygonConnector.h:359:15: style: The member function 'cura::PolygonConnector::createEmpty' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/PolygonConnector.h:73:5: style: Class 'PolygonConnector' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/UnionFind.h:30:5: style: Class 'UnionFind < InfillLineSegment * , std :: hash < InfillLineSegment * > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/infill/NoZigZagConnectorProcessor.h:27:10: style: The function 'registerVertex' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/src/infill/ZigzagConnectorProcessor.h:132:18: note: Virtual function in base class CuraEngine-5.0.0/src/infill/NoZigZagConnectorProcessor.h:27:10: note: Function in derived class CuraEngine-5.0.0/src/infill/NoZigZagConnectorProcessor.h:28:10: style: The function 'registerScanlineSegmentIntersection' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/src/infill/ZigzagConnectorProcessor.h:140:18: note: Virtual function in base class CuraEngine-5.0.0/src/infill/NoZigZagConnectorProcessor.h:28:10: note: Function in derived class CuraEngine-5.0.0/src/infill/NoZigZagConnectorProcessor.h:29:10: style: The function 'registerPolyFinished' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] CuraEngine-5.0.0/src/infill/ZigzagConnectorProcessor.h:146:18: note: Virtual function in base class CuraEngine-5.0.0/src/infill/NoZigZagConnectorProcessor.h:29:10: note: Function in derived class CuraEngine-5.0.0/src/utils/PolygonConnector.h:685:64: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] CuraEngine-5.0.0/src/infill.cpp:68:217: style:inconclusive: Function 'generate' argument 6 names different: declaration 'lightning_layer' definition 'lightning_trees'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/infill.h:115:224: note: Function 'generate' argument 6 names different: declaration 'lightning_layer' definition 'lightning_trees'. CuraEngine-5.0.0/src/infill.cpp:68:217: note: Function 'generate' argument 6 names different: declaration 'lightning_layer' definition 'lightning_trees'. CuraEngine-5.0.0/src/infill.cpp:182:175: style:inconclusive: Function '_generate' argument 5 names different: declaration 'cross_fill_pattern' definition 'cross_fill_provider'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/infill.h:134:171: note: Function '_generate' argument 5 names different: declaration 'cross_fill_pattern' definition 'cross_fill_provider'. CuraEngine-5.0.0/src/infill.cpp:182:175: note: Function '_generate' argument 5 names different: declaration 'cross_fill_pattern' definition 'cross_fill_provider'. CuraEngine-5.0.0/src/infill.cpp:182:219: style:inconclusive: Function '_generate' argument 6 names different: declaration 'lightning_layer' definition 'lightning_trees'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/infill.h:134:224: note: Function '_generate' argument 6 names different: declaration 'lightning_layer' definition 'lightning_trees'. CuraEngine-5.0.0/src/infill.cpp:182:219: note: Function '_generate' argument 6 names different: declaration 'lightning_layer' definition 'lightning_trees'. CuraEngine-5.0.0/src/infill.cpp:334:45: style:inconclusive: Function 'generateGyroidInfill' argument 1 names different: declaration 'result_polylines' definition 'result_lines'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/infill.h:247:41: note: Function 'generateGyroidInfill' argument 1 names different: declaration 'result_polylines' definition 'result_lines'. CuraEngine-5.0.0/src/infill.cpp:334:45: note: Function 'generateGyroidInfill' argument 1 names different: declaration 'result_polylines' definition 'result_lines'. CuraEngine-5.0.0/src/infill.cpp:341:60: style:inconclusive: Function 'generateLightningInfill' argument 1 names different: declaration 'lightning_layer' definition 'trees'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/infill.h:254:56: note: Function 'generateLightningInfill' argument 1 names different: declaration 'lightning_layer' definition 'trees'. CuraEngine-5.0.0/src/infill.cpp:341:60: note: Function 'generateLightningInfill' argument 1 names different: declaration 'lightning_layer' definition 'trees'. CuraEngine-5.0.0/src/infill.cpp:463:209: style:inconclusive: Function 'addLineInfill' argument 7 names different: declaration 'total_shift' definition 'shift'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/infill.h:341:33: note: Function 'addLineInfill' argument 7 names different: declaration 'total_shift' definition 'shift'. CuraEngine-5.0.0/src/infill.cpp:463:209: note: Function 'addLineInfill' argument 7 names different: declaration 'total_shift' definition 'shift'. CuraEngine-5.0.0/src/infill.cpp:498:109: style:inconclusive: Function 'generateLineInfill' argument 4 names different: declaration 'extra_shift' definition 'shift'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/infill.h:354:105: note: Function 'generateLineInfill' argument 4 names different: declaration 'extra_shift' definition 'shift'. CuraEngine-5.0.0/src/infill.cpp:498:109: note: Function 'generateLineInfill' argument 4 names different: declaration 'extra_shift' definition 'shift'. CuraEngine-5.0.0/src/infill.cpp:385:19: style: Local variable 'shift' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/infill.h:38:13: note: Shadowed declaration CuraEngine-5.0.0/src/infill.cpp:385:19: note: Shadow variable CuraEngine-5.0.0/src/infill.cpp:406:13: style: Local variable 'shift' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/infill.h:38:13: note: Shadowed declaration CuraEngine-5.0.0/src/infill.cpp:406:13: note: Shadow variable CuraEngine-5.0.0/src/infill.cpp:503:10: style: Local variable 'connected_zigzags' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/infill.h:44:10: note: Shadowed declaration CuraEngine-5.0.0/src/infill.cpp:503:10: note: Shadow variable CuraEngine-5.0.0/src/infill.cpp:510:19: style: Local variable 'shift' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/infill.h:38:13: note: Shadowed declaration CuraEngine-5.0.0/src/infill.cpp:510:19: note: Shadow variable CuraEngine-5.0.0/src/infill.cpp:550:13: style: Local variable 'shift' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/infill.h:38:13: note: Shadowed declaration CuraEngine-5.0.0/src/infill.cpp:550:13: note: Shadow variable CuraEngine-5.0.0/src/infill/ImageBasedDensityProvider.cpp:19:93: style:inconclusive: Function 'ImageBasedDensityProvider' argument 2 names different: declaration 'aabb' definition 'model_aabb'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/infill/ImageBasedDensityProvider.h:20:70: note: Function 'ImageBasedDensityProvider' argument 2 names different: declaration 'aabb' definition 'model_aabb'. CuraEngine-5.0.0/src/infill/ImageBasedDensityProvider.cpp:19:93: note: Function 'ImageBasedDensityProvider' argument 2 names different: declaration 'aabb' definition 'model_aabb'. CuraEngine-5.0.0/src/infill/ImageBasedDensityProvider.cpp:64:59: style:inconclusive: Function 'operator()' argument 1 names different: declaration 'aabb' definition 'query_cube'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/infill/ImageBasedDensityProvider.h:24:44: note: Function 'operator()' argument 1 names different: declaration 'aabb' definition 'query_cube'. CuraEngine-5.0.0/src/infill/ImageBasedDensityProvider.cpp:64:59: note: Function 'operator()' argument 1 names different: declaration 'aabb' definition 'query_cube'. CuraEngine-5.0.0/src/infill/ImageBasedDensityProvider.cpp:19:72: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/infill/LightningDistanceField.cpp:44:20: style: Variable 'cell' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/infill/LightningDistanceField.cpp:68:28: style: Variable 'cell' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/infill/LightningGenerator.cpp:88:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parts [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/LazyInitialization.h:32:5: style: Class 'LazyInitialization' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/infill/LightningTreeNode.h:189:5: style: Class 'LightningTreeNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/infill/LightningTreeNode.h:47:13: style: Struct 'EnableMakeShared' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/infill/LightningGenerator.cpp:102:19: style: Variable 'current_outlines' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/infill/LightningTreeNode.h:49:69: warning:inconclusive: Access of forwarded variable 'arg'. [accessForwarded] CuraEngine-5.0.0/src/infill/LightningTreeNode.h:47:63: note: Calling std::forward(arg) CuraEngine-5.0.0/src/infill/LightningTreeNode.h:49:69: note: Access of forwarded variable 'arg'. CuraEngine-5.0.0/src/infill/LightningLayer.cpp:81:34: warning:inconclusive: Possible null pointer dereference: new_child [nullPointer] CuraEngine-5.0.0/src/infill/LightningLayer.cpp:79:31: note: Assignment 'std::shared_ptrnew_child', assigned value is 0 CuraEngine-5.0.0/src/infill/LightningLayer.cpp:81:34: note: Null pointer dereference CuraEngine-5.0.0/src/infill/LightningTreeNode.cpp:322:49: style:inconclusive: Function 'prune' argument 1 names different: declaration 'distance' definition 'pruning_distance'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/infill/LightningTreeNode.h:228:34: note: Function 'prune' argument 1 names different: declaration 'distance' definition 'pruning_distance'. CuraEngine-5.0.0/src/infill/LightningTreeNode.cpp:322:49: note: Function 'prune' argument 1 names different: declaration 'distance' definition 'pruning_distance'. CuraEngine-5.0.0/src/infill/LightningTreeNode.cpp:401:57: style:inconclusive: Function 'removeJunctionOverlap' argument 1 names different: declaration 'polylines' definition 'result_lines'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/infill/LightningTreeNode.h:261:42: note: Function 'removeJunctionOverlap' argument 1 names different: declaration 'polylines' definition 'result_lines'. CuraEngine-5.0.0/src/infill/LightningTreeNode.cpp:401:57: note: Function 'removeJunctionOverlap' argument 1 names different: declaration 'polylines' definition 'result_lines'. CuraEngine-5.0.0/src/infill/LightningTreeNode.cpp:52:74: style: Parameter 'new_child' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/infill/LightningTreeNode.cpp:283:21: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:310:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_left [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:80:22: style:inconclusive: Technically the member function 'cura::SierpinskiFill::createTree' can be const. [functionConst] CuraEngine-5.0.0/src/infill/SierpinskiFill.h:346:10: note: Technically the member function 'cura::SierpinskiFill::createTree' can be const. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:80:22: note: Technically the member function 'cura::SierpinskiFill::createTree' can be const. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:113:22: style: The member function 'cura::SierpinskiFill::createTreeStatistics' can be static. [functionStatic] CuraEngine-5.0.0/src/infill/SierpinskiFill.h:349:10: note: The member function 'cura::SierpinskiFill::createTreeStatistics' can be static. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:113:22: note: The member function 'cura::SierpinskiFill::createTreeStatistics' can be static. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:345:22: style:inconclusive: Technically the member function 'cura::SierpinskiFill::redistributeLeftoverErrors' can be const. [functionConst] CuraEngine-5.0.0/src/infill/SierpinskiFill.h:404:10: note: Technically the member function 'cura::SierpinskiFill::redistributeLeftoverErrors' can be const. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:345:22: note: Technically the member function 'cura::SierpinskiFill::redistributeLeftoverErrors' can be const. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:413:22: style: The member function 'cura::SierpinskiFill::balanceErrors' can be static. [functionStatic] CuraEngine-5.0.0/src/infill/SierpinskiFill.h:418:10: note: The member function 'cura::SierpinskiFill::balanceErrors' can be static. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:413:22: note: The member function 'cura::SierpinskiFill::balanceErrors' can be static. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:588:22: style:inconclusive: Technically the member function 'cura::SierpinskiFill::isConstrainedBackward' can be const. [functionConst] CuraEngine-5.0.0/src/infill/SierpinskiFill.h:436:10: note: Technically the member function 'cura::SierpinskiFill::isConstrainedBackward' can be const. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:588:22: note: Technically the member function 'cura::SierpinskiFill::isConstrainedBackward' can be const. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:596:22: style:inconclusive: Technically the member function 'cura::SierpinskiFill::isConstrainedForward' can be const. [functionConst] CuraEngine-5.0.0/src/infill/SierpinskiFill.h:440:10: note: Technically the member function 'cura::SierpinskiFill::isConstrainedForward' can be const. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:596:22: note: Technically the member function 'cura::SierpinskiFill::isConstrainedForward' can be const. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:605:23: style: The member function 'cura::SierpinskiFill::getSubdivisionError' can be static. [functionStatic] CuraEngine-5.0.0/src/infill/SierpinskiFill.h:445:11: note: The member function 'cura::SierpinskiFill::getSubdivisionError' can be static. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:605:23: note: The member function 'cura::SierpinskiFill::getSubdivisionError' can be static. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:678:43: style:inconclusive: Technically the member function 'cura::SierpinskiFill::SierpinskiTriangle::getTotalError' can be const. [functionConst] CuraEngine-5.0.0/src/infill/SierpinskiFill.h:294:15: note: Technically the member function 'cura::SierpinskiFill::SierpinskiTriangle::getTotalError' can be const. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:678:43: note: Technically the member function 'cura::SierpinskiFill::SierpinskiTriangle::getTotalError' can be const. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:113:63: style:inconclusive: Function 'createTreeStatistics' argument 1 names different: declaration 'sub_root' definition 'triangle'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/infill/SierpinskiFill.h:349:51: note: Function 'createTreeStatistics' argument 1 names different: declaration 'sub_root' definition 'triangle'. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:113:63: note: Function 'createTreeStatistics' argument 1 names different: declaration 'sub_root' definition 'triangle'. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:128:69: style:inconclusive: Function 'createTreeRequestedLengths' argument 1 names different: declaration 'sub_root' definition 'triangle'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/infill/SierpinskiFill.h:355:57: note: Function 'createTreeRequestedLengths' argument 1 names different: declaration 'sub_root' definition 'triangle'. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:128:69: note: Function 'createTreeRequestedLengths' argument 1 names different: declaration 'sub_root' definition 'triangle'. CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:356:29: style: Local variable 'next' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:348:25: note: Shadowed declaration CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:356:29: note: Shadow variable CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:194:65: style: Variable 'depth_nodes' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:198:33: style: Variable 'triangle' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:252:64: style: Variable 'depth_nodes' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:512:65: style: Variable 'depth_nodes' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:619:39: style: Parameter 'svg' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:626:29: style: Variable 'triangle' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:705:29: style: Variable 'triangle' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:183:29: style: Variable 'node' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:349:25: style: Variable 'first' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:590:25: style: Variable 'node' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:591:25: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:598:25: style: Variable 'node' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:599:25: style: Variable 'next' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:561:13: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:348:33: warning: Either the condition 'end!=sequence.end()' is redundant or there is possible dereference of an invalid iterator: end. [derefInvalidIteratorRedundantCheck] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:386:42: note: Assuming that condition 'end!=sequence.end()' is not redundant CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:348:33: note: Dereference of an invalid iterator CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:599:42: warning: Either the condition 'std::next(it)!=sequence.end()' is redundant or there is possible dereference of an invalid iterator: std::next(it). [derefInvalidIteratorRedundantCheck] CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:600:23: note: Assuming that condition 'std::next(it)!=sequence.end()' is not redundant CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:599:42: note: Dereference of an invalid iterator CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:327:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/infill/SierpinskiFillProvider.cpp:64:63: style: The member function 'cura::SierpinskiFillProvider::getFractalConfig' can be static. [functionStatic] CuraEngine-5.0.0/src/infill/SierpinskiFillProvider.h:54:19: note: The member function 'cura::SierpinskiFillProvider::getFractalConfig' can be static. CuraEngine-5.0.0/src/infill/SierpinskiFillProvider.cpp:64:63: note: The member function 'cura::SierpinskiFillProvider::getFractalConfig' can be static. CuraEngine-5.0.0/src/infill/SierpinskiFillProvider.cpp:29:3: warning: Class 'SierpinskiFillProvider' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] CuraEngine-5.0.0/src/infill/SierpinskiFillProvider.cpp:29:3: warning: Class 'SierpinskiFillProvider' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] CuraEngine-5.0.0/src/infill/SierpinskiFillProvider.cpp:27:129: performance: Function parameter 'cross_subdisivion_spec_image_file' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/infill/SubDivCube.cpp:274:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/infill/SubDivCube.cpp:269:18: style: The member function 'cura::SubDivCube::addLineAndCombine' can be static. [functionStatic] CuraEngine-5.0.0/src/infill/SubDivCube.h:98:10: note: The member function 'cura::SubDivCube::addLineAndCombine' can be static. CuraEngine-5.0.0/src/infill/SubDivCube.cpp:269:18: note: The member function 'cura::SubDivCube::addLineAndCombine' can be static. CuraEngine-5.0.0/src/infill/SubDivCube.cpp:234:9: style: Statements following 'return' will never be executed. [unreachableCode] CuraEngine-5.0.0/src/infill/SubDivCube.cpp:197:9: style: The scope of the variable 'inside' can be reduced. [variableScope] CuraEngine-5.0.0/src/infill/SubDivCube.cpp:102:19: style: Variable 'line_group' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/infill/SubDivCube.cpp:152:56: style: Parameter 'center' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/infill/SubDivCube.cpp:229:63: style: Parameter 'mesh' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/infill/SubDivCube.cpp:229:103: style: Parameter 'location' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/infill/ZigzagConnectorProcessor.cpp:119:49: style: Redundant condition: !is_first_connector. 'A || (!A && B)' is equivalent to 'A || B' [redundantCondition] CuraEngine-5.0.0/src/infill/ZigzagConnectorProcessor.cpp:25:9: style: The scope of the variable 'direction' can be reduced. [variableScope] CuraEngine-5.0.0/src/infill/ZigzagConnectorProcessor.cpp:128:31: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/utils/SparseLineGrid.h:89:16: style:inconclusive: Technically the member function 'cura::SparseLineGrid < PathsPointIndex < Polygons > , PolygonsPointIndexSegmentLocator >::debugHTML' can be const. [functionConst] CuraEngine-5.0.0/src/utils/SparseLineGrid.h:47:10: note: Technically the member function 'cura::SparseLineGrid < PathsPointIndex < Polygons > , PolygonsPointIndexSegmentLocator >::debugHTML' can be const. CuraEngine-5.0.0/src/utils/SparseLineGrid.h:89:16: note: Technically the member function 'cura::SparseLineGrid < PathsPointIndex < Polygons > , PolygonsPointIndexSegmentLocator >::debugHTML' can be const. CuraEngine-5.0.0/src/utils/SparsePointGrid.h:37:5: style: Class 'SparsePointGrid < PathsPointIndex < Polygons > , PathsPointIndexLocator < Polygons > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/SparseGrid.h:45:5: style: Class 'SparseGrid < PathsPointIndex < Polygons > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/layerPart.cpp:63:16: style: Variable 'part' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/layerPart.cpp:117:21: style: Variable 'layer_storage' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/layerPart.cpp:115:65: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/main.cpp:36:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/mesh.cpp:218:64: error: Array 'faces[candidateFace].vertex_index[3]' accessed at index 3, which is out of bounds. [arrayIndexOutOfBounds] CuraEngine-5.0.0/src/mesh.cpp:213:54: note: Assuming that condition 'candidateVertex<3' is not redundant CuraEngine-5.0.0/src/mesh.cpp:218:64: note: Array index out of bounds CuraEngine-5.0.0/src/mesh.cpp:221:16: style: Local variable 'dot' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/IntPoint.h:135:16: note: Shadowed declaration CuraEngine-5.0.0/src/mesh.cpp:221:16: note: Shadow variable CuraEngine-5.0.0/src/mesh.cpp:223:16: style: Local variable 'angle' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/IntPoint.h:145:12: note: Shadowed declaration CuraEngine-5.0.0/src/mesh.cpp:223:16: note: Shadow variable CuraEngine-5.0.0/src/mesh.cpp:35:28: style: Parameter 'v0' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/mesh.cpp:35:40: style: Parameter 'v1' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/mesh.cpp:35:52: style: Parameter 'v2' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/multiVolumes.cpp:82:139: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pftEvenOdd [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/multiVolumes.cpp:17:49: style:inconclusive: Function 'carveMultipleVolumes' argument 1 names different: declaration 'meshes' definition 'volumes'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/multiVolumes.h:16:49: note: Function 'carveMultipleVolumes' argument 1 names different: declaration 'meshes' definition 'volumes'. CuraEngine-5.0.0/src/multiVolumes.cpp:17:49: note: Function 'carveMultipleVolumes' argument 1 names different: declaration 'meshes' definition 'volumes'. CuraEngine-5.0.0/src/multiVolumes.cpp:72:59: style:inconclusive: Function 'generateMultipleVolumesOverlap' argument 1 names different: declaration 'meshes' definition 'volumes'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/multiVolumes.h:22:59: note: Function 'generateMultipleVolumesOverlap' argument 1 names different: declaration 'meshes' definition 'volumes'. CuraEngine-5.0.0/src/multiVolumes.cpp:72:59: note: Function 'generateMultipleVolumesOverlap' argument 1 names different: declaration 'meshes' definition 'volumes'. CuraEngine-5.0.0/src/multiVolumes.cpp:17:49: style: Parameter 'volumes' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/multiVolumes.cpp:72:59: style: Parameter 'volumes' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/multiVolumes.cpp:108:30: style: Variable 'other_volume_layer' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/multiVolumes.cpp:118:61: style: Parameter 'volumes' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/multiVolumes.cpp:133:23: style: Variable 'cutting_mesh_area' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:255:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cross_boundary [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:422:128: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset_dist_to_get_from_on_the_polygon_to_outside [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/pathPlanning/Comb.h:135:34: style:inconclusive: Member variable 'Comb::model_boundary' is in the wrong place in the initializer list. [initializerList] CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:65:3: note: Member variable 'Comb::model_boundary' is in the wrong place in the initializer list. CuraEngine-5.0.0/src/pathPlanning/Comb.h:135:34: note: Member variable 'Comb::model_boundary' is in the wrong place in the initializer list. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:362:12: style:inconclusive: Technically the member function 'cura::Comb::moveInside' can be const. [functionConst] CuraEngine-5.0.0/src/pathPlanning/Comb.h:158:10: note: Technically the member function 'cura::Comb::moveInside' can be const. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:362:12: note: Technically the member function 'cura::Comb::moveInside' can be const. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:318:12: style: The member function 'cura::Comb::moveCombPathInside' can be static. [functionStatic] CuraEngine-5.0.0/src/pathPlanning/Comb.h:160:10: note: The member function 'cura::Comb::moveCombPathInside' can be static. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:318:12: note: The member function 'cura::Comb::moveCombPathInside' can be static. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:141:10: style: The scope of the variable 'comb_result' can be reduced. [variableScope] CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:32:172: style:inconclusive: Function 'Comb' argument 5 names different: declaration 'offset_from_outlines' definition 'comb_boundary_offset'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/pathPlanning/Comb.h:184:170: note: Function 'Comb' argument 5 names different: declaration 'offset_from_outlines' definition 'comb_boundary_offset'. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:32:172: note: Function 'Comb' argument 5 names different: declaration 'offset_from_outlines' definition 'comb_boundary_offset'. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:93:51: style:inconclusive: Function 'calc' argument 2 names different: declaration 'startPoint' definition 'start_point'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/pathPlanning/Comb.h:204:49: note: Function 'calc' argument 2 names different: declaration 'startPoint' definition 'start_point'. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:93:51: note: Function 'calc' argument 2 names different: declaration 'startPoint' definition 'start_point'. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:93:70: style:inconclusive: Function 'calc' argument 3 names different: declaration 'endPoint' definition 'end_point'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/pathPlanning/Comb.h:204:67: note: Function 'calc' argument 3 names different: declaration 'endPoint' definition 'end_point'. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:93:70: note: Function 'calc' argument 3 names different: declaration 'endPoint' definition 'end_point'. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:93:92: style:inconclusive: Function 'calc' argument 4 names different: declaration 'combPaths' definition 'comb_paths'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/pathPlanning/Comb.h:204:88: note: Function 'calc' argument 4 names different: declaration 'combPaths' definition 'comb_paths'. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:93:92: note: Function 'calc' argument 4 names different: declaration 'combPaths' definition 'comb_paths'. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:93:109: style:inconclusive: Function 'calc' argument 5 names different: declaration 'startInside' definition '_start_inside'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/pathPlanning/Comb.h:204:104: note: Function 'calc' argument 5 names different: declaration 'startInside' definition '_start_inside'. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:93:109: note: Function 'calc' argument 5 names different: declaration 'startInside' definition '_start_inside'. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:93:129: style:inconclusive: Function 'calc' argument 6 names different: declaration 'endInside' definition '_end_inside'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/pathPlanning/Comb.h:204:122: note: Function 'calc' argument 6 names different: declaration 'endInside' definition '_end_inside'. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:93:129: note: Function 'calc' argument 6 names different: declaration 'endInside' definition '_end_inside'. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:362:134: style:inconclusive: Function 'moveInside' argument 5 names different: declaration 'start_inside_poly' definition 'inside_poly'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/pathPlanning/Comb.h:158:132: note: Function 'moveInside' argument 5 names different: declaration 'start_inside_poly' definition 'inside_poly'. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:362:134: note: Function 'moveInside' argument 5 names different: declaration 'start_inside_poly' definition 'inside_poly'. CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:187:31: style: Local variable 'train' shadows outer argument [shadowArgument] CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:93:38: note: Shadowed declaration CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:187:31: note: Shadow variable CuraEngine-5.0.0/src/pathPlanning/Comb.cpp:318:68: style: Parameter 'boundary_inside_optimal' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/pathPlanning/LinePolygonsCrossings.cpp:129:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable poly_idx [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/pathPlanning/LinePolygonsCrossings.cpp:69:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/pathPlanning/LinePolygonsCrossings.cpp:130:13: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/pathPlanning/LinePolygonsCrossings.cpp:199:18: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/pathPlanning/NozzleTempInsert.cpp:21:24: style:inconclusive: Technically the member function 'cura::NozzleTempInsert::write' can be const. [functionConst] CuraEngine-5.0.0/src/pathPlanning/NozzleTempInsert.h:30:10: note: Technically the member function 'cura::NozzleTempInsert::write' can be const. CuraEngine-5.0.0/src/pathPlanning/NozzleTempInsert.cpp:21:24: note: Technically the member function 'cura::NozzleTempInsert::write' can be const. CuraEngine-5.0.0/src/gcodeExport.h:309:45: performance:inconclusive: Function parameter 'layer_nr' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/progress/Progress.cpp:65:72: style:inconclusive: Function 'messageProgressStage' argument 2 names different: declaration 'timeKeeper' definition 'time_keeper'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/progress/Progress.h:67:63: note: Function 'messageProgressStage' argument 2 names different: declaration 'timeKeeper' definition 'time_keeper'. CuraEngine-5.0.0/src/progress/Progress.cpp:65:72: note: Function 'messageProgressStage' argument 2 names different: declaration 'timeKeeper' definition 'time_keeper'. CuraEngine-5.0.0/src/progress/ProgressStageEstimator.cpp:50:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stage [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/progress/ProgressStageEstimator.cpp:11:71: style: Parameter 'relative_time_estimates' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/progress/ProgressStageEstimator.cpp:26:25: style: Variable 'stage' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/progress/ProgressStageEstimator.cpp:46:24: style: Variable 'current_stage' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/raft.cpp:21:153: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable settings [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.cpp:19:16: warning: Member variable 'AdaptiveLayer::z_position' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.cpp:19:16: warning: Member variable 'AdaptiveLayer::temperature' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.cpp:19:16: warning: Member variable 'AdaptiveLayer::print_speed' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.cpp:28:5: performance: Variable 'layers' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.cpp:35:27: style:inconclusive: Technically the member function 'cura::AdaptiveLayerHeights::getLayerCount' can be const. [functionConst] CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.h:78:9: note: Technically the member function 'cura::AdaptiveLayerHeights::getLayerCount' can be const. CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.cpp:35:27: note: Technically the member function 'cura::AdaptiveLayerHeights::getLayerCount' can be const. CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.cpp:167:31: style: Local variable 'adaptive_layer' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.cpp:73:19: note: Shadowed declaration CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.cpp:167:31: note: Shadow variable CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.cpp:186:27: style: Local variable 'adaptive_layer' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.cpp:73:19: note: Shadowed declaration CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.cpp:186:27: note: Shadow variable CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.cpp:224:27: style: Local variable 'normal' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/IntPoint.h:115:14: note: Shadowed declaration CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.cpp:224:27: note: Shadow variable CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.cpp:85:21: style: Variable 'layer_height' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/settings/AdaptiveLayerHeights.cpp:118:46: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/settings/PathConfigStorage.cpp:123:156: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/settings/PathConfigStorage.cpp:269:175: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/settings/PathConfigStorage.cpp:238:92: performance: Function parameter 'first_layer_config' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/settings/PathConfigStorage.cpp:215:22: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/settings/PathConfigStorage.cpp:257:48: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/settings/Settings.cpp:626:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/settings/Settings.cpp:36:62: performance: Function parameter 'value' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/settings/Settings.cpp:40:25: performance: Searching before insertion is not necessary. Instead of 'settings[key]=value' consider using 'settings.try_emplace(key, value);'. [stlFindInsert] CuraEngine-5.0.0/src/settings/Settings.cpp:609:21: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/skin.cpp:268:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jtRound [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/skin.cpp:553:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/skin.cpp:35:28: warning: Member variable 'SkinInfillAreaComputation::wall_line_count' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/skin.cpp:35:28: warning: Member variable 'SkinInfillAreaComputation::skin_inset_count' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/src/skin.cpp:293:33: style: The member function 'cura::SkinInfillAreaComputation::generateInfill' can be static. [functionStatic] CuraEngine-5.0.0/src/skin.h:128:10: note: The member function 'cura::SkinInfillAreaComputation::generateInfill' can be static. CuraEngine-5.0.0/src/skin.cpp:293:33: note: The member function 'cura::SkinInfillAreaComputation::generateInfill' can be static. CuraEngine-5.0.0/src/skin.cpp:57:37: style:inconclusive: Technically the member function 'cura::SkinInfillAreaComputation::getOutlineOnLayer' can be const. [functionConst] CuraEngine-5.0.0/src/skin.h:204:14: note: Technically the member function 'cura::SkinInfillAreaComputation::getOutlineOnLayer' can be const. CuraEngine-5.0.0/src/skin.cpp:57:37: note: Technically the member function 'cura::SkinInfillAreaComputation::getOutlineOnLayer' can be const. CuraEngine-5.0.0/src/skin.cpp:198:87: style: Checking if unsigned expression 'top_layer_count' is less than zero. [unsignedLessThanZero] CuraEngine-5.0.0/src/skin.cpp:323:22: style: Local variable 'no_air_above' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/skin.cpp:311:18: note: Shadowed declaration CuraEngine-5.0.0/src/skin.cpp:323:22: note: Shadow variable CuraEngine-5.0.0/src/skin.cpp:518:28: style: Local variable 'min_layer' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/skin.cpp:492:22: note: Shadowed declaration CuraEngine-5.0.0/src/skin.cpp:518:28: note: Shadow variable CuraEngine-5.0.0/src/skin.cpp:519:28: style: Local variable 'max_layer' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/skin.cpp:493:22: note: Shadowed declaration CuraEngine-5.0.0/src/skin.cpp:519:28: note: Shadow variable CuraEngine-5.0.0/src/skin.cpp:156:24: style: Variable 'skin_area_part' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/skin.cpp:362:72: style: Parameter 'part' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/skin.cpp:400:76: style: Parameter 'part' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/skin.cpp:364:27: style: Variable 'wall_idx' is assigned a value that is never used. [unreadVariable] CuraEngine-5.0.0/src/skin.cpp:498:93: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/sliceDataStorage.cpp:132:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/sliceDataStorage.cpp:183:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/sliceDataStorage.cpp:402:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/sliceDataStorage.cpp:489:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_nr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/sliceDataStorage.cpp:272:49: style: The member function 'cura::SliceDataStorage::initializeRetractionConfigs' can be static. [functionStatic] CuraEngine-5.0.0/src/sliceDataStorage.h:395:35: note: The member function 'cura::SliceDataStorage::initializeRetractionConfigs' can be static. CuraEngine-5.0.0/src/sliceDataStorage.cpp:272:49: note: The member function 'cura::SliceDataStorage::initializeRetractionConfigs' can be static. CuraEngine-5.0.0/src/sliceDataStorage.cpp:279:49: style: The member function 'cura::SliceDataStorage::initializeWipeConfigs' can be static. [functionStatic] CuraEngine-5.0.0/src/sliceDataStorage.h:400:35: note: The member function 'cura::SliceDataStorage::initializeWipeConfigs' can be static. CuraEngine-5.0.0/src/sliceDataStorage.cpp:279:49: note: The member function 'cura::SliceDataStorage::initializeWipeConfigs' can be static. CuraEngine-5.0.0/src/sliceDataStorage.cpp:33:16: warning: Class 'SupportStorage' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] CuraEngine-5.0.0/src/sliceDataStorage.cpp:33:16: warning: Class 'SupportStorage' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] CuraEngine-5.0.0/src/sliceDataStorage.cpp:111:16: warning: Class 'SliceMeshStorage' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] CuraEngine-5.0.0/src/sliceDataStorage.cpp:111:16: warning: Class 'SliceMeshStorage' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] CuraEngine-5.0.0/src/sliceDataStorage.cpp:582:30: style: Local variable 'angle' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/IntPoint.h:145:12: note: Shadowed declaration CuraEngine-5.0.0/src/sliceDataStorage.cpp:582:30: note: Shadow variable CuraEngine-5.0.0/src/sliceDataStorage.cpp:56:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/sliceDataStorage.cpp:58:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/sliceDataStorage.cpp:185:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/sliceDataStorage.cpp:191:13: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/sliceDataStorage.cpp:209:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/sliceDataStorage.cpp:219:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/sliceDataStorage.cpp:229:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/sliceDataStorage.cpp:231:13: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/sliceDataStorage.cpp:242:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/sliceDataStorage.cpp:244:13: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/slicer.cpp:439:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_TERMINUS [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/slicer.cpp:459:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_TERMINUS [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/slicer.cpp:841:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/slicer.cpp:973:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable z_position [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/slicer.cpp:1047:115: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jtRound [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/slicer.cpp:187:14: style: The member function 'cura::SlicerLayer::findPossibleStitches' can be static. [functionStatic] CuraEngine-5.0.0/src/slicer.h:421:41: note: The member function 'cura::SlicerLayer::findPossibleStitches' can be static. CuraEngine-5.0.0/src/slicer.cpp:187:14: note: The member function 'cura::SlicerLayer::findPossibleStitches' can be static. CuraEngine-5.0.0/src/slicer.cpp:334:19: style: The member function 'cura::SlicerLayer::planPolylineStitch' can be static. [functionStatic] CuraEngine-5.0.0/src/slicer.h:441:10: note: The member function 'cura::SlicerLayer::planPolylineStitch' can be static. CuraEngine-5.0.0/src/slicer.cpp:334:19: note: The member function 'cura::SlicerLayer::planPolylineStitch' can be static. CuraEngine-5.0.0/src/slicer.cpp:385:19: style: The member function 'cura::SlicerLayer::joinPolylines' can be static. [functionStatic] CuraEngine-5.0.0/src/slicer.h:461:10: note: The member function 'cura::SlicerLayer::joinPolylines' can be static. CuraEngine-5.0.0/src/slicer.cpp:385:19: note: The member function 'cura::SlicerLayer::joinPolylines' can be static. CuraEngine-5.0.0/src/utils/SparsePointGrid.h:37:5: style: Class 'SparsePointGrid < StitchGridVal , StitchGridValLocator >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/slicer.cpp:795:22: style:inconclusive: Function 'Slicer' argument 1 names different: declaration 'mesh' definition 'i_mesh'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/slicer.h:494:18: note: Function 'Slicer' argument 1 names different: declaration 'mesh' definition 'i_mesh'. CuraEngine-5.0.0/src/slicer.cpp:795:22: note: Function 'Slicer' argument 1 names different: declaration 'mesh' definition 'i_mesh'. CuraEngine-5.0.0/src/slicer.cpp:825:53: style:inconclusive: Function 'buildSegments' argument 2 names different: declaration 'zbboxes' definition 'zbbox'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/slicer.h:563:57: note: Function 'buildSegments' argument 2 names different: declaration 'zbboxes' definition 'zbbox'. CuraEngine-5.0.0/src/slicer.cpp:825:53: note: Function 'buildSegments' argument 2 names different: declaration 'zbboxes' definition 'zbbox'. CuraEngine-5.0.0/src/slicer.cpp:405:20: style: Variable 'p' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/slicer.cpp:452:54: style: Parameter 'open_polylines' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/slicer.cpp:496:22: style: Variable 'cur_terms' can be declared as const array [constVariable] CuraEngine-5.0.0/src/slicer.cpp:796:77: style: Parameter 'adaptive_layers' can be declared as pointer to const [constParameterPointer] CuraEngine-5.0.0/src/support.cpp:439:166: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable settings [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/support.cpp:638:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable settings [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/support.cpp:716:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable settings [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/support.cpp:1076:117: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jtMiter [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/support.cpp:1204:38: style: Condition 'step_bottom_layer_nr>=0' is always true [knownConditionTrueFalse] CuraEngine-5.0.0/src/support.cpp:1203:98: note: Assignment 'step_bottom_layer_nr=bottom_layer_nr-bottom_stair_step_layer_count+1', assigned value is greater than 0 CuraEngine-5.0.0/src/support.cpp:1204:38: note: Condition 'step_bottom_layer_nr>=0' is always true CuraEngine-5.0.0/src/support.cpp:356:49: style: Checking if unsigned expression 'intersection.size()' is less than zero. [unsignedLessThanZero] CuraEngine-5.0.0/src/support.cpp:1180:34: style: Checking if unsigned expression 'bottom_empty_layer_count' is less than zero. [unsignedLessThanZero] CuraEngine-5.0.0/src/support.cpp:1418:28: style: Checking if unsigned expression 'bottom_layer_count' is less than zero. [unsignedLessThanZero] CuraEngine-5.0.0/src/support.cpp:1451:26: style: Checking if unsigned expression 'roof_layer_count' is less than zero. [unsignedLessThanZero] CuraEngine-5.0.0/src/support.cpp:1479:89: style:inconclusive: Function 'generateSupportInterfaceLayer' argument 2 names different: declaration 'mesh_outlines' definition 'colliding_mesh_outlines'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/support.h:195:87: note: Function 'generateSupportInterfaceLayer' argument 2 names different: declaration 'mesh_outlines' definition 'colliding_mesh_outlines'. CuraEngine-5.0.0/src/support.cpp:1479:89: note: Function 'generateSupportInterfaceLayer' argument 2 names different: declaration 'mesh_outlines' definition 'colliding_mesh_outlines'. CuraEngine-5.0.0/src/support.cpp:218:28: style: Local variable 'min_layer' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/support.cpp:188:16: note: Shadowed declaration CuraEngine-5.0.0/src/support.cpp:218:28: note: Shadow variable CuraEngine-5.0.0/src/support.cpp:219:28: style: Local variable 'max_layer' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/support.cpp:189:16: note: Shadowed declaration CuraEngine-5.0.0/src/support.cpp:219:28: note: Shadow variable CuraEngine-5.0.0/src/support.cpp:468:40: style: Local variable 'angle' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/IntPoint.h:145:12: note: Shadowed declaration CuraEngine-5.0.0/src/support.cpp:468:40: note: Shadow variable CuraEngine-5.0.0/src/support.cpp:836:24: style: Local variable 'angle' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/IntPoint.h:145:12: note: Shadowed declaration CuraEngine-5.0.0/src/support.cpp:836:24: note: Shadow variable CuraEngine-5.0.0/src/support.cpp:1015:40: style: Local variable 'no_support' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/support.cpp:838:20: note: Shadowed declaration CuraEngine-5.0.0/src/support.cpp:1015:40: note: Shadow variable CuraEngine-5.0.0/src/support.cpp:1016:40: style: Local variable 'no_prime_tower' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/support.cpp:839:20: note: Shadowed declaration CuraEngine-5.0.0/src/support.cpp:1016:40: note: Shadow variable CuraEngine-5.0.0/src/support.cpp:1376:24: style: Local variable 'poly' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/support.cpp:1373:20: note: Shadowed declaration CuraEngine-5.0.0/src/support.cpp:1376:24: note: Shadow variable CuraEngine-5.0.0/src/support.cpp:435:104: style: Parameter 'supportLayer_this' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/support.cpp:1130:103: style: Parameter 'sloped_areas' can be declared as reference to const [constParameterReference] CuraEngine-5.0.0/src/support.cpp:1323:40: style: Variable 'overhang_points_below' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/support.cpp:1333:24: style: Variable 'poly' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/support.cpp:625:19: style: Variable 'infill_settings' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/src/support.cpp:626:19: style: Variable 'roof_settings' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/src/support.cpp:627:19: style: Variable 'bottom_settings' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/src/support.cpp:278:127: warning: Either the condition 'support_infill_part.infill_area_per_combine_per_density.size()!=0' is redundant or expression 'support_infill_part.infill_area_per_combine_per_density.back()' causes access out of bounds. [containerOutOfBounds] CuraEngine-5.0.0/src/support.cpp:281:83: note: Assuming that condition 'support_infill_part.infill_area_per_combine_per_density.size()!=0' is not redundant CuraEngine-5.0.0/src/support.cpp:278:127: note: Access out of bounds CuraEngine-5.0.0/src/support.cpp:414:25: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/support.cpp:1121:9: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/support.cpp:1328:35: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/support.cpp:1337:27: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/support.cpp:192:94: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/support.cpp:1465:106: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] CuraEngine-5.0.0/src/timeEstimate.cpp:163:5: portability: Using memset() on class which contains a floating point number. [memsetClassFloat] CuraEngine-5.0.0/src/timeEstimate.cpp:163:5: portability: Using memset() on struct which contains a floating point number. [memsetClassFloat] CuraEngine-5.0.0/src/timeEstimate.cpp:132:30: style: The member function 'cura::TimeEstimateCalculator::calculateTrapezoidForBlock' can be static. [functionStatic] CuraEngine-5.0.0/src/timeEstimate.h:111:10: note: The member function 'cura::TimeEstimateCalculator::calculateTrapezoidForBlock' can be static. CuraEngine-5.0.0/src/timeEstimate.cpp:132:30: note: The member function 'cura::TimeEstimateCalculator::calculateTrapezoidForBlock' can be static. CuraEngine-5.0.0/src/timeEstimate.cpp:291:30: style: The member function 'cura::TimeEstimateCalculator::plannerReversePassKernel' can be static. [functionStatic] CuraEngine-5.0.0/src/timeEstimate.h:114:10: note: The member function 'cura::TimeEstimateCalculator::plannerReversePassKernel' can be static. CuraEngine-5.0.0/src/timeEstimate.cpp:291:30: note: The member function 'cura::TimeEstimateCalculator::plannerReversePassKernel' can be static. CuraEngine-5.0.0/src/timeEstimate.cpp:330:30: style: The member function 'cura::TimeEstimateCalculator::plannerForwardPassKernel' can be static. [functionStatic] CuraEngine-5.0.0/src/timeEstimate.h:117:10: note: The member function 'cura::TimeEstimateCalculator::plannerForwardPassKernel' can be static. CuraEngine-5.0.0/src/timeEstimate.cpp:330:30: note: The member function 'cura::TimeEstimateCalculator::plannerForwardPassKernel' can be static. CuraEngine-5.0.0/src/timeEstimate.cpp:373:12: style: The scope of the variable 'current' can be reduced. [variableScope] CuraEngine-5.0.0/src/timeEstimate.cpp:160:61: style:inconclusive: Function 'plan' argument 2 names different: declaration 'feedRate' definition 'feedrate'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/timeEstimate.h:93:41: note: Function 'plan' argument 2 names different: declaration 'feedRate' definition 'feedrate'. CuraEngine-5.0.0/src/timeEstimate.cpp:160:61: note: Function 'plan' argument 2 names different: declaration 'feedRate' definition 'feedrate'. CuraEngine-5.0.0/src/timeEstimate.cpp:37:51: performance: Function parameter 'newPos' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/timeEstimate.cpp:160:44: performance: Function parameter 'newPos' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/timeEstimate.cpp:291:95: style: Parameter 'next' can be declared as pointer to const [constParameterPointer] CuraEngine-5.0.0/src/timeEstimate.cpp:330:62: style: Parameter 'previous' can be declared as pointer to const [constParameterPointer] CuraEngine-5.0.0/src/utils/Date.cpp:21:19: style:inconclusive: Technically the member function 'cura::Date::toStringDashed' can be const. [functionConst] CuraEngine-5.0.0/src/utils/Date.h:20:17: note: Technically the member function 'cura::Date::toStringDashed' can be const. CuraEngine-5.0.0/src/utils/Date.cpp:21:19: note: Technically the member function 'cura::Date::toStringDashed' can be const. CuraEngine-5.0.0/src/utils/Date.cpp:45:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] CuraEngine-5.0.0/src/utils/ExtrusionLine.cpp:33:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/ExtrusionLine.cpp:96:28: style: Variable 'next' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/utils/LinearAlg2D.cpp:35:17: style: Local variable 'angle' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/IntPoint.h:145:12: note: Shadowed declaration CuraEngine-5.0.0/src/utils/LinearAlg2D.cpp:35:17: note: Shadow variable CuraEngine-5.0.0/src/utils/ListPolyIt.cpp:74:26: error: Returning object that points to local variable 'after' that will be invalid when returning. [returnDanglingLifetime] CuraEngine-5.0.0/src/utils/ListPolyIt.cpp:73:27: note: Assigned to reference. CuraEngine-5.0.0/src/utils/ListPolyIt.cpp:74:27: note: Passed to constructor of 'ListPolyIt'. CuraEngine-5.0.0/src/utils/ListPolyIt.cpp:61:90: note: Variable created here. CuraEngine-5.0.0/src/utils/ListPolyIt.cpp:74:26: note: Returning object that points to local variable 'after' that will be invalid when returning. CuraEngine-5.0.0/src/utils/ListPolyIt.cpp:30:23: style: Local variable 'p' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/ListPolyIt.h:36:12: note: Shadowed declaration CuraEngine-5.0.0/src/utils/ListPolyIt.cpp:30:23: note: Shadow variable CuraEngine-5.0.0/src/utils/ListPolyIt.cpp:55:23: style: Local variable 'p' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/ListPolyIt.h:36:12: note: Shadowed declaration CuraEngine-5.0.0/src/utils/ListPolyIt.cpp:55:23: note: Shadow variable CuraEngine-5.0.0/src/utils/ListPolyIt.cpp:32:16: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/utils/MinimumSpanningTree.cpp:17:51: performance: Function parameter 'vertices' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:47:25: style: The member function 'cura::PolygonConnector::getPosition' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/PolygonConnector.h:263:11: note: The member function 'cura::PolygonConnector::getPosition' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:47:25: note: The member function 'cura::PolygonConnector::getPosition' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:52:25: style: The member function 'cura::PolygonConnector::getPosition' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/PolygonConnector.h:272:11: note: The member function 'cura::PolygonConnector::getPosition' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:52:25: note: The member function 'cura::PolygonConnector::getPosition' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:62:27: style: The member function 'cura::PolygonConnector::getWidth' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/PolygonConnector.h:292:13: note: The member function 'cura::PolygonConnector::getWidth' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:62:27: note: The member function 'cura::PolygonConnector::getWidth' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:67:24: style: The member function 'cura::PolygonConnector::addVertex' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/PolygonConnector.h:302:10: note: The member function 'cura::PolygonConnector::addVertex' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:67:24: note: The member function 'cura::PolygonConnector::addVertex' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:72:24: style: The member function 'cura::PolygonConnector::addVertex' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/PolygonConnector.h:311:10: note: The member function 'cura::PolygonConnector::addVertex' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:72:24: note: The member function 'cura::PolygonConnector::addVertex' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:77:24: style: The member function 'cura::PolygonConnector::addVertex' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/PolygonConnector.h:321:10: note: The member function 'cura::PolygonConnector::addVertex' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:77:24: note: The member function 'cura::PolygonConnector::addVertex' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:82:24: style: The member function 'cura::PolygonConnector::addVertex' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/PolygonConnector.h:330:10: note: The member function 'cura::PolygonConnector::addVertex' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:82:24: note: The member function 'cura::PolygonConnector::addVertex' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:87:24: style: The member function 'cura::PolygonConnector::isClosed' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/PolygonConnector.h:339:10: note: The member function 'cura::PolygonConnector::isClosed' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:87:24: note: The member function 'cura::PolygonConnector::isClosed' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:92:24: style: The member function 'cura::PolygonConnector::isClosed' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/PolygonConnector.h:349:10: note: The member function 'cura::PolygonConnector::isClosed' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:92:24: note: The member function 'cura::PolygonConnector::isClosed' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:98:33: style: The member function 'cura::PolygonConnector::createEmpty < ExtrusionLine >' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/PolygonConnector.h:98:33: note: The member function 'cura::PolygonConnector::createEmpty < ExtrusionLine >' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:98:33: note: The member function 'cura::PolygonConnector::createEmpty < ExtrusionLine >' can be static. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:52:62: style:inconclusive: Function 'getPosition' argument 1 names different: declaration 'vertex' definition 'junction'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/utils/PolygonConnector.h:272:48: note: Function 'getPosition' argument 1 names different: declaration 'vertex' definition 'junction'. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:52:62: note: Function 'getPosition' argument 1 names different: declaration 'vertex' definition 'junction'. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:62:61: style:inconclusive: Function 'getWidth' argument 1 names different: declaration 'vertex' definition 'junction'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/utils/PolygonConnector.h:292:47: note: Function 'getWidth' argument 1 names different: declaration 'vertex' definition 'junction'. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:62:61: note: Function 'getWidth' argument 1 names different: declaration 'vertex' definition 'junction'. CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:20:24: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/utils/PolygonConnector.cpp:30:25: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/utils/PolylineStitcher.cpp:15:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_odd [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/SparsePointGrid.h:37:5: style: Class 'SparsePointGrid < PathsPointIndex < std :: vector < ExtrusionLine > > , PathsPointIndexLocator < std :: vector < ExtrusionLine > > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/ProximityPointLink.cpp:22:42: style:inconclusive: Function 'setDist' argument 1 names different: declaration 'dist' definition 'distance'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/utils/ProximityPointLink.h:41:26: note: Function 'setDist' argument 1 names different: declaration 'dist' definition 'distance'. CuraEngine-5.0.0/src/utils/ProximityPointLink.cpp:22:42: note: Function 'setDist' argument 1 names different: declaration 'dist' definition 'distance'. CuraEngine-5.0.0/src/utils/SVG.cpp:17:18: style: The member function 'cura::SVG::toString' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/SVG.h:55:17: note: The member function 'cura::SVG::toString' can be static. CuraEngine-5.0.0/src/utils/SVG.cpp:17:18: note: The member function 'cura::SVG::toString' can be static. CuraEngine-5.0.0/src/utils/SVG.cpp:79:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assuming allocation function fails CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assignment 'out=fopen(filename.c_str(),"w")', assigned value is 0 CuraEngine-5.0.0/src/utils/SVG.cpp:79:13: note: Null pointer dereference CuraEngine-5.0.0/src/utils/SVG.cpp:80:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assuming allocation function fails CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assignment 'out=fopen(filename.c_str(),"w")', assigned value is 0 CuraEngine-5.0.0/src/utils/SVG.cpp:80:13: note: Null pointer dereference CuraEngine-5.0.0/src/utils/SVG.cpp:81:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assuming allocation function fails CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assignment 'out=fopen(filename.c_str(),"w")', assigned value is 0 CuraEngine-5.0.0/src/utils/SVG.cpp:81:13: note: Null pointer dereference CuraEngine-5.0.0/src/utils/SVG.cpp:82:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assuming allocation function fails CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assignment 'out=fopen(filename.c_str(),"w")', assigned value is 0 CuraEngine-5.0.0/src/utils/SVG.cpp:82:13: note: Null pointer dereference CuraEngine-5.0.0/src/utils/SVG.cpp:83:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assuming allocation function fails CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assignment 'out=fopen(filename.c_str(),"w")', assigned value is 0 CuraEngine-5.0.0/src/utils/SVG.cpp:83:13: note: Null pointer dereference CuraEngine-5.0.0/src/utils/SVG.cpp:84:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assuming allocation function fails CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assignment 'out=fopen(filename.c_str(),"w")', assigned value is 0 CuraEngine-5.0.0/src/utils/SVG.cpp:84:13: note: Null pointer dereference CuraEngine-5.0.0/src/utils/SVG.cpp:85:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assuming allocation function fails CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assignment 'out=fopen(filename.c_str(),"w")', assigned value is 0 CuraEngine-5.0.0/src/utils/SVG.cpp:85:13: note: Null pointer dereference CuraEngine-5.0.0/src/utils/SVG.cpp:86:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assuming allocation function fails CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assignment 'out=fopen(filename.c_str(),"w")', assigned value is 0 CuraEngine-5.0.0/src/utils/SVG.cpp:86:13: note: Null pointer dereference CuraEngine-5.0.0/src/utils/SVG.cpp:87:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assuming allocation function fails CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assignment 'out=fopen(filename.c_str(),"w")', assigned value is 0 CuraEngine-5.0.0/src/utils/SVG.cpp:87:13: note: Null pointer dereference CuraEngine-5.0.0/src/utils/SVG.cpp:88:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assuming allocation function fails CuraEngine-5.0.0/src/utils/SVG.cpp:66:16: note: Assignment 'out=fopen(filename.c_str(),"w")', assigned value is 0 CuraEngine-5.0.0/src/utils/SVG.cpp:88:13: note: Null pointer dereference CuraEngine-5.0.0/src/utils/SVG.cpp:143:23: style: Local variable 'parts' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/utils/SVG.cpp:140:10: note: Shadowed declaration CuraEngine-5.0.0/src/utils/SVG.cpp:143:23: note: Shadow variable CuraEngine-5.0.0/src/utils/SVG.cpp:227:13: style: Local variable 'normal' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/IntPoint.h:115:14: note: Shadowed declaration CuraEngine-5.0.0/src/utils/SVG.cpp:227:13: note: Shadow variable CuraEngine-5.0.0/src/utils/SVG.cpp:48:22: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:48:74: performance: Function parameter 'background' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:53:22: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:53:69: performance: Function parameter 'background' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:58:22: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:58:88: performance: Function parameter 'background' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:138:66: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:138:91: performance: Function parameter 'outline_color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:160:65: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:160:90: performance: Function parameter 'outline_color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:171:99: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:182:106: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:190:110: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:198:76: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:215:71: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:222:72: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:243:71: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:250:79: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:256:66: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:264:64: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:299:67: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:307:65: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:336:86: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:344:73: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:352:66: performance: Function parameter 'color' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/SVG.cpp:143:23: style: Variable 'parts' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/utils/SVG.cpp:147:25: style: Variable 'p' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/utils/ToolpathVisualizer.cpp:31:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pftNonZero [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/ToolpathVisualizer.h:19:5: style: Class 'ToolpathVisualizer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/src/utils/VoronoiUtils.cpp:81:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOURCE_CATEGORY_SINGLE_POINT [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/VoronoiUtils.cpp:289:116: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/VoronoiUtils.cpp:90:13: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] CuraEngine-5.0.0/src/utils/VoronoiUtils.cpp:96:13: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] CuraEngine-5.0.0/src/utils/VoronoiUtils.cpp:117:66: style:inconclusive: Function 'discretizeParabola' argument 1 names different: declaration 'source_point' definition 'p'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/utils/VoronoiUtils.h:43:63: note: Function 'discretizeParabola' argument 1 names different: declaration 'source_point' definition 'p'. CuraEngine-5.0.0/src/utils/VoronoiUtils.cpp:117:66: note: Function 'discretizeParabola' argument 1 names different: declaration 'source_point' definition 'p'. CuraEngine-5.0.0/src/utils/VoronoiUtils.cpp:117:84: style:inconclusive: Function 'discretizeParabola' argument 2 names different: declaration 'source_segment' definition 'segment'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/utils/VoronoiUtils.h:43:92: note: Function 'discretizeParabola' argument 2 names different: declaration 'source_segment' definition 'segment'. CuraEngine-5.0.0/src/utils/VoronoiUtils.cpp:117:84: note: Function 'discretizeParabola' argument 2 names different: declaration 'source_segment' definition 'segment'. CuraEngine-5.0.0/src/utils/VoronoiUtils.cpp:117:99: style:inconclusive: Function 'discretizeParabola' argument 3 names different: declaration 'start' definition 's'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/utils/VoronoiUtils.h:43:114: note: Function 'discretizeParabola' argument 3 names different: declaration 'start' definition 's'. CuraEngine-5.0.0/src/utils/VoronoiUtils.cpp:117:99: note: Function 'discretizeParabola' argument 3 names different: declaration 'start' definition 's'. CuraEngine-5.0.0/src/utils/VoronoiUtils.cpp:117:108: style:inconclusive: Function 'discretizeParabola' argument 4 names different: declaration 'end' definition 'e'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/utils/VoronoiUtils.h:43:127: note: Function 'discretizeParabola' argument 4 names different: declaration 'end' definition 'e'. CuraEngine-5.0.0/src/utils/VoronoiUtils.cpp:117:108: note: Function 'discretizeParabola' argument 4 names different: declaration 'end' definition 'e'. CuraEngine-5.0.0/src/utils/logoutput.cpp:33:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/logoutput.cpp:46:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/logoutput.cpp:59:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/logoutput.cpp:74:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/logoutput.cpp:90:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/logoutput.cpp:104:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.cpp:68:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctIntersection [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.cpp:89:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable etClosedPolygon [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.cpp:273:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctIntersection [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.cpp:344:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable etClosedPolygon [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.cpp:360:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable etClosedPolygon [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.cpp:619:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptSubject [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.cpp:636:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptSubject [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.cpp:650:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptSubject [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.cpp:1471:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctUnion [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.cpp:1550:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctUnion [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygon.cpp:77:20: style:inconclusive: Technically the member function 'cura::Polygons::approxConvexHull' can be const. [functionConst] CuraEngine-5.0.0/src/utils/polygon.h:1054:14: note: Technically the member function 'cura::Polygons::approxConvexHull' can be const. CuraEngine-5.0.0/src/utils/polygon.cpp:77:20: note: Technically the member function 'cura::Polygons::approxConvexHull' can be const. CuraEngine-5.0.0/src/utils/polygon.cpp:96:16: style:inconclusive: Technically the member function 'cura::Polygons::makeConvex' can be const. [functionConst] CuraEngine-5.0.0/src/utils/polygon.h:1059:10: note: Technically the member function 'cura::Polygons::makeConvex' can be const. CuraEngine-5.0.0/src/utils/polygon.cpp:96:16: note: Technically the member function 'cura::Polygons::makeConvex' can be const. CuraEngine-5.0.0/src/utils/polygon.cpp:658:16: style: The member function 'cura::Polygons::removeEmptyHoles_processPolyTreeNode' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/polygon.h:1231:10: note: The member function 'cura::Polygons::removeEmptyHoles_processPolyTreeNode' can be static. CuraEngine-5.0.0/src/utils/polygon.cpp:658:16: note: The member function 'cura::Polygons::removeEmptyHoles_processPolyTreeNode' can be static. CuraEngine-5.0.0/src/utils/polygon.cpp:1479:16: style: The member function 'cura::Polygons::splitIntoParts_processPolyTreeNode' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/polygon.h:1232:10: note: The member function 'cura::Polygons::splitIntoParts_processPolyTreeNode' can be static. CuraEngine-5.0.0/src/utils/polygon.cpp:1479:16: note: The member function 'cura::Polygons::splitIntoParts_processPolyTreeNode' can be static. CuraEngine-5.0.0/src/utils/polygon.cpp:1560:16: style: The member function 'cura::Polygons::splitIntoPartsView_processPolyTreeNode' can be static. [functionStatic] CuraEngine-5.0.0/src/utils/polygon.h:1243:10: note: The member function 'cura::Polygons::splitIntoPartsView_processPolyTreeNode' can be static. CuraEngine-5.0.0/src/utils/polygon.cpp:1560:16: note: The member function 'cura::Polygons::splitIntoPartsView_processPolyTreeNode' can be static. CuraEngine-5.0.0/src/utils/polygon.cpp:750:16: style:inconclusive: Technically the member function 'cura::Polygons::_removeDegenerateVerts' can be const. [functionConst] CuraEngine-5.0.0/src/utils/polygon.h:1285:10: note: Technically the member function 'cura::Polygons::_removeDegenerateVerts' can be const. CuraEngine-5.0.0/src/utils/polygon.cpp:750:16: note: Technically the member function 'cura::Polygons::_removeDegenerateVerts' can be const. CuraEngine-5.0.0/src/utils/polygon.cpp:153:20: warning: The class 'PolygonsPart' defines member function with name 'inside' also defined in its parent class 'Polygons'. [duplInheritedMember] CuraEngine-5.0.0/src/utils/polygon.cpp:138:16: note: Parent function 'Polygons::inside' CuraEngine-5.0.0/src/utils/polygon.cpp:153:20: note: Derived function 'PolygonsPart::inside' CuraEngine-5.0.0/src/utils/polygon.cpp:336:62: style:inconclusive: Function 'offset' argument 2 names different: declaration 'joinType' definition 'join_type'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/utils/polygon.h:985:56: note: Function 'offset' argument 2 names different: declaration 'joinType' definition 'join_type'. CuraEngine-5.0.0/src/utils/polygon.cpp:336:62: note: Function 'offset' argument 2 names different: declaration 'joinType' definition 'join_type'. CuraEngine-5.0.0/src/utils/polygon.cpp:350:69: style:inconclusive: Function 'offset' argument 2 names different: declaration 'joinType' definition 'join_type'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/utils/polygon.h:165:56: note: Function 'offset' argument 2 names different: declaration 'joinType' definition 'join_type'. CuraEngine-5.0.0/src/utils/polygon.cpp:350:69: note: Function 'offset' argument 2 names different: declaration 'joinType' definition 'join_type'. CuraEngine-5.0.0/src/utils/polygon.cpp:1152:57: style:inconclusive: Function 'smooth_outward' argument 1 names different: declaration 'angle' definition 'min_angle'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/utils/polygon.h:322:44: note: Function 'smooth_outward' argument 1 names different: declaration 'angle' definition 'min_angle'. CuraEngine-5.0.0/src/utils/polygon.cpp:1152:57: note: Function 'smooth_outward' argument 1 names different: declaration 'angle' definition 'min_angle'. CuraEngine-5.0.0/src/utils/polygon.cpp:1231:54: style:inconclusive: Function 'smooth_outward' argument 1 names different: declaration 'angle' definition 'max_angle'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/utils/polygon.h:1088:48: note: Function 'smooth_outward' argument 1 names different: declaration 'angle' definition 'max_angle'. CuraEngine-5.0.0/src/utils/polygon.cpp:1231:54: note: Function 'smooth_outward' argument 1 names different: declaration 'angle' definition 'max_angle'. CuraEngine-5.0.0/src/utils/polygon.cpp:414:23: style: Local variable 'angle' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/IntPoint.h:145:12: note: Shadowed declaration CuraEngine-5.0.0/src/utils/polygon.cpp:414:23: note: Shadow variable CuraEngine-5.0.0/src/utils/polygon.cpp:700:20: style: Local variable 'area' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/polygon.h:1066:12: note: Shadowed declaration CuraEngine-5.0.0/src/utils/polygon.cpp:700:20: note: Shadow variable CuraEngine-5.0.0/src/utils/polygon.cpp:1389:20: style: Local variable 'back' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/polygon.h:881:16: note: Shadowed declaration CuraEngine-5.0.0/src/utils/polygon.cpp:1389:20: note: Shadow variable CuraEngine-5.0.0/src/utils/polygon.cpp:1599:20: style: Local variable 'dot' shadows outer function [shadowFunction] CuraEngine-5.0.0/src/utils/IntPoint.h:135:16: note: Shadowed declaration CuraEngine-5.0.0/src/utils/polygon.cpp:1599:20: note: Shadow variable CuraEngine-5.0.0/src/utils/polygon.cpp:204:15: style: Variable 'thiss' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/utils/polygon.cpp:218:20: style: Variable 'p1' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/utils/polygon.cpp:133:15: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/utils/polygon.cpp:331:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:982:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_place [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:230:101: style:inconclusive: Function 'moveOutside' argument 4 names different: declaration 'max_dist2' definition 'maxDist2'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/utils/polygonUtils.h:251:102: note: Function 'moveOutside' argument 4 names different: declaration 'max_dist2' definition 'maxDist2'. CuraEngine-5.0.0/src/utils/polygonUtils.cpp:230:101: note: Function 'moveOutside' argument 4 names different: declaration 'max_dist2' definition 'maxDist2'. CuraEngine-5.0.0/src/utils/polygonUtils.cpp:302:100: style:inconclusive: Function 'moveInside' argument 4 names different: declaration 'max_dist2' definition 'maxDist2'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/utils/polygonUtils.h:174:101: note: Function 'moveInside' argument 4 names different: declaration 'max_dist2' definition 'maxDist2'. CuraEngine-5.0.0/src/utils/polygonUtils.cpp:302:100: note: Function 'moveInside' argument 4 names different: declaration 'max_dist2' definition 'maxDist2'. CuraEngine-5.0.0/src/utils/polygonUtils.cpp:416:105: style:inconclusive: Function 'moveInside' argument 4 names different: declaration 'max_dist2' definition 'maxDist2'. [funcArgNamesDifferent] CuraEngine-5.0.0/src/utils/polygonUtils.h:192:106: note: Function 'moveInside' argument 4 names different: declaration 'max_dist2' definition 'maxDist2'. CuraEngine-5.0.0/src/utils/polygonUtils.cpp:416:105: note: Function 'moveInside' argument 4 names different: declaration 'max_dist2' definition 'maxDist2'. CuraEngine-5.0.0/src/utils/polygonUtils.cpp:631:18: style: Local variable 'is_inside' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:612:10: note: Shadowed declaration CuraEngine-5.0.0/src/utils/polygonUtils.cpp:631:18: note: Shadow variable CuraEngine-5.0.0/src/utils/polygonUtils.cpp:1010:48: style: Local variable 'best_here' shadows outer variable [shadowVariable] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:998:44: note: Shadowed declaration CuraEngine-5.0.0/src/utils/polygonUtils.cpp:1010:48: note: Shadow variable CuraEngine-5.0.0/src/utils/polygonUtils.cpp:1217:157: performance: Function parameter 'transformation_matrix' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:1243:158: performance: Function parameter 'transformation_matrix' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:340:28: style: Variable 'x' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:460:24: style: Variable 'x' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:961:30: style: Variable 'point_poly_index' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:925:18: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:1245:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:1300:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:1319:34: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:1339:17: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:1349:17: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:782:35: warning: Expression 'direction' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:755:78: note: Calling function 'findNearestClosest', 4th argument '-1' value is -1 CuraEngine-5.0.0/src/utils/polygonUtils.cpp:769:24: note: Assuming condition is false CuraEngine-5.0.0/src/utils/polygonUtils.cpp:782:35: note: Negative value is converted to an unsigned value CuraEngine-5.0.0/src/utils/polygonUtils.cpp:783:35: warning: Expression 'direction' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] CuraEngine-5.0.0/src/utils/polygonUtils.cpp:755:78: note: Calling function 'findNearestClosest', 4th argument '-1' value is -1 CuraEngine-5.0.0/src/utils/polygonUtils.cpp:769:24: note: Assuming condition is false CuraEngine-5.0.0/src/utils/polygonUtils.cpp:783:35: note: Negative value is converted to an unsigned value CuraEngine-5.0.0/src/utils/socket.cpp:46:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/src/utils/socket.cpp:40:42: performance: Function parameter 'host' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/tests/ClipperTest.cpp:96:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ctIntersection [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/ClipperTest.cpp:123:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all_outlines [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/ClipperTest.cpp:130:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all_outlines [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/ClipperTest.cpp:77:10: style: Either there is a missing 'override', or the member function 'cura::DISABLED_ClipperTest::TearDown' can be static. [functionStatic] CuraEngine-5.0.0/tests/ExtruderPlanTest.cpp:255:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable paths [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/ExtruderPlanTest.cpp:280:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable paths [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/ExtruderPlanTest.cpp:309:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable paths [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/ExtruderPlanTest.cpp:204:12: style: Either there is a missing 'override', or the member function 'cura::ExtruderPlanPathsParameterizedTest::calculatePathWidth' can be static. [functionStatic] CuraEngine-5.0.0/tests/ExtruderPlanTest.cpp:209:10: style: Either there is a missing 'override', or the member function 'cura::ExtruderPlanPathsParameterizedTest::shouldCountPath' can be static. [functionStatic] CuraEngine-5.0.0/tests/ExtruderPlanTest.cpp:183:29: style: class member 'ExtruderPlanPathsParameterizedTest::error_margin' is never used. [unusedStructMember] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:42:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:156:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable output [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:196:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:234:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flavor [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:311:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flavor [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:332:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flavor [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:349:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flavor [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:366:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flavor [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:385:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_attr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:407:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extruder_attr [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:449:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _ [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:465:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_extruder [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:475:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_extruder [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:485:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_z_hopped [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:493:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_extruder [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:503:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_extruder [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:513:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable currentPosition [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:545:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable currentPosition [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:583:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable currentPosition [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:614:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable currentPosition [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:662:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable currentPosition [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/GCodeExportTest.cpp:225:10: style:inconclusive: Either there is a missing 'override', or the member function 'cura::GriffinHeaderTest::TearDown' can be const. [functionConst] CuraEngine-5.0.0/tests/InfillTest.cpp:61:13: performance: Variable 'name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/tests/InfillTest.cpp:103:13: performance: Variable 'name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/tests/LayerPlanTest.cpp:423:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable retraction_enable [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/LayerPlanTest.cpp:436:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hop_enable [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/LayerPlanTest.cpp:450:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_long [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/LayerPlanTest.cpp:463:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable retraction_enable [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/LayerPlanTest.cpp:476:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable combing [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/LayerPlanTest.cpp:490:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable combing [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/LayerPlanTest.cpp:506:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable combing [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/LayerPlanTest.cpp:529:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable retraction_enable [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/LayerPlanTest.cpp:60:5: warning: Member variable 'LayerPlanTest::settings' is not initialized in the constructor. [uninitMemberVar] CuraEngine-5.0.0/tests/LayerPlanTest.cpp:267:9: performance: Variable 'retraction_enable' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/tests/LayerPlanTest.cpp:268:9: performance: Variable 'hop_enable' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/tests/LayerPlanTest.cpp:269:9: performance: Variable 'combing' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] CuraEngine-5.0.0/tests/LayerPlanTest.cpp:265:5: style: Struct 'AddTravelParameters' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] CuraEngine-5.0.0/tests/PathOrderMonotonicTest.cpp:243:39: style: Local variable 'mono_b' shadows outer variable [shadowVariable] CuraEngine-5.0.0/tests/PathOrderMonotonicTest.cpp:227:35: note: Shadowed declaration CuraEngine-5.0.0/tests/PathOrderMonotonicTest.cpp:243:39: note: Shadow variable CuraEngine-5.0.0/tests/PathOrderOptimizerTest.cpp:51:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triangle [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/ReadTestPolygons.cpp:44:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/ReadTestPolygons.cpp:40:13: style: The scope of the variable 'read' can be reduced. [variableScope] CuraEngine-5.0.0/tests/ReadTestPolygons.cpp:19:13: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/tests/ReadTestPolygons.cpp:40:18: style: Variable 'read' is assigned a value that is never used. [unreadVariable] CuraEngine-5.0.0/tests/TimeEstimateCalculatorTest.cpp:157:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable always_50 [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/TimeEstimateCalculatorTest.cpp:184:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable always_50 [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/TimeEstimateCalculatorTest.cpp:214:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jerkless [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/TimeEstimateCalculatorTest.cpp:241:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jerkless [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/TimeEstimateCalculatorTest.cpp:278:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jerkless [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/TimeEstimateCalculatorTest.cpp:308:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jerkless [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/TimeEstimateCalculatorTest.cpp:336:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable always_50 [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/TimeEstimateCalculatorTest.cpp:372:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jerkless [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/WallsComputationTest.cpp:108:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable square_shape [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/WallsComputationTest.cpp:130:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable square_shape [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/WallsComputationTest.cpp:151:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ff_holes [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/WallsComputationTest.cpp:205:20: style: Variable 'line' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/tests/WallsComputationTest.cpp:160:23: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/tests/WallsComputationTest.cpp:207:17: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] CuraEngine-5.0.0/tests/arcus/ArcusCommunicationPrivateTest.cpp:60:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/arcus/ArcusCommunicationPrivateTest.cpp:214:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable meshes [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/arcus/ArcusCommunicationPrivateTest.cpp:180:21: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] CuraEngine-5.0.0/tests/arcus/ArcusCommunicationPrivateTest.cpp:217:11: style: Variable 'vertices' can be declared as reference to const [constVariableReference] CuraEngine-5.0.0/tests/arcus/ArcusCommunicationPrivateTest.cpp:180:14: style: Variable 'data' can be declared as pointer to const [constVariablePointer] CuraEngine-5.0.0/tests/arcus/ArcusCommunicationTest.cpp:115:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable slice_count [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/arcus/ArcusCommunicationTest.cpp:127:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sent_messages [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/arcus/ArcusCommunicationTest.cpp:158:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable object_count [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/integration/SlicePhaseTest.cpp:27:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_slice [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/integration/SlicePhaseTest.cpp:51:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scene [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/integration/SlicePhaseTest.cpp:111:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scene [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/settings/SettingsTest.cpp:85:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_slice [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/settings/SettingsTest.cpp:218:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_slice [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/settings/SettingsTest.cpp:235:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_slice [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/ExtrusionLineTest.cpp:34:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/ExtrusionLineTest.cpp:156:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/ExtrusionLineTest.cpp:236:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Y [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/ExtrusionLineTest.cpp:299:120: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/ExtrusionLineTest.cpp:343:120: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/ExtrusionLineTest.cpp:421:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/ExtrusionLineTest.cpp:34:21: style: Local variable 'segment_length' shadows outer variable [shadowVariable] CuraEngine-5.0.0/tests/utils/ExtrusionLineTest.cpp:20:26: note: Shadowed declaration CuraEngine-5.0.0/tests/utils/ExtrusionLineTest.cpp:34:21: note: Shadow variable CuraEngine-5.0.0/tests/utils/LinearAlg2DTest.cpp:64:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable maximum_error [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/LinearAlg2DTest.cpp:139:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable maximum_error [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/LinearAlg2DTest.cpp:126:18: style: class member 'GetAngleTest::maximum_error' is never used. [unusedStructMember] CuraEngine-5.0.0/tests/utils/MinimumSpanningTreeTest.cpp:121:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p_mst [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/MinimumSpanningTreeTest.cpp:135:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p_mst [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonConnectorTest.cpp:64:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_square_around [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonConnectorTest.cpp:84:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_square_adjacent [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonConnectorTest.cpp:109:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_square [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonConnectorTest.cpp:131:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_square [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonConnectorTest.cpp:152:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_square [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonConnectorTest.cpp:165:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_square_around [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonConnectorTest.cpp:26:37: style: class member 'PolygonConnectorTest::connected_paths' is never used. [unusedStructMember] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:79:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_square [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:98:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clipper_bug [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:113:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triangle [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:146:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triangle [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:157:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:174:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clockwise_large [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:215:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clockwise_small [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:267:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visualize [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:339:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visualize [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:393:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visualize [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:432:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visualize [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:471:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Y [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:538:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visualize [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:586:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visualize [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:611:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visualize [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:637:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visualize [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:238:17: style: Local variable 'segment_length' shadows outer variable [shadowVariable] CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:224:22: note: Shadowed declaration CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:238:17: note: Shadow variable CuraEngine-5.0.0/tests/utils/PolygonTest.cpp:26:27: style: class member 'PolygonTest::visualize' is never used. [unusedStructMember] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:56:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_square [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:68:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_square [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:92:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_square [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:110:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_square [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:126:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_square [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:142:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_square [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:156:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pointy_square [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:170:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pointy_square [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:184:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pointy_square [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:199:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pointy_square [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:241:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_square [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:312:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_squares [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:329:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_squares [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:385:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_squares [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:415:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_squares [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:423:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_squares [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:436:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_squares [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:457:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_line [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/PolygonUtilsTest.cpp:469:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_line [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/SparseGridTest.cpp:221:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_precondition [valueFlowBailoutIncompleteVar] CuraEngine-5.0.0/tests/utils/SparseGridTest.cpp:21:50: performance: Function parameter 'registered_points' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/tests/utils/SparseGridTest.cpp:21:101: performance: Function parameter 'expected_near' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/tests/utils/SparseGridTest.cpp:21:148: performance: Function parameter 'expected_far' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/tests/utils/SparseGridTest.cpp:162:51: performance: Function parameter 'registered_points' should be passed by const reference. [passedByValue] CuraEngine-5.0.0/tests/utils/StringTest.cpp:62:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] diff: head CuraEngine-5.0.0/src/ConicalOverhang.cpp:23:17: style: Variable 'layer_above' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/FffGcodeWriter.cpp:1233:12: style: Variable 'scene' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/FffGcodeWriter.cpp:523:23: style: The scope of the variable 'extruder_is_used' can be reduced. [variableScope] head CuraEngine-5.0.0/src/FffGcodeWriter.cpp:604:23: style: The scope of the variable 'extruder_is_used' can be reduced. [variableScope] head CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:250:17: style: The scope of the variable 'slicer' can be reduced. [variableScope] head CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:568:34: style: Variable 'part' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:600:42: style: Variable 'part' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:642:28: style: Variable 'part' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/FffPolygonGenerator.cpp:862:16: style: Variable 'scene' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/LayerPlan.cpp:1511:20: style: Variable 'p1' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:153:91: style: Parameter 'extruder_plans' can be declared as reference to const [constParameterReference] head CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:155:19: style: Variable 'extruder_plan' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:210:69: style: Parameter 'extruder_plans' can be declared as reference to const [constParameterReference] head CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:212:19: style: Variable 'extruder_plan' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:230:19: style: Variable 'extruder_plan' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/LayerPlanBuffer.cpp:486:12: style: Variable 'scene' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/Mold.cpp:17:42: style: Parameter 'slicer_list' can be declared as reference to const [constParameterReference] head CuraEngine-5.0.0/src/Mold.cpp:88:27: style: Variable 'mold_outline_above' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/SkeletalTrapezoidation.cpp:1263:29: style: Variable 'transition_end' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/TreeSupport.cpp:223:15: style: Variable 'layer_contact_nodes' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/Weaver.cpp:183:15: style: Variable 'polys_above' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/Weaver.cpp:205:34: style: Parameter 'supporting' can be declared as reference to const [constParameterReference] head CuraEngine-5.0.0/src/Weaver.cpp:205:56: style: Parameter 'to_be_supported' can be declared as reference to const [constParameterReference] head CuraEngine-5.0.0/src/Weaver.cpp:270:35: style: Parameter 'supporting' can be declared as reference to const [constParameterReference] head CuraEngine-5.0.0/src/Weaver.cpp:270:57: style: Parameter 'to_be_supported' can be declared as reference to const [constParameterReference] head CuraEngine-5.0.0/src/Weaver.cpp:337:37: style: Variable 'segment' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/Weaver.cpp:390:12: style: Variable 'start_close_to' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/Weaver.cpp:445:41: style: Parameter 'supporting' can be declared as reference to const [constParameterReference] head CuraEngine-5.0.0/src/Weaver.cpp:445:71: style: Parameter 'supported' can be declared as reference to const [constParameterReference] head CuraEngine-5.0.0/src/Weaver.cpp:476:20: style: Variable 'lower' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/Wireframe2gcode.cpp:128:46: style: Variable 'segment' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/Wireframe2gcode.cpp:419:86: style: Parameter 'roof_outlines' can be declared as reference to const [constParameterReference] head CuraEngine-5.0.0/src/infill/LightningDistanceField.cpp:68:28: style: Variable 'cell' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/infill/LightningGenerator.cpp:102:19: style: Variable 'current_outlines' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/infill/SierpinskiFill.cpp:252:64: style: Variable 'depth_nodes' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/mesh.cpp:35:28: style: Parameter 'v0' can be declared as reference to const [constParameterReference] head CuraEngine-5.0.0/src/mesh.cpp:35:40: style: Parameter 'v1' can be declared as reference to const [constParameterReference] head CuraEngine-5.0.0/src/mesh.cpp:35:52: style: Parameter 'v2' can be declared as reference to const [constParameterReference] head CuraEngine-5.0.0/src/multiVolumes.cpp:118:61: style: Parameter 'volumes' can be declared as reference to const [constParameterReference] head CuraEngine-5.0.0/src/multiVolumes.cpp:133:23: style: Variable 'cutting_mesh_area' can be declared as pointer to const [constVariablePointer] head CuraEngine-5.0.0/src/multiVolumes.cpp:17:49: style: Parameter 'volumes' can be declared as reference to const [constParameterReference] head CuraEngine-5.0.0/src/multiVolumes.cpp:72:59: style: Parameter 'volumes' can be declared as reference to const [constParameterReference] head CuraEngine-5.0.0/src/support.cpp:1323:40: style: Variable 'overhang_points_below' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/support.cpp:1333:24: style: Variable 'poly' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/support.cpp:625:19: style: Variable 'infill_settings' can be declared as pointer to const [constVariablePointer] head CuraEngine-5.0.0/src/support.cpp:626:19: style: Variable 'roof_settings' can be declared as pointer to const [constVariablePointer] head CuraEngine-5.0.0/src/support.cpp:627:19: style: Variable 'bottom_settings' can be declared as pointer to const [constVariablePointer] head CuraEngine-5.0.0/src/utils/SVG.cpp:143:23: style: Variable 'parts' can be declared as reference to const [constVariableReference] head CuraEngine-5.0.0/src/utils/SVG.cpp:147:25: style: Variable 'p' can be declared as reference to const [constVariableReference] DONE