PartDesign: replace part design datum commands by the core ones #134
Annotations
1 error and 23 warnings
Cpplint
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Cpplint:
src/Mod/PartDesign/Gui/Workbench.cpp#L39
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
|
Cpplint:
src/Mod/PartDesign/Gui/Workbench.cpp#L169
Add #include <vector> for vector<> [build/include_what_you_use] [4]
|
Clazy:
src/CXX/Python3/Objects.hxx#L1021
Pass small and trivially-copyable type by value (const Py_complex &) [-Wclazy-function-args-by-value]
|
Clazy:
src/CXX/Python3/Objects.hxx#L1088
Py::seqref has copy-ctor, copy-assignment but not dtor [-Wclazy-rule-of-three]
|
Clazy:
src/CXX/Python3/Objects.hxx#L1437
Py::SeqBase::iterator has copy-ctor, copy-assignment but not dtor [-Wclazy-rule-of-three]
|
Clazy:
src/CXX/Python3/Objects.hxx#L1596
Py::SeqBase::const_iterator has copy-ctor, copy-assignment but not dtor [-Wclazy-rule-of-three]
|
Clazy:
src/CXX/Python3/Objects.hxx#L2932
Py::MapBase::iterator has copy-ctor, copy-assignment but not dtor [-Wclazy-rule-of-three]
|
Clazy:
src/CXX/Python3/Objects.hxx#L2970
Missing reference on non-trivial type (class Py::List) [-Wclazy-function-args-by-ref]
|
Clazy:
src/CXX/Python3/Objects.hxx#L3051
Py::MapBase::const_iterator has copy-ctor, copy-assignment but not dtor [-Wclazy-rule-of-three]
|
Clazy:
src/CXX/Python3/Objects.hxx#L3075
Missing reference on non-trivial type (class Py::List) [-Wclazy-function-args-by-ref]
|
Clazy:
src/CXX/Python3/Objects.hxx#L3542
Pass small and trivially-copyable type by value (const class Py::BaseException &) [-Wclazy-function-args-by-value]
|
Clazy:
src/CXX/Python3/Objects.hxx#L3553
Pass small and trivially-copyable type by value (const class Py::BaseException &) [-Wclazy-function-args-by-value]
|
Clang-tidy:
src/Mod/PartDesign/Gui/Workbench.cpp#L42
preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if]
|
Clang-tidy:
src/Mod/PartDesign/Gui/Workbench.cpp#L78
function 'setupContextMenu' has cognitive complexity of 65 (threshold 25) [readability-function-cognitive-complexity]
|
Clang-tidy
note: +1, including nesting penalty of 0, nesting level increased to 1
|
Clang-tidy
note: +2, including nesting penalty of 1, nesting level increased to 2
|
Clang-tidy
note: +1
|
Clang-tidy
note: +1
|
Clang-tidy
note: +1
|
Clang-tidy
note: +2, including nesting penalty of 1, nesting level increased to 2
|
Clang-tidy
note: +3, including nesting penalty of 2, nesting level increased to 3
|
Clang-tidy
note: +4, including nesting penalty of 3, nesting level increased to 4
|
Loading