Official source code of FreeCAD, a free and opensource multiplatform 3D parametric modeler.
12898 matches across 19 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/lint/changed_lines.py | 1 | #!/usr/bin/env python3 |
| LOW | tests/src/App/Property.cpp | 21 | * write to the Free Software Foundation, Inc., 59 Temple Place, * |
| LOW | tests/src/App/ElementMap.cpp | 421 | // "Fusion" means that we are on the "Fusion" object. |
| LOW | tests/src/App/DocumentObserver.cpp | 201 | subName += "."; |
| LOW | tests/src/App/DocumentObserver.cpp | 281 | // In this case calling SubObjectT::normalize() changes subObjTWithoutEl subname in this way: |
| LOW | tests/src/App/DocumentObserver.cpp | 301 | // In this case calling SubObjectT::normalize() changes subObjTConvertIndex subname in this way: |
| LOW | tests/src/App/DocumentObserver.cpp | 321 | // Changing the label of the Part::Box to test the differences between calling |
| LOW | tests/src/App/DocumentObserver.cpp | 461 | |
| LOW | tests/src/App/DocumentObserver.cpp | 481 | EXPECT_NE(subObjTWithSubObjNormalized.getSubName().find("Edge1"), std::string::npos); |
| LOW | tests/src/App/DocumentObserver.cpp | 501 | // The "0." part of the of the original subname is kept because the |
| LOW | tests/src/App/DocumentObserver.cpp | 521 | // SubObjectT::NormalizeOption::ConvertIndex flag isn't set; |
| LOW | tests/src/App/MappedElement.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/App/BackupPolicy.cpp | 21 | * * |
| LOW | tests/src/App/PropertyExpressionEngine.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/App/Expression.cpp | 21 | * * |
| LOW | tests/src/App/ExpressionParser.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/Gui/Camera.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/Gui/Dialogs/DlgExpressionInput.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/Base/BoundBox.cpp | 1 | #include <gtest/gtest.h> |
| LOW | tests/src/Base/SchemaTests.cpp | 21 | |
| LOW | tests/src/Base/PyException.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/Base/Reader.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/Mod/MeshPart/App/MeshPart.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/Mod/Sketcher/App/SketchObjectChanges.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/Mod/Sketcher/App/SketchObjectChanges.cpp | 1041 | assert(nonPeriodicBSpline); |
| LOW | tests/src/Mod/Sketcher/App/SketchObject.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/Mod/Measure/App/MeasureDistance.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | …ts/src/Mod/PartDesign/App/GeoFeatureGroupExtension.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/Mod/PartDesign/App/BackwardCompatibility.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/Mod/Part/App/FaceMakerBullseye.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/Mod/Part/App/FeaturePartFuse.cpp | 261 | subs = ts.getSubTopoShapes(TopAbs_FACE); |
| LOW | tests/src/Mod/Part/App/TopoShapeCache.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/Mod/Part/App/FeatureFillet.cpp | 141 | // gp_Pnt point = BRep_Tool::Pnt(TopoDS::Vertex(ex.Current())); |
| LOW | tests/src/Mod/Part/App/FeatureFillet.cpp | 161 | // } |
| LOW | tests/src/Mod/Part/App/TopoShapeMapper.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/Mod/Part/App/TopoShapeExpansion.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/Mod/Part/App/TopoShapeExpansion.cpp | 21 | #include <BRepOffsetAPI_MakeEvolved.hxx> |
| LOW | tests/src/Mod/Part/App/WireJoiner.cpp | 441 | // WireJoiner::WireJoinerP::splitEdges(), only the edges that are connected to only one of the |
| LOW | tests/src/Mod/Part/App/WireJoiner.cpp | 681 | // with another one. |
| LOW | …/src/Mod/Part/App/TopoShapeMakeShapeWithElementMap.cpp | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/Mod/Part/App/PartTestHelpers.h | 1 | // SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | tests/src/Mod/Part/App/FeatureRevolution.cpp | 181 | // Assert |
| LOW | tests/src/Mod/Material/App/TestMaterialCards.cpp | 21 | **************************************************************************/ |
| LOW | tests/src/Mod/Material/App/TestMaterialFilter.cpp | 21 | **************************************************************************/ |
| LOW | tests/src/Mod/Material/App/TestMaterials.cpp | 21 | **************************************************************************/ |
| LOW | .github/workflows/sub_lint.yml | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | .github/workflows/build_release.yml | 281 | |
| LOW | .github/workflows/sub_buildPixi.yml | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | .github/workflows/sub_prepare.yml | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | .github/workflows/CI_cleanup.yml | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | .github/workflows/CI_cleanup.yml | 21 | # * * |
| LOW | .github/workflows/codeql.yml | 1 | # For most projects, this workflow file will not need changing; you simply need |
| LOW | .github/workflows/CI_approved.yml | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | .github/workflows/CI_approved.yml | 21 | # * <https://www.gnu.org/licenses/>. * |
| LOW | .github/workflows/sub_wrapup.yml | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | .github/workflows/sub_wrapup.yml | 21 | # * * |
| LOW | .github/workflows/sub_buildWindows.yml | 1 | # *************************************************************************** |
| LOW | .github/workflows/CI_primary.yml | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | .github/workflows/codeql_cpp.yml | 1 | # For most projects, this workflow file will not need changing; you simply need |
| LOW | .github/workflows/sub_buildUbuntu.yml | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
| 5905 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | src/Mod/Draft/draftmake/make_hatch.py | 0 | this module contains freecad commands for the draft workbench |
| HIGH | src/Mod/Draft/draftguitools/gui_hatch.py | 0 | this module contains freecad commands for the draft workbench |
| HIGH | src/Mod/Draft/draftobjects/hatch.py | 0 | this module contains freecad commands for the draft workbench |
| HIGH | src/Mod/Draft/draftguitools/gui_rotate.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict |
| HIGH | src/Mod/Draft/draftguitools/gui_stretch.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict |
| HIGH | src/Mod/Draft/draftguitools/gui_trimex.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict |
| HIGH | src/Mod/Draft/draftguitools/gui_rectangles.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict |
| HIGH | src/Mod/Draft/draftguitools/gui_dimensions.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict |
| HIGH | src/Mod/Draft/draftguitools/gui_offset.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict |
| HIGH | src/Mod/Draft/draftguitools/gui_scale.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict |
| HIGH | src/Mod/Draft/draftguitools/gui_ellipses.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict |
| HIGH | src/Mod/Draft/draftguitools/gui_lines.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict |
| HIGH | src/Mod/Draft/draftguitools/gui_mirror.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict |
| HIGH | src/Mod/Draft/draftguitools/gui_split.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict |
| HIGH | src/Mod/Draft/draftguitools/gui_arcs.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict |
| HIGH | src/Mod/Draft/draftguitools/gui_move.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict |
| HIGH | src/Mod/Draft/draftguitools/gui_labels.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict |
| HIGH | src/Mod/Draft/draftguitools/gui_texts.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict |
| HIGH | src/Mod/Draft/draftguitools/gui_polygons.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict |
| HIGH | src/Mod/Draft/draftguitools/gui_rotate.py | 0 | terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or |
| HIGH | src/Mod/Draft/draftguitools/gui_rectangles.py | 0 | terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or |
| HIGH | src/Mod/Draft/draftguitools/gui_ellipses.py | 0 | terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or |
| HIGH | src/Mod/Draft/draftguitools/gui_points.py | 0 | terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or |
| HIGH | src/Mod/Draft/draftguitools/gui_arcs.py | 0 | terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or |
| HIGH | src/Mod/Draft/draftguitools/gui_arcs.py | 0 | terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or |
| HIGH | src/Mod/Draft/draftguitools/gui_move.py | 0 | terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or |
| HIGH | src/Mod/Draft/draftguitools/gui_texts.py | 0 | terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or |
| HIGH | src/Mod/Draft/draftguitools/gui_polygons.py | 0 | terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or |
| HIGH | src/Mod/Draft/draftguitools/gui_rotate.py | 0 | validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali |
| HIGH | src/Mod/Draft/draftguitools/gui_stretch.py | 0 | validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali |
| HIGH | src/Mod/Draft/draftguitools/gui_trimex.py | 0 | validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali |
| HIGH | src/Mod/Draft/draftguitools/gui_rectangles.py | 0 | validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali |
| HIGH | src/Mod/Draft/draftguitools/gui_dimensions.py | 0 | validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali |
| HIGH | src/Mod/Draft/draftguitools/gui_scale.py | 0 | validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali |
| HIGH | src/Mod/Draft/draftguitools/gui_ellipses.py | 0 | validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali |
| HIGH | src/Mod/Draft/draftguitools/gui_lines.py | 0 | validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali |
| HIGH | src/Mod/Draft/draftguitools/gui_points.py | 0 | validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali |
| HIGH | src/Mod/Draft/draftguitools/gui_mirror.py | 0 | validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali |
| HIGH | src/Mod/Draft/draftguitools/gui_arcs.py | 0 | validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali |
| HIGH | src/Mod/Draft/draftguitools/gui_move.py | 0 | validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali |
| HIGH | src/Mod/Draft/draftguitools/gui_labels.py | 0 | validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali |
| HIGH | src/Mod/Draft/draftguitools/gui_texts.py | 0 | validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali |
| HIGH | src/Mod/Draft/draftguitools/gui_polygons.py | 0 | validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali |
| HIGH | src/Mod/Draft/draftguitools/gui_downgrade.py | 0 | proceed with execution of the command after selection. |
| HIGH | src/Mod/Draft/draftguitools/gui_upgrade.py | 0 | proceed with execution of the command after selection. |
| HIGH | src/Mod/Draft/draftguitools/gui_scale.py | 0 | proceed with execution of the command after selection. |
| HIGH | src/Mod/Draft/draftguitools/gui_pointarray.py | 0 | proceed with the command if one object was selected. |
| HIGH | src/Mod/Draft/draftguitools/gui_draft2sketch.py | 0 | proceed with the command if one object was selected. |
| HIGH | src/Mod/Draft/draftguitools/gui_offset.py | 0 | proceed with the command if one object was selected. |
| HIGH | src/Mod/Draft/draftguitools/gui_shape2dview.py | 0 | proceed with the command if one object was selected. |
| HIGH | src/Mod/Draft/draftguitools/gui_patharray.py | 0 | proceed with the command if one object was selected. |
| HIGH | src/Mod/Draft/draftguitools/gui_pathtwistedarray.py | 0 | proceed with the command if one object was selected. |
| HIGH | src/Mod/Draft/draftguitools/gui_mirror.py | 0 | proceed with the command if one object was selected. |
| HIGH | src/Mod/BIM/bimcommands/BimShape2DView.py | 0 | proceed with the command if one object was selected. |
| HIGH | src/Mod/BIM/bimcommands/BimShape2DView.py | 0 | proceed with the command if one object was selected. |
| HIGH | src/Mod/BIM/bimcommands/BimShape2DView.py | 0 | proceed with the command if one object was selected. |
| HIGH | src/Mod/Draft/draftguitools/gui_splines.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view by the `activated` method of the |
| HIGH | src/Mod/Draft/draftguitools/gui_beziers.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view by the `activated` method of the |
| HIGH | src/Mod/Draft/draftguitools/gui_beziers.py | 0 | handle the 3d scene events. this is installed as an eventcallback in the inventor view by the `activated` method of the |
| HIGH | src/Mod/Draft/draftguitools/gui_polararray.py | 0 | execute when the command is called. we add callbacks that connect the 3d view with the widgets of the task panel. |
| 518 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/lint/qt_connections.py | 18 | |
| LOW | tools/lint/generic_checks.py | 12 | |
| LOW | tools/lint/generic_checks.py | 29 | |
| LOW | tools/lint/generic_checks.py | 49 | |
| LOW | tools/lint/generic_checks.py | 84 | |
| LOW | tools/lint/changed_lines.py | 103 | |
| LOW | contrib/debugger/qt_pretty_printers_lldb.py | 48 | |
| LOW | package/rattler-build/scripts/fix_macos_lib_paths.py | 53 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 373 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 557 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 992 | |
| LOW | src/Tools/MakeAppTools.py | 9 | |
| LOW | src/Tools/MakeAppTools.py | 38 | |
| LOW | src/Tools/params_utils.py | 473 | |
| LOW | src/Tools/MakeMacBundleRelocatable.py | 170 | |
| LOW | src/Tools/MakeMacBundleRelocatable.py | 232 | |
| LOW | src/Tools/MakeMacBundleRelocatable.py | 313 | |
| LOW | src/Tools/MakeMacBundleRelocatable.py | 401 | |
| LOW | src/Tools/MakeMacBundleRelocatable.py | 425 | |
| LOW | src/Tools/MakeMacBundleRelocatable.py | 80 | |
| LOW | src/Tools/LicenseChecker.py | 62 | |
| LOW | src/Tools/LicenseChecker.py | 81 | |
| LOW | src/Tools/dir2qrc.py | 119 | |
| LOW | src/Tools/updatets.py | 202 | |
| LOW | src/Tools/updatets.py | 276 | |
| LOW | src/Tools/updatets.py | 419 | |
| LOW | src/Tools/FCFileTools.py | 34 | |
| LOW | src/Tools/FCFileTools.py | 72 | |
| LOW | src/Tools/SubWCRev.py | 264 | |
| LOW | src/Tools/SubWCRev.py | 297 | |
| LOW | src/Tools/typing/stubgen/parsing.py | 105 | |
| LOW | src/Tools/typing/stubgen/parsing.py | 138 | |
| LOW | src/Tools/typing/stubgen/discovery.py | 262 | |
| LOW | src/Tools/typing/stubgen/discovery.py | 527 | |
| LOW | src/Tools/typing/stubgen/class_merge.py | 215 | |
| LOW | src/Tools/typing/stubgen/class_merge.py | 265 | |
| LOW | src/Tools/typing/stubgen/class_merge.py | 392 | |
| LOW | src/Tools/typing/stubgen/class_merge.py | 435 | |
| LOW | src/Tools/typing/stubgen/class_merge.py | 672 | |
| LOW | src/Tools/fcbt/FileTools.py | 34 | |
| LOW | src/Tools/fcbt/FileTools.py | 72 | |
| LOW | src/Tools/bindings/model/generateModel_Python.py | 338 | |
| LOW | src/Tools/bindings/model/generateModel_Python.py | 450 | |
| LOW | src/Tools/bindings/model/generateDS.py | 816 | |
| LOW | src/Tools/bindings/model/generateDS.py | 884 | |
| LOW | src/Tools/bindings/model/generateDS.py | 983 | |
| LOW | src/Tools/bindings/model/generateDS.py | 1080 | |
| LOW | src/Tools/bindings/model/generateDS.py | 1156 | |
| LOW | src/Tools/bindings/model/generateDS.py | 1328 | |
| LOW | src/Tools/bindings/model/generateDS.py | 1449 | |
| LOW | src/Tools/bindings/model/generateDS.py | 1611 | |
| LOW | src/Tools/bindings/model/generateDS.py | 1638 | |
| LOW | src/Tools/bindings/model/generateDS.py | 1806 | |
| LOW | src/Tools/bindings/model/generateDS.py | 1908 | |
| LOW | src/Tools/bindings/model/generateDS.py | 2231 | |
| LOW | src/Tools/bindings/model/generateDS.py | 2402 | |
| LOW | src/Tools/bindings/model/generateDS.py | 2945 | |
| LOW | src/Tools/bindings/model/generateDS.py | 3413 | |
| LOW | src/Tools/bindings/model/generateDS.py | 644 | |
| LOW | src/Tools/bindings/model/generateDS.py | 756 | |
| 1501 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/CMakeLists.txt | 148 | # ------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 60 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 62 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 69 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 71 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 93 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 95 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 102 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 104 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 108 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 110 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 143 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 145 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 152 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 154 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 159 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 161 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 167 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 169 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 171 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 173 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 178 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 180 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 190 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 192 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 198 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 200 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 4 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 6 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 33 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 35 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 128 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 130 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 220 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/BuildDocDoxy.cfg | 222 | #--------------------------------------------------------------------------- |
| MEDIUM | src/Tools/fcbt/DistBin.py | 22 | # ==================================================================== |
| MEDIUM | src/Tools/fcbt/DistBin.py | 29 | # ==================================================================== |
| MEDIUM | src/Tools/fcbt/DistBin.py | 37 | # ==================================================================== |
| MEDIUM | src/Tools/fcbt/DistBin.py | 49 | # ==================================================================== |
| MEDIUM | src/Tools/fcbt/DistBin.py | 59 | # ==================================================================== |
| MEDIUM | src/Tools/fcbt/DistBin.py | 68 | # ==================================================================== |
| MEDIUM | src/Tools/fcbt/BuildDoc.py | 17 | # ==================================================================== |
| MEDIUM | src/Tools/fcbt/BuildDoc.py | 28 | # ==================================================================== |
| MEDIUM | src/Tools/fcbt/BuildDoc.py | 39 | # ==================================================================== |
| MEDIUM | src/Tools/fcbt/BuildDoc.py | 44 | #==================================================================== |
| MEDIUM | src/Tools/fcbt/BuildDoc.py | 56 | #==================================================================== |
| MEDIUM | src/Tools/fcbt/BuildDoc.py | 62 | #==================================================================== |
| MEDIUM | src/Tools/fcbt/BuildDoc.py | 69 | #==================================================================== |
| MEDIUM | src/Tools/fcbt/BuildDoc.py | 74 | #==================================================================== |
| MEDIUM | src/Tools/fcbt/BuildDoc.py | 80 | #==================================================================== |
| MEDIUM | src/Tools/fcbt/BuildDoc.py | 100 | #==================================================================== |
| MEDIUM | src/Tools/fcbt/BuildDoc.py | 109 | #==================================================================== |
| MEDIUM | src/Tools/fcbt/BuildDoc.py | 118 | #==================================================================== |
| MEDIUM | src/Tools/fcbt/BuildDoc.py | 139 | #==================================================================== |
| MEDIUM | src/Tools/fcbt/BuildDoc.py | 146 | #==================================================================== |
| MEDIUM | src/Tools/fcbt/BuildDoc.py | 150 | # ==================================================================== |
| MEDIUM | src/Tools/fcbt/BuildDoc.py | 153 | # ==================================================================== |
| MEDIUM | src/Tools/fcbt/DistSetup.py | 10 | # ==================================================================== |
| MEDIUM | src/Tools/fcbt/DistSrc.py | 22 | # ==================================================================== |
| MEDIUM | src/Tools/fcbt/DistSrc.py | 29 | # ==================================================================== |
| 386 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/rendering/manage_coin_node_baselines.py | 23 | |
| LOW | .github/scripts/run_gui_tests.py | 20 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 102 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 102 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 102 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 103 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 103 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 104 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 104 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 104 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 104 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 104 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 109 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 109 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 109 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 109 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 117 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 117 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 117 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 117 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 117 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 117 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 117 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 117 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 121 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 257 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 111 | |
| LOW | package/rattler-build/windows/ssl-patch.py | 255 | |
| LOW | src/Tools/fcbt.py | 41 | |
| LOW | src/Tools/fcbt.py | 43 | |
| LOW | src/Tools/fcbt.py | 45 | |
| LOW | src/Tools/fcbt.py | 47 | |
| LOW | src/Tools/fcbt.py | 49 | |
| LOW | src/Tools/fcbt.py | 50 | |
| LOW | src/Tools/fcbt.py | 51 | |
| LOW | src/Tools/fcbt.py | 53 | |
| LOW | src/Tools/fcbt.py | 55 | |
| LOW | src/Tools/fcbt.py | 57 | |
| LOW | src/Tools/examplePy2wiki.py | 30 | |
| LOW | src/Tools/examplePy2wiki.py | 30 | |
| LOW | src/Tools/_TEMPLATEPY_/InitGui.py | 17 | |
| LOW | src/Tools/_TEMPLATE_/InitGui.py | 15 | |
| LOW | src/Tools/typing/smoke/smoke.py | 18 | |
| LOW | src/Tools/typing/stubgen/parsing.py | 22 | |
| LOW | src/Tools/typing/stubgen/module_merge.py | 16 | |
| LOW | src/Tools/typing/stubgen/discovery.py | 19 | |
| LOW | src/Tools/typing/stubgen/render.py | 16 | |
| LOW | src/Tools/typing/stubgen/naming.py | 5 | |
| LOW | src/Tools/typing/stubgen/source_inputs.py | 18 | |
| LOW | src/Tools/typing/stubgen/model.py | 14 | |
| LOW | src/Tools/typing/stubgen/class_merge.py | 16 | |
| LOW | src/Tools/typing/stubgen/generator.py | 19 | |
| LOW | src/Tools/typing/stubgen/cli.py | 16 | |
| LOW | src/Tools/typing/stubgen/doc_lint.py | 14 | |
| LOW | src/Tools/typing/stubgen/type_context_rules.py | 15 | |
| LOW | src/Tools/bindings/model/typedModel.py | 3 | |
| LOW | src/Tools/bindings/model/generateDS.py | 34 | |
| LOW | src/Tools/bindings/model/generateModel_Module.py | 13 | |
| LOW | src/App/FreeCADInit.py | 767 | |
| LOW | src/App/LinkParams.py | 12 | |
| 1530 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/lint/clang_format.py | 17 | def count_clang_format_errors(log_text: str) -> int: |
| LOW | tools/lint/generic_checks.py | 29 | def check_trailing_whitespace(file_paths): |
| LOW | package/rattler-build/windows/ssl-patch.py | 614 | def hostname_checks_common_name(self): |
| LOW | package/rattler-build/windows/ssl-patch.py | 619 | def hostname_checks_common_name(self, value): |
| LOW | package/rattler-build/windows/ssl-patch.py | 626 | def hostname_checks_common_name(self): |
| LOW | package/rattler-build/windows/ssl-patch.py | 557 | def _load_windows_store_certs(self, storename, purpose): |
| LOW | package/rattler-build/windows/ssl-patch.py | 766 | def _create_unverified_context(protocol=PROTOCOL_TLS, *, cert_reqs=CERT_NONE, |
| LOW | package/rattler-build/windows/ssl-patch.py | 969 | def verify_client_post_handshake(self): |
| LOW | package/rattler-build/windows/ssl-patch.py | 1300 | def verify_client_post_handshake(self): |
| LOW | src/Tools/params_utils.py | 395 | def preference_dialog_declare_begin(param_set, header=True): |
| LOW | src/Tools/params_utils.py | 452 | def preference_dialog_declare_end(param_set): |
| LOW | src/Tools/params_utils.py | 465 | def preference_dialog_declare(param_set, header=True): |
| LOW | src/Tools/MakeMacBundleRelocatable.py | 152 | def get_rpaths_for_resolution(library_path): |
| LOW | src/Tools/sync_version.py | 121 | def sync_rattler_build_pixi_toml(filepath: Path, version: VersionInfo) -> tuple[str, bool]: |
| LOW | src/Tools/tests/test_sync_version.py | 40 | def test_complete_version_with_suffix(self): |
| LOW | src/Tools/tests/test_sync_version.py | 44 | def test_complete_version_without_suffix(self): |
| LOW | src/Tools/tests/test_sync_version.py | 52 | def test_rpm_version_with_suffix(self): |
| LOW | src/Tools/tests/test_sync_version.py | 56 | def test_rpm_version_without_suffix(self): |
| LOW | src/Tools/tests/test_sync_version.py | 64 | def test_conda_version_with_suffix(self): |
| LOW | src/Tools/tests/test_sync_version.py | 68 | def test_conda_version_without_suffix(self): |
| LOW | src/Tools/tests/test_sync_version.py | 106 | def test_replaces_field_in_correct_section(self): |
| LOW | src/Tools/tests/test_sync_version.py | 111 | def test_does_not_modify_other_sections(self): |
| LOW | src/Tools/tests/test_sync_version.py | 115 | def test_no_match_returns_unchanged(self): |
| LOW | src/Tools/tests/test_sync_version.py | 119 | def test_key_not_in_section_returns_unchanged(self): |
| LOW | src/Tools/tests/test_sync_version.py | 123 | def test_does_not_replace_key_in_wrong_section(self): |
| LOW | src/Tools/tests/test_sync_version.py | 219 | def test_updates_version_name_description(self): |
| LOW | src/Tools/tests/test_sync_version.py | 229 | def test_updates_with_different_name(self): |
| LOW | src/Tools/tests/test_sync_version.py | 238 | def test_release_version_no_suffix(self): |
| LOW | src/Tools/tests/test_sync_version.py | 245 | def test_does_not_modify_workspace_section(self): |
| LOW | src/Tools/tests/test_sync_version.py | 255 | def test_updates_version_and_name(self): |
| LOW | src/Tools/tests/test_sync_version.py | 264 | def test_preserves_version_template_reference(self): |
| LOW | src/Tools/tests/test_sync_version.py | 271 | def test_updates_with_different_name(self): |
| LOW | src/Tools/tests/test_sync_version.py | 302 | def test_preserves_other_defines(self): |
| LOW | src/Tools/tests/test_sync_version.py | 312 | def test_updates_name_and_version(self): |
| LOW | src/Tools/tests/test_sync_version.py | 321 | def test_release_version_no_tilde(self): |
| LOW | src/Tools/tests/test_sync_version.py | 380 | def test_check_detects_out_of_sync(self, _stdout): |
| LOW | src/Tools/tests/test_sync_version.py | 386 | def test_update_then_check_is_synced(self, _stdout): |
| LOW | src/Tools/tests/test_sync_version.py | 393 | def test_check_when_already_synced(self, _stdout): |
| LOW | src/Tools/tests/test_sync_version.py | 336 | def test_updates_name_for_fork(self): |
| LOW | src/Tools/tests/test_sync_version.py | 343 | def test_preserves_other_fields(self): |
| LOW | src/Tools/tests/test_sync_version.py | 424 | def test_update_does_not_modify_synced_files(self, _stdout): |
| LOW | src/Tools/typing/stubgen/parsing.py | 291 | def cmake_registered_binding_pyi_files(root: Path, source_dir: Path) -> tuple[Path, ...]: |
| LOW | src/Tools/typing/stubgen/parsing.py | 316 | def iter_module_stub_pyi_files(root: Path, source_dir: Path) -> Iterable[Path]: |
| LOW | src/Tools/typing/stubgen/module_merge.py | 29 | def module_names_from_classes(classes: list[BindingClass]) -> set[str]: |
| LOW | src/Tools/typing/stubgen/module_merge.py | 46 | def module_names_from_overlays(overlay_dir: Path | None) -> set[str]: |
| LOW | src/Tools/typing/stubgen/module_merge.py | 83 | def ensure_parent_package_stubs(out_dir: Path, module_names: set[str]) -> None: |
| LOW | src/Tools/typing/stubgen/module_merge.py | 132 | def top_level_import_symbol_names(node: ast.stmt) -> set[str]: |
| LOW | src/Tools/typing/stubgen/module_merge.py | 150 | def class_body_defined_symbols(body: list[ast.stmt]) -> set[str]: |
| LOW | src/Tools/typing/stubgen/module_merge.py | 179 | def top_level_defined_symbols(body: list[ast.stmt]) -> set[str]: |
| LOW | src/Tools/typing/stubgen/module_merge.py | 244 | def class_support_insertion_index(body: list[ast.stmt]) -> int: |
| LOW | src/Tools/typing/stubgen/module_merge.py | 296 | def copied_assignment_support_node( |
| LOW | src/Tools/typing/stubgen/module_merge.py | 325 | def filtered_type_checking_block( |
| LOW | src/Tools/typing/stubgen/module_merge.py | 339 | def filtered_module_support_node( |
| LOW | src/Tools/typing/stubgen/module_merge.py | 377 | def filtered_module_support_nodes( |
| LOW | src/Tools/typing/stubgen/module_merge.py | 396 | def filtered_type_class_support_node( |
| LOW | src/Tools/typing/stubgen/module_merge.py | 422 | def filtered_type_class_support_nodes( |
| LOW | src/Tools/typing/stubgen/module_merge.py | 440 | def type_stub_support_sources(source: str, class_symbol: str) -> tuple[str, str]: |
| LOW | src/Tools/typing/stubgen/module_merge.py | 472 | def merge_module_support_nodes(target_source: str, support_source: str) -> str: |
| LOW | src/Tools/typing/stubgen/module_merge.py | 491 | def merge_type_class_support_nodes( |
| LOW | src/Tools/typing/stubgen/module_merge.py | 575 | def copy_module_support_stubs( |
| 1193 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | package/rattler-build/windows/ssl-patch.py | 4 | """This module provides some more Pythonic support for SSL. |
| MEDIUM | package/rattler-build/windows/ssl-patch.py | 821 | """This class implements an interface on top of a low-level SSL object as |
| MEDIUM | package/rattler-build/windows/ssl-patch.py | 980 | """This class implements a subtype of socket.socket that wraps |
| MEDIUM | package/scripts/macos_sign_and_notarize.zsh | 161 | # Create a disk image from the folder |
| MEDIUM | src/Tools/MakeApp.py | 5 | # Create a new application module |
| MEDIUM | src/Tools/SubWCRev.py | 440 | # Create an XML stream with the required information and read in with a SAX parser |
| MEDIUM | src/Tools/bindings/model/generateDS.py | 505 | # Create the needed new attributes. |
| MEDIUM | src/Tools/bindings/model/generateDS.py | 3263 | # Create an output file. |
| MEDIUM | src/Tools/bindings/templates/templateClassPyExport.py | 60 | # Create the subdir it necessary |
| MEDIUM | src/App/LinkParams.py | 8 | # The following code is to import param_util.py without needing __init__.py in Base directory |
| MEDIUM | src/Doc/sphinx/conf.py | 30 | # This file is execfile()d with the current directory set to its containing dir. |
| MEDIUM | src/Mod/Draft/importDXF.py | 36 | # This module provides support for importing and exporting Autodesk DXF files |
| MEDIUM | src/Mod/Draft/importDXF.py | 4706 | # Create the C++ base object that has .Shape and .Placement. |
| MEDIUM | src/Mod/Draft/importDXF.py | 4759 | # Create a Part::Part2DObjectPython as the Python-extensible base for Draft Wire. |
| MEDIUM | src/Mod/Draft/importAirfoilDAT.py | 7 | # This module provides support for importing airfoil .dat files |
| MEDIUM | src/Mod/Draft/DraftGui.py | 33 | # This module provides GUI tools for the Draft workbench, such as |
| MEDIUM | src/Mod/Draft/WorkingPlane.py | 37 | # This module provides the plane class which provides a virtual working plane |
| MEDIUM | src/Mod/Draft/DraftTools.py | 37 | # This module contains all the graphical commands of the Draft workbench, |
| MEDIUM | src/Mod/Draft/draftmake/make_text.py | 196 | # Create a new Draft Text object |
| MEDIUM | src/Mod/Draft/draftguitools/gui_trackers.py | 34 | # This module provides Coin (pivy) based objects |
| MEDIUM | src/Mod/Draft/draftguitools/gui_groups.py | 205 | # Create a new selection from the sub objects: |
| MEDIUM | src/Mod/Draft/draftguitools/gui_edit_draft_objects.py | 123 | """This function is overridden in the DraftBSplineGuiTools class.""" |
| MEDIUM | src/Mod/Draft/draftguitools/gui_edit_draft_objects.py | 130 | """This function is overridden in the DraftBSplineGuiTools class.""" |
| MEDIUM | src/Mod/Draft/draftguitools/gui_fillets.py | 143 | """This function is called by the taskpanel interface |
| MEDIUM | src/Mod/Draft/draftguitools/gui_snapper.py | 35 | # This module provides tools to handle point snapping and |
| MEDIUM | src/Mod/Draft/draftobjects/bspline.py | 123 | # Creating a face from a closed spline cannot be expected to always work |
| MEDIUM | src/Mod/Draft/draftobjects/circle.py | 73 | """This method is run when the object is created or recomputed.""" |
| MEDIUM | src/Mod/Draft/draftobjects/rectangle.py | 85 | """This method is run when the object is created or recomputed.""" |
| MEDIUM | src/Mod/Draft/draftobjects/base.py | 80 | # This class is assigned to the Proxy attribute |
| MEDIUM | src/Mod/Draft/draftutils/gui_utils.py | 448 | # Create a list for further processing: |
| MEDIUM | src/Mod/Draft/draftviewproviders/view_base.py | 103 | # This class is assigned to the Proxy attribute |
| MEDIUM | src/Mod/Draft/draftviewproviders/view_label.py | 221 | # This function is however triggered again from update_label. |
| MEDIUM | src/Mod/Plot/Plot.py | 363 | # Create the navigation toolbar and add it |
| MEDIUM | src/Mod/Test/TestTreeSelection.py | 6 | # This file is part of FreeCAD. * |
| MEDIUM | src/Mod/Test/TestTreeSelection.py | 86 | # Create a Draft Rectangle (matches original Part::Part2DObjectPython) |
| MEDIUM | src/Mod/Test/TestTreeSelection.py | 90 | # Create a group containing the rectangle and mirrors |
| MEDIUM | src/Mod/Test/TestTreeSelection.py | 150 | # Create the shared cube (tool for all cuts) |
| MEDIUM | src/Mod/Test/TestTreeSelection.py | 216 | # Create a simple box |
| MEDIUM | src/Mod/Test/TestTreeSelection.py | 222 | # Create a group containing the box |
| MEDIUM | src/Mod/Test/TestCoinNodeSnapshots.py | 24 | # This file is intentionally tolerant of missing optional bindings and older |
| MEDIUM | src/Mod/Test/GuiDocument.py | 41 | # Create a new document |
| MEDIUM | src/Mod/Test/Document.py | 422 | # Create a second origin object |
| MEDIUM | src/Mod/Spreadsheet/TestSpreadsheet.py | 1217 | # Create a box |
| MEDIUM | src/Mod/Spreadsheet/TestSpreadsheet.py | 1220 | # Create a second document with a cylinder |
| MEDIUM | src/Mod/TechDraw/TestTechDrawGui.py | 4 | # This file is part of the FreeCAD CAx development system. * |
| MEDIUM | src/Mod/TechDraw/TestTechDrawApp.py | 4 | # This file is part of the FreeCAD CAx development system. * |
| MEDIUM | src/Mod/TechDraw/ConversionUtilities/moveViews.py | 5 | # This file is part of the FreeCAD CAx development system. * |
| MEDIUM | src/Mod/TechDraw/TechDrawTools/TaskHoleShaftFit.py | 181 | """This class represents a subset of the ISO 286 standard""" |
| MEDIUM | src/Mod/Assembly/CommandInsertNewPart.py | 6 | # This file is part of FreeCAD. * |
| MEDIUM | src/Mod/Assembly/CommandCreateAssembly.py | 6 | # This file is part of FreeCAD. * |
| MEDIUM | src/Mod/Assembly/AssemblyImport.py | 6 | # This file is part of FreeCAD. * |
| MEDIUM | src/Mod/Assembly/UtilsAssembly.py | 6 | # This file is part of FreeCAD. * |
| MEDIUM | src/Mod/Assembly/CommandCreateSimulation.py | 6 | # This file is part of FreeCAD. * |
| MEDIUM | src/Mod/Assembly/CommandCreateSimulation.py | 467 | # Create a non-modal, frameless dialog |
| MEDIUM | src/Mod/Assembly/CommandCreateSimulation.py | 473 | # Create the joints combobox |
| MEDIUM | src/Mod/Assembly/CommandCreateSimulation.py | 477 | # Create the motion type combobox |
| MEDIUM | src/Mod/Assembly/CommandCreateSimulation.py | 492 | # Create the line edit for the formula |
| MEDIUM | src/Mod/Assembly/CommandCreateSimulation.py | 543 | # Create the help QLabels and set them to be initially hidden |
| MEDIUM | src/Mod/Assembly/CommandCreateSimulation.py | 678 | # Create the Help button |
| MEDIUM | src/Mod/Assembly/CommandCreateJoint.py | 6 | # This file is part of FreeCAD. * |
| 345 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/lint/qt_connections.py | 31 | except Exception as e: |
| LOW | tools/lint/generic_checks.py | 24 | except Exception as e: |
| LOW | tools/lint/generic_checks.py | 44 | except Exception as e: |
| LOW | tools/lint/generic_checks.py | 62 | except Exception as e: |
| LOW | tools/lint/codespell.py | 21 | except Exception as e: |
| LOW | tools/lint/cpplint.py | 32 | except Exception as e: |
| LOW | contrib/debugger/qt_pretty_printers_lldb.py | 100 | except Exception as e: # pylint: disable=broad-except |
| LOW | contrib/debugger/qt_pretty_printers_gdb.py | 100 | except Exception as e: # pylint: disable=broad-except |
| LOW | package/scripts/macos_sign_and_notarize.zsh | 217 | except Exception: |
| LOW | src/Tools/MakeAppTools.py | 27 | except Exception: |
| MEDIUM | src/Tools/MakeAppTools.py | 28 | print("Error modifying ", pathName, " -- skipped") |
| LOW | src/Tools/MakeAppTools.py | 33 | except Exception: |
| MEDIUM | src/Tools/MakeAppTools.py | 34 | print("Error changing to directory ", pathName, " -- skipped") |
| LOW | src/Tools/MakeAppTools.py | 63 | except Exception: |
| MEDIUM | src/Tools/MakeAppTools.py | 64 | print("Error copying ", pathFrom, " to ", pathTo, " -- skipped") |
| LOW | src/Tools/MakeAppTools.py | 83 | except Exception: |
| MEDIUM | src/Tools/MakeAppTools.py | 84 | print("Error creating ", pathTo, " -- skipped") |
| LOW | src/Tools/MakeMacBundleRelocatable.py | 366 | except Exception: |
| LOW | src/Tools/MakeMacBundleRelocatable.py | 480 | except Exception: |
| LOW | src/Tools/LicenseChecker.py | 94 | except Exception: |
| LOW | src/Tools/updatets.py | 385 | except Exception as e: |
| LOW | src/Tools/updatets.py | 483 | except Exception as e: |
| LOW | src/Tools/make_snapshot.py | 31 | except Exception as e: |
| MEDIUM | src/Tools/make_snapshot.py | 28 | def init_gui(): |
| LOW | src/Tools/FCFileTools.py | 49 | except Exception: |
| MEDIUM | src/Tools/FCFileTools.py | 50 | print("Error copying ", pathFrom, " to ", pathTo, " -- skipped") |
| LOW | src/Tools/FCFileTools.py | 59 | except Exception: |
| MEDIUM | src/Tools/FCFileTools.py | 60 | print("Error creating ", pathTo, " -- skipped") |
| LOW | src/Tools/FCFileTools.py | 92 | except Exception: |
| MEDIUM | src/Tools/FCFileTools.py | 93 | print("Error copying ", pathFrom, " to ", pathTo, " -- skipped") |
| LOW | src/Tools/FCFileTools.py | 102 | except Exception: |
| MEDIUM | src/Tools/FCFileTools.py | 103 | print("Error creating ", pathTo, " -- skipped") |
| LOW | src/Tools/updatecrowdin.py | 487 | except Exception as e: |
| LOW | src/Tools/SubWCRev.py | 102 | except Exception: |
| LOW | src/Tools/SubWCRev.py | 154 | except Exception: |
| LOW | src/Tools/SubWCRev.py | 180 | except Exception: |
| LOW | src/Tools/SubWCRev.py | 195 | except Exception: |
| LOW | src/Tools/SubWCRev.py | 228 | except Exception: |
| LOW | src/Tools/SubWCRev.py | 448 | except Exception: |
| MEDIUM | src/Tools/SubWCRev.py | 151 | def extractInfo(self, srcdir, bindir): |
| LOW | src/Tools/fcbt/CreatePyModule.py | 127 | except Exception: |
| LOW | src/Tools/fcbt/FileTools.py | 49 | except Exception: |
| MEDIUM | src/Tools/fcbt/FileTools.py | 50 | print("Error copying", pathFrom, "to", pathTo, "--skipped") |
| LOW | src/Tools/fcbt/FileTools.py | 59 | except Exception: |
| MEDIUM | src/Tools/fcbt/FileTools.py | 60 | print("Error creating", pathTo, "--skipped") |
| LOW | src/Tools/fcbt/FileTools.py | 92 | except Exception: |
| MEDIUM | src/Tools/fcbt/FileTools.py | 93 | print("Error copying", pathFrom, "to", pathTo, "--skipped") |
| LOW | src/Tools/fcbt/FileTools.py | 102 | except Exception: |
| MEDIUM | src/Tools/fcbt/FileTools.py | 103 | print("Error creating", pathTo, "--skipped") |
| LOW | src/Tools/fcbt/CreateModule.py | 130 | except Exception: |
| LOW | src/Tools/bindings/model/generateTools.py | 65 | except Exception: |
| MEDIUM | src/App/FreeCADInit.py | 1072 | def run_init(self) -> None: |
| MEDIUM | src/App/FreeCADInit.py | 1555 | def init_applications() -> None: |
| LOW | src/App/FreeCADInit.py | 1559 | except Exception as ex: |
| LOW | src/App/FreeCADInit.py | 1011 | except Exception as ex: |
| LOW | src/App/FreeCADInit.py | 1075 | except Exception as ex: |
| LOW | src/App/FreeCADInit.py | 1086 | except Exception as ex: |
| LOW | src/App/FreeCADInit.py | 1218 | except Exception as ex: |
| LOW | src/App/FreeCADInit.py | 297 | except Exception: |
| LOW | src/App/FreeCADInit.py | 307 | except Exception: |
| 622 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | src/3rdParty/libkdtree/python-bindings/gen-swig-hpp.py | 209 | return %s && A.data == B.data; |
| HIGH | src/Mod/Draft/importDXF.py | 875 | if not DraftVecUtils.equals(v1, v2): |
| HIGH | src/Mod/Draft/importDXF.py | 940 | if not DraftVecUtils.equals(v1, v2): |
| HIGH | src/Mod/Draft/importDXF.py | 966 | if not DraftVecUtils.equals(v1, v2): |
| HIGH | src/Mod/Draft/draftguitools/gui_trackers.py | 478 | if DraftVecUtils.equals(p1, p4): |
| HIGH | src/Mod/Draft/draftguitools/gui_lines.py | 260 | if not DraftVecUtils.equals(last, point): |
| HIGH | src/Mod/Draft/draftguitools/gui_snapper.py | 702 | if DraftVecUtils.equals( |
| HIGH | src/Mod/Draft/draftobjects/pointarray.py | 174 | if DraftVecUtils.equals(vec, res): |
| HIGH | src/Mod/Draft/draftobjects/patharray.py | 411 | if not DraftVecUtils.equals(Xaxis, obj.TangentVector): |
| HIGH | src/Mod/Draft/draftobjects/patharray.py | 861 | if not DraftVecUtils.equals(vpt, lpt): |
| HIGH | src/Mod/Draft/draftobjects/wire.py | 199 | if not DraftVecUtils.equals(lp, p): |
| HIGH | src/Mod/Draft/draftobjects/clone.py | 140 | if not DraftVecUtils.equals(obj.Scale, App.Vector(1, 1, 1)): |
| HIGH | src/Mod/Draft/draftfunctions/join.py | 65 | DraftVecUtils.equals(wire1AbsPoints[0], wire2AbsPoints[-1]) |
| HIGH | src/Mod/Draft/draftfunctions/join.py | 66 | and DraftVecUtils.equals(wire1AbsPoints[-1], wire2AbsPoints[0]) |
| HIGH | src/Mod/Draft/draftfunctions/join.py | 68 | DraftVecUtils.equals(wire1AbsPoints[0], wire2AbsPoints[0]) |
| HIGH | src/Mod/Draft/draftfunctions/join.py | 69 | and DraftVecUtils.equals(wire1AbsPoints[-1], wire2AbsPoints[-1]) |
| HIGH | src/Mod/Draft/draftfunctions/join.py | 73 | elif DraftVecUtils.equals(wire1AbsPoints[0], wire2AbsPoints[0]): |
| HIGH | src/Mod/Draft/draftfunctions/join.py | 75 | elif DraftVecUtils.equals(wire1AbsPoints[0], wire2AbsPoints[-1]): |
| HIGH | src/Mod/Draft/draftfunctions/join.py | 78 | elif DraftVecUtils.equals(wire1AbsPoints[-1], wire2AbsPoints[-1]): |
| HIGH | src/Mod/Draft/draftfunctions/join.py | 80 | elif DraftVecUtils.equals(wire1AbsPoints[-1], wire2AbsPoints[0]): |
| HIGH | src/Mod/Draft/draftviewproviders/view_dimension.py | 378 | if DraftVecUtils.equals(self.p2, self.p3): |
| HIGH | src/Mod/Draft/draftviewproviders/view_dimension.py | 388 | if DraftVecUtils.equals(self.p1, self.p4): |
| HIGH | src/Mod/Draft/draftgeoutils/circles.py | 234 | if DraftVecUtils.equals(cir.Center, intsec.Center): |
| HIGH | src/Mod/Draft/draftgeoutils/circles.py | 308 | if DraftVecUtils.equals(p1, p2): |
| HIGH | src/Mod/Draft/draftgeoutils/circles.py | 354 | if DraftVecUtils.equals(circle1.Curve.Center, circle2.Curve.Center): |
| HIGH | src/Mod/Draft/draftgeoutils/circles.py | 417 | if DraftVecUtils.equals(circle1.Curve.Center, circle2.Curve.Center): |
| HIGH | src/Mod/Draft/draftgeoutils/edges.py | 50 | if DraftVecUtils.equals(anEdge.Vertexes[0].Point, aList[e].Vertexes[0].Point): |
| HIGH | src/Mod/Draft/draftgeoutils/edges.py | 51 | if DraftVecUtils.equals(anEdge.Vertexes[-1].Point, aList[e].Vertexes[-1].Point): |
| HIGH | src/Mod/Draft/draftgeoutils/edges.py | 98 | if DraftVecUtils.equals(e1.Vertexes[0].Point, e2.Vertexes[0].Point) and DraftVecUtils.equals( |
| HIGH | src/Mod/Draft/draftgeoutils/edges.py | 102 | elif DraftVecUtils.equals(e1.Vertexes[-1].Point, e2.Vertexes[0].Point) and DraftVecUtils.equals( |
| HIGH | src/Mod/Draft/draftgeoutils/edges.py | 125 | if abs(bspline.length() - dist_start_end) < 1e-7: |
| HIGH | src/Mod/Draft/draftgeoutils/intersections.py | 220 | if DraftVecUtils.equals(pt1, pt3) or DraftVecUtils.equals(pt1, pt4): |
| HIGH | src/Mod/Draft/draftgeoutils/wires.py | 65 | if DraftVecUtils.equals(e1.Vertexes[0].Point, e2.Vertexes[0].Point): |
| HIGH | src/Mod/Draft/draftgeoutils/wires.py | 67 | if DraftVecUtils.equals(e1.Vertexes[0].Point, e2.Vertexes[-1].Point): |
| HIGH | src/Mod/Draft/draftgeoutils/wires.py | 69 | if DraftVecUtils.equals(e1.Vertexes[-1].Point, e2.Vertexes[0].Point): |
| HIGH | src/Mod/Draft/draftgeoutils/wires.py | 71 | if DraftVecUtils.equals(e1.Vertexes[-1].Point, e2.Vertexes[-1].Point): |
| HIGH | src/Mod/Draft/draftgeoutils/circle_inversion.py | 63 | if DraftVecUtils.equals(cen, point): |
| HIGH | src/Mod/Draft/draftgeoutils/circle_inversion.py | 113 | if DraftVecUtils.equals(cen1, cen2): |
| HIGH | src/Mod/Draft/draftgeoutils/general.py | 85 | if DraftVecUtils.equals(p1, p2): |
| HIGH | src/Mod/Fem/femguiutils/vtk_table_view.py | 183 | translate("FEM", "Copy selection to clipboard ({})".format(shortcut.toString())) |
| HIGH | src/Mod/CAM/Path/Geom.py | 619 | alpha = math.asin((z1 - z0) / arc.length()) |
| HIGH | src/Mod/CAM/Path/Geom.py | 621 | step = arc.length() / (points - 1) |
| HIGH | src/Mod/CAM/Path/Tool/toolbit/ui/editor.py | 399 | label = translate('CAM', 'Feeds && Speeds') |
| HIGH | src/Mod/CAM/Machine/models/machine.py | 219 | # Default to X-axis if vector is null or zero-length |
| HIGH | src/Mod/CAM/Machine/models/machine.py | 318 | # Default to Z-axis rotation if vector is null or zero-length |
| HIGH | src/Mod/CAM/CAMTests/TestPathHelpers.py | 119 | # Test that non-change commands return false |
| HIGH | src/Mod/CAM/CAMTests/TestPathToolBitSerializer.py | 118 | b'{"name": "Test Tool", "pocket": null, "shape": "endmill", ' |
| HIGH | src/Mod/CAM/CAMTests/TestPathToolBitSerializer.py | 129 | b'{"name": "Test Tool", "pocket": null, "shape": "endmill", ' |
| HIGH | src/Mod/TemplatePyMod/DocumentObject.py | 205 | return self.__vobject__.toString() |
| HIGH | src/Mod/BIM/ArchFloor.py | 313 | if not DraftVecUtils.equals(pl.Base, self.OldPlacement.Base): |
| HIGH | src/Mod/BIM/ArchFence.py | 227 | if sectionLength > sectionLine.length() - postLength: |
| HIGH | src/Mod/BIM/ArchFence.py | 230 | sectionCopy, sectionLength, sectionLine.length() - postLength |
| HIGH | src/Mod/BIM/ArchStairs.py | 1371 | distFrom2ndParameter = l0.length() - distFrom1stParameter |
| HIGH | src/Mod/BIM/ArchStairs.py | 1386 | distFrom2ndParameter = l99.length() - distFrom1stParameter |
| HIGH | src/Mod/BIM/ArchRebar.py | 740 | length += geo.length() |
| HIGH | src/Mod/BIM/ArchCommands.py | 308 | """makeComponent([baseobj],[name],[delete]): creates an undefined, non-parametric BIM |
| HIGH | src/Mod/BIM/ArchComponent.py | 1100 | Check if the shape is valid, isn't null, and if it has volume. Remove |
| HIGH | src/Mod/BIM/ArchIFC.py | 170 | If the IFC type is undefined, return the schema of the |
| HIGH | src/Mod/BIM/Arch.py | 1947 | will remain undefined, resulting in a shapeless object until `WindowParts` |
| HIGH | src/Mod/BIM/importers/exportIFC.py | 1868 | if not DraftVecUtils.equals(last, e.Vertexes[0].Point): |
| 21 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | contrib/debugger/qt_pretty_printers_gdb.py | 120 | # Check if the printer is already registered |
| LOW | package/scripts/macos_sign_and_notarize.zsh | 78 | # Check if SIGNING_KEY_ID is set |
| LOW | src/Tools/bindings/model/generateModel_Python.py | 469 | # Check if this is a Final type hint, e.g. Final[int] or typing.Final[int] |
| LOW | src/Tools/bindings/templates/templateClassPyExport.py | 16 | # Check if files exist |
| LOW | src/Tools/bindings/templates/templateClassPyExport.py | 21 | # Read file contents |
| LOW | src/Doc/BuildDocDoxy.cfg | 367 | # Set it to YES to include the internal documentation. |
| LOW | src/Doc/BuildDocDoxyFull.cfg | 290 | # Set it to YES to include the internal documentation. |
| LOW | src/Mod/Draft/importDXF.py | 4766 | # Check if all segments of the wire are straight lines. |
| LOW | src/Mod/Draft/importSVG.py | 1437 | # Close the file |
| LOW | src/Mod/Draft/draftguitools/gui_snapper.py | 314 | # Check if parallel to one of the edges of the last objects |
| LOW | src/Mod/Draft/draftguitools/gui_snapper.py | 321 | # Check if we have an object under the cursor and try to |
| LOW | src/Mod/Draft/draftobjects/patharray.py | 475 | # Check if all referenced properties are available: |
| LOW | src/Mod/Draft/draftobjects/patharray.py | 494 | # Check if referenced property is available: |
| LOW | src/Mod/Draft/draftobjects/patharray.py | 505 | # Check if all referenced properties are available: |
| LOW | src/Mod/Draft/draftutils/gui_utils.py | 1034 | # Check if the object is already active in its context |
| LOW | src/Mod/Draft/draftgeoutils/geometry.py | 247 | # Check if the shape is planar |
| LOW | src/Mod/Test/GuiDocument.py | 113 | # Check if the new function returns the correct root objects |
| LOW | src/Mod/Fem/feminout/importCcxFrdResults.py | 388 | # Check if we found nodes section |
| LOW | src/Mod/Fem/feminout/importCcxFrdResults.py | 399 | # Check if we found elements section |
| LOW | src/Mod/Fem/feminout/importCcxFrdResults.py | 639 | # Check if we found new eigenmode line |
| LOW | src/Mod/Fem/feminout/importCcxFrdResults.py | 646 | # Check if we found new time step |
| LOW | src/Mod/Fem/feminout/importCcxFrdResults.py | 658 | # Check if we found displacement section |
| LOW | src/Mod/Fem/feminout/importCcxFrdResults.py | 669 | # Check if we found stress section |
| LOW | src/Mod/Fem/feminout/importCcxFrdResults.py | 686 | # Check if we found strain section |
| LOW | src/Mod/Fem/feminout/importCcxFrdResults.py | 703 | # Check if we found an equivalent plastic strain section |
| LOW | src/Mod/Fem/feminout/importCcxFrdResults.py | 712 | # Check if we found a temperature section |
| LOW | src/Mod/Fem/feminout/importCcxFrdResults.py | 721 | # Check if we found heat flux section |
| LOW | src/Mod/Fem/feminout/importCcxFrdResults.py | 732 | # Check if we found a mass flow section |
| LOW | src/Mod/Fem/feminout/importCcxFrdResults.py | 747 | # Check if we found a network pressure section |
| LOW | src/Mod/Fem/feminout/importCcxFrdResults.py | 761 | # Check if we found the end of a section |
| LOW | src/Mod/Fem/feminout/importCcxFrdResults.py | 832 | # Check if we found the end of frd data |
| LOW | src/Mod/Assembly/CommandInsertNewPart.py | 67 | # Check if document is saved before proceeding |
| LOW | src/Mod/Assembly/CommandCreateJoint.py | 486 | # Check if part is grounded and if so delete the joint. |
| LOW | src/Mod/Assembly/CommandInsertLink.py | 157 | # Check if object.Name & object.LinkedObject.Name exists |
| LOW | src/Mod/Assembly/JointObject.py | 2242 | # Check if the addition is acceptable (we are not doing this in selection gate to let user move objects) |
| LOW | src/Mod/OpenSCAD/OpenSCADFeatures.py | 294 | # Check if property Tolerance exist and preserve support for backward compatibility |
| LOW | src/Mod/CAM/InitGui.py | 99 | # Check if CAM asset migration is needed for version upgrade |
| LOW | src/Mod/CAM/Path/Preferences.py | 129 | # Check if we have a CamAssets path already set |
| LOW | src/Mod/CAM/Path/Post/Processor.py | 1116 | # Check if this is a tool change command (M6) |
| LOW | src/Mod/CAM/Path/Post/Processor.py | 1124 | # Check if this is the first move after tool change |
| LOW | src/Mod/CAM/Path/Post/Processor.py | 1130 | # Check if this move has both XY and Z components |
| LOW | src/Mod/CAM/Path/Post/Processor.py | 2155 | # Check if comments should be output |
| LOW | src/Mod/CAM/Path/Post/Processor.py | 2285 | # Check if we should suppress duplicate parameters |
| LOW | src/Mod/CAM/Path/Post/GcodeProcessingUtils.py | 393 | # Check if this is a rapid move without side effects |
| LOW | src/Mod/CAM/Path/Post/Utils.py | 450 | # Check if this cycle has different parameters than the last one |
| LOW | src/Mod/CAM/Path/Post/Utils.py | 456 | # Check if we need to terminate the previous cycle |
| LOW | src/Mod/CAM/Path/Post/scripts/svg_post.py | 143 | # Check if the edge is vertical (should be skipped) |
| LOW | src/Mod/CAM/Path/Post/scripts/marlin_legacy_post.py | 109 | SHOW_EDITOR = True # Display the resulting gcode file |
| LOW | src/Mod/CAM/Path/Post/scripts/marlin_legacy_post.py | 460 | # Write the file: |
| LOW | src/Mod/CAM/Path/Post/scripts/linuxcnc_post.py | 258 | # Check if this is a tapping cycle with rigid annotation |
| LOW | src/Mod/CAM/Path/Post/scripts/linuxcnc_post.py | 350 | # Check if this is G80/G98/G99 with tapping annotation |
| LOW | src/Mod/CAM/Path/Post/scripts/linuxcnc_post.py | 353 | # Check if this is part of a tapping operation with rigid annotation |
| LOW | src/Mod/CAM/Path/Post/scripts/generic_plasma_post.py | 406 | # Check if this is a Z move to cut height (first entry) |
| LOW | src/Mod/CAM/Path/Post/scripts/rrf_legacy_post.py | 100 | SHOW_EDITOR = True # Display the resulting gcode file |
| LOW | src/Mod/CAM/Path/Post/scripts/rrf_legacy_post.py | 454 | # Write the file: |
| LOW | src/Mod/CAM/Path/Post/scripts/smoothie_post.py | 165 | # Check if remote posting is enabled and IP address is specified |
| LOW | src/Mod/CAM/Path/Post/scripts/opensbp_post.py | 370 | # Check if automatic tool changer is enabled |
| LOW | src/Mod/CAM/Path/Post/scripts/heidenhain_legacy_post.py | 182 | LBLIZE_ACTIVE = False # Check if search for LBL |
| LOW | src/Mod/CAM/Path/Post/Gui/DlgPostProcess.py | 843 | # Check if it's a tool controller |
| LOW | src/Mod/CAM/Path/Op/PocketShape.py | 239 | # Check if selected vertical faces form a loop |
| 80 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | package/scripts/macos_sign_and_notarize.zsh | 189 | print -r -- "$id" # ID is a string here, not an integer, so I can't just return it |
| MEDIUM | src/3rdParty/lru-cache/include/lru/internal/hash.hpp | 32 | /// Essentially hashes all tuple elements and jumbles the |
| MEDIUM | src/Mod/Mesh/App/WildMagic4/Wm4ConvexHull2.h | 34 | // uses floating-point arithmetic, but is not robust in all cases. |
| MEDIUM | src/Mod/Mesh/App/WildMagic4/Wm4ConvexHull2.h | 84 | // Support for robust queries. |
| MEDIUM | src/Mod/Mesh/App/WildMagic4/Wm4Delaunay3.h | 45 | // uses floating-point arithmetic, but is not robust in all cases. |
| MEDIUM | src/Mod/Mesh/App/WildMagic4/Wm4Delaunay3.h | 156 | // are for robust calculations. |
| MEDIUM | src/Mod/Mesh/App/WildMagic4/Wm4TriangulateEC.h | 104 | // uses floating-point arithmetic, but is not robust in all cases. The |
| MEDIUM | src/Mod/Mesh/App/WildMagic4/Wm4TriangulateEC.h | 287 | // For robust determinant calculation. |
| MEDIUM | src/Mod/Mesh/App/WildMagic4/Wm4PolynomialRoots.h | 31 | // A: algebraic using closed-form expressions (fast, typically not robust) |
| MEDIUM | src/Mod/Mesh/App/WildMagic4/Wm4PolynomialRoots.h | 32 | // B: bisection (after root bounding, slow and robust) |
| MEDIUM | src/Mod/Mesh/App/WildMagic4/Wm4PolynomialRoots.h | 33 | // N: Newton's/bisection hybrid (after root bounding, medium and robust) |
| MEDIUM | src/Mod/Mesh/App/WildMagic4/Wm4PolynomialRoots.h | 34 | // E: eigenvalues of a companion matrix (fast and robust) |
| MEDIUM | src/Mod/Mesh/App/WildMagic4/Wm4Delaunay2.h | 43 | // uses floating-point arithmetic, but is not robust in all cases. |
| MEDIUM | src/Mod/Mesh/App/WildMagic4/Wm4Delaunay2.h | 144 | // are for robust calculations. |
| MEDIUM | src/Mod/Mesh/App/WildMagic4/Wm4ConvexHull3.h | 35 | // uses floating-point arithmetic, but is not robust in all cases. |
| MEDIUM | src/Mod/Mesh/App/WildMagic4/Wm4ConvexHull3.h | 91 | // Support for robust queries. |
| LOW | src/Mod/Draft/draftobjects/dimension.py | 140 | # It is just set at creation time by the make_dimension function |
| LOW | src/Mod/Draft/draftfunctions/svgshapes.py | 423 | # final svg string already calculated, so just return it |
| MEDIUM | src/Mod/Test/TestCoinNodeSnapshots.py | 25 | # FreeCAD/Coin/Pivy environments; it is a test harness rather than library code. |
| MEDIUM | src/Mod/Test/TestCoinNodeSnapshots.py | 943 | # Structural Similarity Index (SSIM) provides a more robust signal than raw per-pixel diffs |
| MEDIUM | src/Mod/Fem/femtools/geomtools.py | 134 | # BoundBox is possible too, but is BB calculations robust?! |
| MEDIUM | src/Mod/Fem/femresult/resulttools.py | 402 | # maybe a dictionary would be far more robust than a list |
| MEDIUM | src/Mod/TechDraw/App/Geometry.h | 421 | bool m_reference; //reference vertex (ex robust dimension) |
| MEDIUM | src/Mod/Sketcher/App/planegcs/Constraints.cpp | 1569 | // We switch to the robust 'r1 - r2 = 0' formulation, which has a |
| MEDIUM | src/Mod/Sketcher/App/planegcs/Constraints.cpp | 1592 | // Provide the gradient corresponding to the robust 'r1 - r2 = 0' error function. |
| MEDIUM | src/Mod/Sketcher/Gui/EditModeConstraintCoinManager.h | 276 | /// Essentially a version of sendConstraintIconToCoin, with a blank icon |
| LOW | src/Mod/OpenSCAD/OpenSCADFeatures.py | 581 | # OpenSCAD does not spline this surface, so neither do we: just create a |
| LOW | src/Mod/OpenSCAD/importCSG.py | 264 | # just return the plain modifier for now |
| LOW | src/Mod/CAM/Path/Post/Processor.py | 1164 | # Move doesn't have both XY and Z, just add it as-is |
| LOW | src/Mod/CAM/Path/Dressup/Gui/LeadInOut.py | 1303 | # we just use a flag and set it to false afterwards. To find the last |
| LOW | src/Mod/CAM/Path/Dressup/Gui/Dragknife.py | 384 | # don't worry about non-move commands, just add to output |
| LOW | src/Mod/CAM/Path/Dressup/Gui/Dragknife.py | 396 | # rapid retract triggers exit move, else just add to output |
| LOW | src/Mod/CAM/Path/Op/Custom.py | 159 | # probably absolute, just return |
| LOW | src/Mod/CAM/Path/Op/ThreadMilling.py | 183 | # Since we already have the outer diameter it's simpler to just add 1/8 * H |
| LOW | src/Mod/CAM/Path/Op/Adaptive.py | 582 | # FIXME: Kinda gross- just use this to match up with the |
| LOW | src/Mod/CAM/Path/Op/Adaptive.py | 601 | # FIXME: Kinda gross- just use this to match up with the |
| LOW | src/Mod/CAM/Path/Base/Generator/facing_common.py | 113 | # Fallback - just use adjacent edges (should be perpendicular for rectangles) |
| LOW | src/Mod/CAM/Path/Tool/toolbit/migration.py | 67 | # For dicts, just set the value |
| LOW | src/Mod/CAM/Path/Tool/toolbit/models/base.py | 953 | # Use the _shape_type (subclass) as the shape-type if it differs from the actual shape name, to preserve the ali |
| LOW | src/Mod/CAM/Path/Tool/assets/cache.py | 48 | timestamp: float # For LRU, or just use OrderedDict nature |
| MEDIUM | src/Mod/Points/App/Points.cpp | 89 | // cannot use QtConcurrent We could also rewrite Points to leverage SIMD instructions Other |
| LOW | src/Mod/TemplatePyMod/FeaturePython.py | 147 | a.ViewObject.Proxy=0 # just set it to something different from None |
| LOW | src/Mod/BIM/ArchRoof.py | 872 | # (upward or downward), or it is curve surface, just add. |
| LOW | src/Mod/BIM/ArchSite.py | 2140 | # If Qt is unavailable or scheduling fails, just return silently. |
| LOW | src/Mod/BIM/ArchStairs.py | 1477 | ) # distList.append((intersectionI-p1[i]).Length)) # TODO just use p1[i] for test; may be p2[i-1]...? |
| LOW | src/Mod/BIM/ArchStairs.py | 1489 | ) # distList.append((intersectionI-p4[i]).Length)) # TODO just use p4[i] for test; may be p3[i-1]...? |
| MEDIUM | src/Mod/BIM/ArchWindow.py | 778 | # TODO More robust approach : With ArchSketch, on which wall segment an ArchObject is attached to is de |
| MEDIUM | src/Mod/BIM/ArchReport.py | 2316 | # --- Use QDesktopServices for robust, cross-platform opening (Refinement #3) --- |
| MEDIUM | src/Mod/BIM/ArchCurtainWall.py | 487 | # Curve extruded face (surface) seems return no Plane - need more robust algorithm |
| MEDIUM | src/Mod/BIM/ArchCurtainWall.py | 492 | # TODO 2025.6.15 : Need a more robust algorithm below |
| MEDIUM | src/Mod/BIM/ArchSql.py | 371 | # 2. Add a comprehensive unit test suite for this new core function. |
| LOW | src/Mod/BIM/ArchSql.py | 1718 | # Otherwise, it's already a transformed function object, so just return it. |
| LOW | src/Mod/BIM/ArchSql.py | 1850 | # by their own methods, so we just pass them up. |
| LOW | src/Mod/BIM/ArchWall.py | 845 | # extrusion data, just use that. |
| LOW | src/Mod/BIM/importers/exportIFCHelper.py | 328 | # to compress a new type, just add the necessary method here |
| LOW | src/Mod/BIM/importers/exportIFCStructuralTools.py | 364 | # just add the point, no other member using it yet |
| LOW | src/Mod/BIM/importers/exportIFCStructuralTools.py | 407 | # just add the curve, no other member using it yet |
| MEDIUM | src/Mod/BIM/bimtests/TestArchWallGui.py | 405 | # Start with a comprehensive dictionary built from the real parameter definitions |
| MEDIUM | src/Mod/BIM/bimtests/TestArchReport.py | 590 | # This is the most robust way to ensure the test is correct and not |
| MEDIUM | src/Mod/BIM/bimtests/TestArchReport.py | 27 | ) # Store as Quantity for robust comparison |
| 14 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 48 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 54 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 55 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 56 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 57 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 64 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 71 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 72 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 79 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 87 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 95 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 97 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 98 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 124 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 138 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 154 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 185 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/sort_edges.py | 186 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/wires.py | 125 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/wires.py | 128 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/wires.py | 147 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/wires.py | 148 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/wires.py | 150 | |
| MEDIUM | src/Mod/Draft/draftgeoutils/wires.py | 155 | |
| MEDIUM | src/Mod/Fem/femtest/app/test_ccxtools.py | 226 | |
| MEDIUM | src/Mod/Fem/femtest/app/test_ccxtools.py | 228 | |
| MEDIUM | src/Mod/Fem/femtest/app/test_ccxtools.py | 229 | |
| MEDIUM | src/Mod/Fem/femtest/app/test_ccxtools.py | 243 | |
| MEDIUM | src/Mod/Fem/femtest/app/test_ccxtools.py | 245 | |
| MEDIUM | src/Mod/Fem/femtest/app/test_ccxtools.py | 246 | |
| MEDIUM | src/Mod/CAM/Path/Tool/assets/store/filestore.py | 44 | |
| MEDIUM | src/Mod/BIM/ArchWall.py | 93 | |
| MEDIUM | src/Mod/BIM/ArchWall.py | 94 | |
| MEDIUM | src/Mod/BIM/ArchWall.py | 96 | |
| MEDIUM | src/Mod/BIM/ArchWall.py | 97 | |
| MEDIUM | src/Mod/BIM/ArchWall.py | 104 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/App/GeoFeatureGroupExtension.cpp | 516 | // for links with scope SubGroup we need to check if all features are part of subgroups |
| LOW | src/App/GeoFeatureGroupExtension.cpp | 549 | // for links with scope SubGroup we need to check if all features are part of subgroups |
| LOW | src/App/StringHasher.h | 671 | * The purpose of this function is to provide a short form of a stable string identification. |
| LOW | src/App/Link.cpp | 534 | // The purpose of this function is to synchronize the mutated copy to the |
| LOW | src/3rdParty/FastSignals/tests/catch2/catch.hpp | 12659 | // No children have started. We need to check if they _can_ |
| LOW | src/Mod/Mesh/App/Core/Smoothing.cpp | 368 | // Step 1: determine face normals |
| LOW | src/Mod/Mesh/App/Core/Smoothing.cpp | 398 | // Step 2: move vertices |
| LOW | src/Mod/Draft/DxfImportDialog.py | 14 | # Step 1: Load the UI from the resource file. This returns a new QDialog instance. |
| LOW | src/Mod/Draft/draftviewproviders/view_layer.py | 453 | # We need to check if it was put in a new group. If that is |
| LOW | src/Mod/Assembly/AssemblyTests/TestCore.py | 187 | # Step 0 : box with placement. No element selected |
| LOW | src/Mod/Assembly/AssemblyTests/TestCore.py | 193 | # Step 1 : box with placement. Face + Vertex |
| LOW | src/Mod/Assembly/AssemblyTests/TestCore.py | 199 | # Step 2 : box with placement. Edge + Vertex |
| LOW | src/Mod/Assembly/AssemblyTests/TestCore.py | 205 | # Step 3 : box with placement. Vertex |
| LOW | src/Mod/Assembly/AssemblyTests/TestCore.py | 213 | # Step 4 : box with placement. Face |
| LOW | src/Mod/Sketcher/App/Sketch.cpp | 4036 | // Step 1: Check if the two points (p1, p2) are endpoints of the same arc. |
| LOW | src/Mod/Sketcher/App/Sketch.cpp | 4057 | // Step 2: We found the arc. Now check if its center lies on the symmetry line. |
| LOW | src/Mod/Sketcher/Gui/DrawSketchHandlerOffset.h | 1142 | // if only 2 elements, we need to check if they close end to end. |
| LOW | src/Mod/Start/Gui/FileCardDelegate.cpp | 78 | // Step 1: Styling |
| LOW | src/Mod/Start/Gui/FileCardDelegate.cpp | 95 | // Step 2: Fetch required data |
| LOW | src/Mod/Start/Gui/FileCardDelegate.cpp | 118 | // Step 4: Positioning |
| LOW | src/Mod/Start/Gui/FileCardDelegate.cpp | 134 | // Step 5: Draw |
| LOW | src/Mod/Start/Gui/FlowLayout.cpp | 184 | // Step 1: Wrap if necessary |
| LOW | src/Mod/Start/Gui/FlowLayout.cpp | 212 | // Step 2: Apply the last row's height |
| LOW | src/Mod/CAM/Path/Base/Generator/facing_common.py | 240 | # Step 1: Rotate the wire in the opposite direction to align optimally with axes |
| LOW | src/Mod/CAM/Path/Base/Generator/facing_common.py | 244 | # Step 2: Get the axis-aligned bounding box of the rotated wire |
| LOW | src/Mod/CAM/Path/Base/Generator/facing_common.py | 260 | # Step 3: Rotate the bounding box to the desired angle |
| LOW | src/Mod/CAM/Path/Tool/assets/manager.py | 423 | # Step 1: Fetch all data using asyncio.run |
| LOW | src/Mod/CAM/Path/Tool/assets/manager.py | 447 | # Step 2: Synchronously build the asset tree (and call from_bytes) |
| LOW | src/Mod/BIM/Arch.py | 2244 | # Step 1: Get global coordinates of the baseline's endpoints. |
| LOW | src/Mod/BIM/Arch.py | 2252 | # Step 2: Determine the extrusion normal vector. |
| LOW | src/Mod/BIM/Arch.py | 2259 | # Step 3: Calculate the final orientation from the geometric axes. |
| LOW | src/Mod/BIM/Arch.py | 2269 | # Step 4: Calculate the final position (the wall's volumetric center). |
| LOW | src/Mod/BIM/bimtests/TestArchReport.py | 1780 | # Step 1: Select only the 'Pipeline Test Floor'. |
| LOW | src/Mod/BIM/bimtests/TestArchReport.py | 1786 | # Step 2: Use CHILDREN to get the walls from the previous step's result. |
| LOW | src/Mod/PartDesign/App/ShapeBinder.cpp | 1028 | // referencing the child. The purpose of this function is to remove any |
| LOW | src/Mod/Part/App/TopoShapeExpansion.cpp | 4367 | // Step 1: Union(A, B) - intermediate result, no op code. |
| LOW | src/Mod/Part/App/TopoShapeExpansion.cpp | 4377 | // Step 2: Common(A, B) - intermediate result, no op code. |
| LOW | src/Mod/Part/App/TopoShapeExpansion.cpp | 4387 | // Step 3: Compute the final result for this iteration |
| LOW | src/Mod/Import/App/dxf/ImpExpDxf.cpp | 894 | // Step 1: Check for external references first. This is a critical check. |
| LOW | src/Mod/Import/App/dxf/ImpExpDxf.cpp | 900 | // Step 2: Check if the block is anonymous/system. |
| LOW | src/Mod/Import/App/dxf/ImpExpDxf.cpp | 927 | // Step 3: Check for duplicates to prevent errors. |
| LOW | src/Mod/Import/App/dxf/ImpExpDxf.cpp | 933 | // Step 4: Use the temporary Block struct and Collector to parse all contents into memory. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | src/Mod/CAM/Path/Base/Generator/facing_common.py | 212 | Create a rotated bounding box that fully contains the input wire. This function generates a rectangular wire r |
| HIGH | src/Mod/CAM/Path/Tool/shape/models/icon.py | 89 | Create a ToolBitShapeIcon instance from a file. Args: filepath (pathlib.Path): Path to the |
| HIGH | src/Mod/CAM/Path/Tool/shape/models/base.py | 199 | Identifies the ToolBitShape subclass from the raw bytes of an FCStd file by parsing the XML content to |
| HIGH | src/Mod/CAM/Path/Tool/shape/models/base.py | 325 | Create a ToolBitShape instance from the raw bytes of an FCStd file. Identifies the correct subclass ba |
| HIGH | src/Mod/CAM/Path/Tool/shape/models/base.py | 464 | Create a ToolBitShape instance from an FCStd file. Reads the file bytes and delegates to from_bytes(). |
| HIGH | src/Mod/CAM/Path/Tool/shape/models/base.py | 650 | Get the value of a specific parameter. Args: name (str): The name of the parameter. |
| HIGH | src/Mod/CAM/Path/Tool/assets/manager.py | 954 | Asynchronously deep copies an asset and its dependencies from a source store to a destination store. |
| HIGH | src/Mod/CAM/Path/Tool/assets/manager.py | 1059 | Synchronously deep copies an asset and its dependencies from a source store to a destination store. |
| HIGH | src/Mod/CAM/Path/Tool/assets/store/base.py | 42 | Retrieve the raw byte data for the asset at the given URI. Args: uri: The unique identifie |
| HIGH | src/Mod/CAM/Path/Tool/assets/store/base.py | 89 | Create a new asset in the store with the given data. The store determines the final URI for the new as |
| HIGH | src/Mod/CAM/Machine/models/machine.py | 1833 | Load a machine configuration from a JSON file Args: filename: Filename (with or without pa |
| HIGH | src/Mod/CAM/Machine/models/machine.py | 2141 | Get a machine configuration by name from the assets folder Args: machine_name: Name of the |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | src/Mod/Draft/draftguitools/gui_edit_draft_objects.py | 570 | p = obj.ViewObject.Proxy.textpos.translation.getValue() |
| CRITICAL | src/Mod/CAM/Path/Main/Gui/Job.py | 318 | self.obj.Stock.ViewObject.Proxy.onEdit(_OpenCloseResourceEditor) |
| CRITICAL | src/Mod/BIM/ArchComponent.py | 1856 | self.Object.CloneOf.HiRes.ViewObject.show() |
| CRITICAL | src/Mod/BIM/ArchComponent.py | 1857 | self.Object.CloneOf.HiRes.ViewObject.hide() |
| CRITICAL | src/Mod/PartDesign/PartDesignTests/TestBoolean.py | 175 | # rgb = App.Gui.ActiveDocument.Body002.RootNode.getChild(2).getChild(1).getChild(1).getChild(0).diffuseColor.get |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/src/App/BackupPolicy.cpp | 389 | "verbose date string for demonstration purposes." |
| MEDIUM | .github/workflows/codeql.yml | 64 | # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how |
| MEDIUM | .github/workflows/codeql_cpp.yml | 68 | # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how |
| LOW | package/scripts/macos_sign_and_notarize.zsh | 201 | # If the failure was transient (timeout/HTTP/connection) just retry, but make sure to check to see if the problem |
| MEDIUM | src/Doc/BuildDocDoxy.cfg | 586 | # If the value of the INPUT tag contains directories, you can use the |
| MEDIUM | src/Doc/BuildDocDoxy.cfg | 615 | # If the value of the INPUT tag contains directories, you can use the |
| MEDIUM | src/Doc/BuildDocDoxy.cfg | 639 | # If the value of the EXAMPLE_PATH tag contains directories, you can use the |
| MEDIUM | src/Doc/BuildDocDoxyFull.cfg | 471 | # If the value of the INPUT tag contains directories, you can use the |
| MEDIUM | src/Doc/BuildDocDoxyFull.cfg | 500 | # If the value of the INPUT tag contains directories, you can use the |
| MEDIUM | src/Doc/BuildDocDoxyFull.cfg | 516 | # If the value of the EXAMPLE_PATH tag contains directories, you can use the |
| LOW | src/Mod/Fem/Gui/TaskPostBoxes.cpp | 1961 | // set spinbox scalar_factor, don't forget to sync the slider |
| LOW | src/Mod/Fem/Gui/TaskPostBoxes.cpp | 2018 | // set scalar_factor, don't forget to sync the slider |
| LOW | src/Mod/Fem/Gui/TaskPostBoxes.cpp | 2039 | // don't forget to sync the spinbox |
| LOW | src/Mod/Fem/Gui/TaskPostBoxes.cpp | 2051 | // don't forget to sync the slider |
| LOW | src/Mod/Fem/Gui/TaskPostBoxes.cpp | 2085 | // set spinbox warp_factor, don't forget to sync the slider |
| LOW | src/Mod/Fem/Gui/TaskPostBoxes.cpp | 2090 | // set min and max, don't forget to sync the slider |
| LOW | src/Mod/Fem/Gui/TaskPostBoxes.cpp | 2237 | // TODO if warp factor is smaller than min, warp factor should be min, don't forget to sync |
| LOW | src/Mod/OpenSCAD/importCSG.py | 102 | # of their individual component objects. But make sure to only handle the ones we just imported, |
| LOW | src/Mod/CAM/Tools/toolbit-attributes.py | 55 | # !!! A single typo can ruin a lot of toolbit shapes - make sure to only use !!!! |
| MEDIUM | src/Mod/TemplatePyMod/DocumentObject.py | 21 | #will be called just after object creation, you can use this for example to create properties |
| LOW | src/Mod/BIM/nativeifc/ifc_import.py | 115 | pstr += " # warning: make sure you know what you are doing when using this!" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | src/Mod/CAM/Path/Op/Adaptive.py | 1156 | # as requested by operation |
| HIGH | src/Mod/PartDesign/Gui/CommandBody.cpp | 310 | // as requested in issue #0002862 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/src/App/IndexedName.cpp | 380 | // Usage example: |
| LOW | src/Tools/sync_version.py | 12 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/src/App/ProjectFile.cpp | 78 | EXPECT_EQ(std::string("John Doe"), metadata.createdBy); |
| LOW | tests/src/App/ProjectFile.cpp | 81 | EXPECT_EQ(std::string("John Doe"), metadata.lastModifiedBy); |
| LOW | src/Mod/CAM/CAMTests/TestPostProcessor.py | 253 | builder.add_author("John Doe") |