[TD]Long and link dim refs (fix #13375) (#18641) #17839
Annotations
2 errors and 32 warnings
Codespell
Process completed with exit code 1.
|
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
|
Codespell:
src/Mod/Measure/App/ShapeFinder.cpp#L324
trys ==> tries
|
Cpplint:
src/Mod/Measure/App/Measurement.cpp#L54
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
|
Cpplint:
src/Mod/Measure/App/Measurement.cpp#L55
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
|
Cpplint:
src/Mod/Measure/App/Measurement.cpp#L56
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
|
Cpplint:
src/Mod/Measure/App/Measurement.cpp#L288
Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
|
Cpplint:
src/Mod/Measure/App/Measurement.cpp#L454
Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
|
Cpplint:
src/Mod/Measure/App/Measurement.cpp#L539
Using C-style cast. Use static_cast<double>(...) instead [readability/casting] [4]
|
Cpplint:
src/Mod/Measure/App/Measurement.cpp#L338
Add #include <utility> for swap [build/include_what_you_use] [4]
|
Cpplint:
src/Mod/Measure/App/Measurement.cpp#L489
Add #include <algorithm> for min [build/include_what_you_use] [4]
|
Cpplint:
src/Mod/Measure/App/Measurement.cpp#L791
Add #include <string> for string [build/include_what_you_use] [4]
|
Cpplint:
src/Mod/Measure/App/Measurement.cpp#L791
Add #include <vector> for vector<> [build/include_what_you_use] [4]
|
Clazy:
src/Base/Type.h#L119
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/Type.h#L150
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/Type.h#L155
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/Type.h#L160
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/Type.h#L165
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/Type.h#L170
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/Type.h#L175
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/TimeInfo.h#L70
Pass small and trivially-copyable type by value (const class Base::TimeInfo &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/TimeInfo.h#L70
Pass small and trivially-copyable type by value (const class Base::TimeInfo &) [-Wclazy-function-args-by-value]
|
Clazy:
src/Base/TimeInfo.h#L76
Pass small and trivially-copyable type by value (const class Base::TimeInfo &) [-Wclazy-function-args-by-value]
|
Clang-tidy:
src/Mod/Measure/App/AppMeasurePy.cpp#L85
class 'Module' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions]
|
Clang-tidy:
src/Mod/Measure/App/AppMeasurePy.cpp#L99
use '= default' to define a trivial destructor [modernize-use-equals-default]
|
Clang-tidy:
src/Mod/Measure/App/AppMeasurePy.cpp#L146
do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg]
|
Clang-tidy:
src/Mod/Measure/App/AppMeasurePy.cpp#L146
implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
|
Clang-tidy:
src/Mod/Measure/App/Measurement.cpp#L62
'measureType' should be initialized in an in-class default member initializer [cppcoreguidelines-prefer-member-initializer]
|
Clang-tidy:
src/Mod/Measure/App/Measurement.cpp#L76
method 'has3DReferences' can be made const [readability-make-member-function-const]
|
Clang-tidy:
src/Mod/Measure/App/Measurement.cpp#L102
function 'findType' has cognitive complexity of 78 (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: +2, including nesting penalty of 1, nesting level increased to 2
|
Loading