Repository Analysis

FreeCAD/FreeCAD

Official source code of FreeCAD, a free and opensource multiplatform 3D parametric modeler.

2.5 Likely human-written View on GitHub
2.5
Adjusted Score
2.5
Raw Score
100%
Time Factor
2026-05-30
Last Push
31,219
Stars
C++
Language
6,586,021
Lines of Code
7973
Files
12898
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 5HIGH 673MEDIUM 1027LOW 11193

Pattern Findings

12898 matches across 19 categories. Click a row to expand file-level details.

Over-Commented Block5965 hits · 5502 pts
SeverityFileLineSnippet
LOWtools/lint/changed_lines.py1#!/usr/bin/env python3
LOWtests/src/App/Property.cpp21 * write to the Free Software Foundation, Inc., 59 Temple Place, *
LOWtests/src/App/ElementMap.cpp421 // "Fusion" means that we are on the "Fusion" object.
LOWtests/src/App/DocumentObserver.cpp201 subName += ".";
LOWtests/src/App/DocumentObserver.cpp281 // In this case calling SubObjectT::normalize() changes subObjTWithoutEl subname in this way:
LOWtests/src/App/DocumentObserver.cpp301 // In this case calling SubObjectT::normalize() changes subObjTConvertIndex subname in this way:
LOWtests/src/App/DocumentObserver.cpp321 // Changing the label of the Part::Box to test the differences between calling
LOWtests/src/App/DocumentObserver.cpp461
LOWtests/src/App/DocumentObserver.cpp481 EXPECT_NE(subObjTWithSubObjNormalized.getSubName().find("Edge1"), std::string::npos);
LOWtests/src/App/DocumentObserver.cpp501 // The "0." part of the of the original subname is kept because the
LOWtests/src/App/DocumentObserver.cpp521 // SubObjectT::NormalizeOption::ConvertIndex flag isn't set;
LOWtests/src/App/MappedElement.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/App/BackupPolicy.cpp21 * *
LOWtests/src/App/PropertyExpressionEngine.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/App/Expression.cpp21 * *
LOWtests/src/App/ExpressionParser.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/Gui/Camera.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/Gui/Dialogs/DlgExpressionInput.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/Base/BoundBox.cpp1#include <gtest/gtest.h>
LOWtests/src/Base/SchemaTests.cpp21
LOWtests/src/Base/PyException.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/Base/Reader.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/Mod/MeshPart/App/MeshPart.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/Mod/Sketcher/App/SketchObjectChanges.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/Mod/Sketcher/App/SketchObjectChanges.cpp1041 assert(nonPeriodicBSpline);
LOWtests/src/Mod/Sketcher/App/SketchObject.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/Mod/Measure/App/MeasureDistance.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOW…ts/src/Mod/PartDesign/App/GeoFeatureGroupExtension.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/Mod/PartDesign/App/BackwardCompatibility.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/Mod/Part/App/FaceMakerBullseye.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/Mod/Part/App/FeaturePartFuse.cpp261 subs = ts.getSubTopoShapes(TopAbs_FACE);
LOWtests/src/Mod/Part/App/TopoShapeCache.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/Mod/Part/App/FeatureFillet.cpp141// gp_Pnt point = BRep_Tool::Pnt(TopoDS::Vertex(ex.Current()));
LOWtests/src/Mod/Part/App/FeatureFillet.cpp161// }
LOWtests/src/Mod/Part/App/TopoShapeMapper.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/Mod/Part/App/TopoShapeExpansion.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/Mod/Part/App/TopoShapeExpansion.cpp21#include <BRepOffsetAPI_MakeEvolved.hxx>
LOWtests/src/Mod/Part/App/WireJoiner.cpp441 // WireJoiner::WireJoinerP::splitEdges(), only the edges that are connected to only one of the
LOWtests/src/Mod/Part/App/WireJoiner.cpp681 // with another one.
LOW…/src/Mod/Part/App/TopoShapeMakeShapeWithElementMap.cpp1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/Mod/Part/App/PartTestHelpers.h1// SPDX-License-Identifier: LGPL-2.1-or-later
LOWtests/src/Mod/Part/App/FeatureRevolution.cpp181 // Assert
LOWtests/src/Mod/Material/App/TestMaterialCards.cpp21 **************************************************************************/
LOWtests/src/Mod/Material/App/TestMaterialFilter.cpp21 **************************************************************************/
LOWtests/src/Mod/Material/App/TestMaterials.cpp21 **************************************************************************/
LOW.github/workflows/sub_lint.yml1# SPDX-License-Identifier: LGPL-2.1-or-later
LOW.github/workflows/build_release.yml281
LOW.github/workflows/sub_buildPixi.yml1# SPDX-License-Identifier: LGPL-2.1-or-later
LOW.github/workflows/sub_prepare.yml1# SPDX-License-Identifier: LGPL-2.1-or-later
LOW.github/workflows/CI_cleanup.yml1# SPDX-License-Identifier: LGPL-2.1-or-later
LOW.github/workflows/CI_cleanup.yml21# * *
LOW.github/workflows/codeql.yml1# For most projects, this workflow file will not need changing; you simply need
LOW.github/workflows/CI_approved.yml1# SPDX-License-Identifier: LGPL-2.1-or-later
LOW.github/workflows/CI_approved.yml21# * <https://www.gnu.org/licenses/>. *
LOW.github/workflows/sub_wrapup.yml1# SPDX-License-Identifier: LGPL-2.1-or-later
LOW.github/workflows/sub_wrapup.yml21# * *
LOW.github/workflows/sub_buildWindows.yml1# ***************************************************************************
LOW.github/workflows/CI_primary.yml1# SPDX-License-Identifier: LGPL-2.1-or-later
LOW.github/workflows/codeql_cpp.yml1# For most projects, this workflow file will not need changing; you simply need
LOW.github/workflows/sub_buildUbuntu.yml1# SPDX-License-Identifier: LGPL-2.1-or-later
5905 more matches not shown…
Cross-File Repetition578 hits · 2890 pts
SeverityFileLineSnippet
HIGHsrc/Mod/Draft/draftmake/make_hatch.py0this module contains freecad commands for the draft workbench
HIGHsrc/Mod/Draft/draftguitools/gui_hatch.py0this module contains freecad commands for the draft workbench
HIGHsrc/Mod/Draft/draftobjects/hatch.py0this module contains freecad commands for the draft workbench
HIGHsrc/Mod/Draft/draftguitools/gui_rotate.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict
HIGHsrc/Mod/Draft/draftguitools/gui_stretch.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict
HIGHsrc/Mod/Draft/draftguitools/gui_trimex.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict
HIGHsrc/Mod/Draft/draftguitools/gui_rectangles.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict
HIGHsrc/Mod/Draft/draftguitools/gui_dimensions.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict
HIGHsrc/Mod/Draft/draftguitools/gui_offset.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict
HIGHsrc/Mod/Draft/draftguitools/gui_scale.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict
HIGHsrc/Mod/Draft/draftguitools/gui_ellipses.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict
HIGHsrc/Mod/Draft/draftguitools/gui_lines.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict
HIGHsrc/Mod/Draft/draftguitools/gui_mirror.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict
HIGHsrc/Mod/Draft/draftguitools/gui_split.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict
HIGHsrc/Mod/Draft/draftguitools/gui_arcs.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict
HIGHsrc/Mod/Draft/draftguitools/gui_move.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict
HIGHsrc/Mod/Draft/draftguitools/gui_labels.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict
HIGHsrc/Mod/Draft/draftguitools/gui_texts.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict
HIGHsrc/Mod/Draft/draftguitools/gui_polygons.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view. parameters ---------- arg: dict
HIGHsrc/Mod/Draft/draftguitools/gui_rotate.py0terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or
HIGHsrc/Mod/Draft/draftguitools/gui_rectangles.py0terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or
HIGHsrc/Mod/Draft/draftguitools/gui_ellipses.py0terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or
HIGHsrc/Mod/Draft/draftguitools/gui_points.py0terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or
HIGHsrc/Mod/Draft/draftguitools/gui_arcs.py0terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or
HIGHsrc/Mod/Draft/draftguitools/gui_arcs.py0terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or
HIGHsrc/Mod/Draft/draftguitools/gui_move.py0terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or
HIGHsrc/Mod/Draft/draftguitools/gui_texts.py0terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or
HIGHsrc/Mod/Draft/draftguitools/gui_polygons.py0terminate the operation. parameters ---------- cont: bool or none, optional restart (continue) the command if `true`, or
HIGHsrc/Mod/Draft/draftguitools/gui_rotate.py0validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali
HIGHsrc/Mod/Draft/draftguitools/gui_stretch.py0validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali
HIGHsrc/Mod/Draft/draftguitools/gui_trimex.py0validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali
HIGHsrc/Mod/Draft/draftguitools/gui_rectangles.py0validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali
HIGHsrc/Mod/Draft/draftguitools/gui_dimensions.py0validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali
HIGHsrc/Mod/Draft/draftguitools/gui_scale.py0validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali
HIGHsrc/Mod/Draft/draftguitools/gui_ellipses.py0validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali
HIGHsrc/Mod/Draft/draftguitools/gui_lines.py0validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali
HIGHsrc/Mod/Draft/draftguitools/gui_points.py0validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali
HIGHsrc/Mod/Draft/draftguitools/gui_mirror.py0validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali
HIGHsrc/Mod/Draft/draftguitools/gui_arcs.py0validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali
HIGHsrc/Mod/Draft/draftguitools/gui_move.py0validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali
HIGHsrc/Mod/Draft/draftguitools/gui_labels.py0validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali
HIGHsrc/Mod/Draft/draftguitools/gui_texts.py0validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali
HIGHsrc/Mod/Draft/draftguitools/gui_polygons.py0validate the entry fields in the user interface. this function is called by the toolbar or taskpanel interface when vali
HIGHsrc/Mod/Draft/draftguitools/gui_downgrade.py0proceed with execution of the command after selection.
HIGHsrc/Mod/Draft/draftguitools/gui_upgrade.py0proceed with execution of the command after selection.
HIGHsrc/Mod/Draft/draftguitools/gui_scale.py0proceed with execution of the command after selection.
HIGHsrc/Mod/Draft/draftguitools/gui_pointarray.py0proceed with the command if one object was selected.
HIGHsrc/Mod/Draft/draftguitools/gui_draft2sketch.py0proceed with the command if one object was selected.
HIGHsrc/Mod/Draft/draftguitools/gui_offset.py0proceed with the command if one object was selected.
HIGHsrc/Mod/Draft/draftguitools/gui_shape2dview.py0proceed with the command if one object was selected.
HIGHsrc/Mod/Draft/draftguitools/gui_patharray.py0proceed with the command if one object was selected.
HIGHsrc/Mod/Draft/draftguitools/gui_pathtwistedarray.py0proceed with the command if one object was selected.
HIGHsrc/Mod/Draft/draftguitools/gui_mirror.py0proceed with the command if one object was selected.
HIGHsrc/Mod/BIM/bimcommands/BimShape2DView.py0proceed with the command if one object was selected.
HIGHsrc/Mod/BIM/bimcommands/BimShape2DView.py0proceed with the command if one object was selected.
HIGHsrc/Mod/BIM/bimcommands/BimShape2DView.py0proceed with the command if one object was selected.
HIGHsrc/Mod/Draft/draftguitools/gui_splines.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view by the `activated` method of the
HIGHsrc/Mod/Draft/draftguitools/gui_beziers.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view by the `activated` method of the
HIGHsrc/Mod/Draft/draftguitools/gui_beziers.py0handle the 3d scene events. this is installed as an eventcallback in the inventor view by the `activated` method of the
HIGHsrc/Mod/Draft/draftguitools/gui_polararray.py0execute 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…
Deep Nesting1561 hits · 1403 pts
SeverityFileLineSnippet
LOWtools/lint/qt_connections.py18
LOWtools/lint/generic_checks.py12
LOWtools/lint/generic_checks.py29
LOWtools/lint/generic_checks.py49
LOWtools/lint/generic_checks.py84
LOWtools/lint/changed_lines.py103
LOWcontrib/debugger/qt_pretty_printers_lldb.py48
LOWpackage/rattler-build/scripts/fix_macos_lib_paths.py53
LOWpackage/rattler-build/windows/ssl-patch.py373
LOWpackage/rattler-build/windows/ssl-patch.py557
LOWpackage/rattler-build/windows/ssl-patch.py992
LOWsrc/Tools/MakeAppTools.py9
LOWsrc/Tools/MakeAppTools.py38
LOWsrc/Tools/params_utils.py473
LOWsrc/Tools/MakeMacBundleRelocatable.py170
LOWsrc/Tools/MakeMacBundleRelocatable.py232
LOWsrc/Tools/MakeMacBundleRelocatable.py313
LOWsrc/Tools/MakeMacBundleRelocatable.py401
LOWsrc/Tools/MakeMacBundleRelocatable.py425
LOWsrc/Tools/MakeMacBundleRelocatable.py80
LOWsrc/Tools/LicenseChecker.py62
LOWsrc/Tools/LicenseChecker.py81
LOWsrc/Tools/dir2qrc.py119
LOWsrc/Tools/updatets.py202
LOWsrc/Tools/updatets.py276
LOWsrc/Tools/updatets.py419
LOWsrc/Tools/FCFileTools.py34
LOWsrc/Tools/FCFileTools.py72
LOWsrc/Tools/SubWCRev.py264
LOWsrc/Tools/SubWCRev.py297
LOWsrc/Tools/typing/stubgen/parsing.py105
LOWsrc/Tools/typing/stubgen/parsing.py138
LOWsrc/Tools/typing/stubgen/discovery.py262
LOWsrc/Tools/typing/stubgen/discovery.py527
LOWsrc/Tools/typing/stubgen/class_merge.py215
LOWsrc/Tools/typing/stubgen/class_merge.py265
LOWsrc/Tools/typing/stubgen/class_merge.py392
LOWsrc/Tools/typing/stubgen/class_merge.py435
LOWsrc/Tools/typing/stubgen/class_merge.py672
LOWsrc/Tools/fcbt/FileTools.py34
LOWsrc/Tools/fcbt/FileTools.py72
LOWsrc/Tools/bindings/model/generateModel_Python.py338
LOWsrc/Tools/bindings/model/generateModel_Python.py450
LOWsrc/Tools/bindings/model/generateDS.py816
LOWsrc/Tools/bindings/model/generateDS.py884
LOWsrc/Tools/bindings/model/generateDS.py983
LOWsrc/Tools/bindings/model/generateDS.py1080
LOWsrc/Tools/bindings/model/generateDS.py1156
LOWsrc/Tools/bindings/model/generateDS.py1328
LOWsrc/Tools/bindings/model/generateDS.py1449
LOWsrc/Tools/bindings/model/generateDS.py1611
LOWsrc/Tools/bindings/model/generateDS.py1638
LOWsrc/Tools/bindings/model/generateDS.py1806
LOWsrc/Tools/bindings/model/generateDS.py1908
LOWsrc/Tools/bindings/model/generateDS.py2231
LOWsrc/Tools/bindings/model/generateDS.py2402
LOWsrc/Tools/bindings/model/generateDS.py2945
LOWsrc/Tools/bindings/model/generateDS.py3413
LOWsrc/Tools/bindings/model/generateDS.py644
LOWsrc/Tools/bindings/model/generateDS.py756
1501 more matches not shown…
Decorative Section Separators446 hits · 1350 pts
SeverityFileLineSnippet
MEDIUMtests/CMakeLists.txt148# -------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg60#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg62#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg69#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg71#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg93#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg95#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg102#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg104#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg108#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg110#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg143#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg145#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg152#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg154#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg159#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg161#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg167#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg169#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg171#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg173#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg178#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg180#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg190#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg192#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg198#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg200#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg4#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg6#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg33#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg35#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg128#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg130#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg220#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/BuildDocDoxy.cfg222#---------------------------------------------------------------------------
MEDIUMsrc/Tools/fcbt/DistBin.py22# ====================================================================
MEDIUMsrc/Tools/fcbt/DistBin.py29# ====================================================================
MEDIUMsrc/Tools/fcbt/DistBin.py37# ====================================================================
MEDIUMsrc/Tools/fcbt/DistBin.py49# ====================================================================
MEDIUMsrc/Tools/fcbt/DistBin.py59# ====================================================================
MEDIUMsrc/Tools/fcbt/DistBin.py68# ====================================================================
MEDIUMsrc/Tools/fcbt/BuildDoc.py17# ====================================================================
MEDIUMsrc/Tools/fcbt/BuildDoc.py28# ====================================================================
MEDIUMsrc/Tools/fcbt/BuildDoc.py39# ====================================================================
MEDIUMsrc/Tools/fcbt/BuildDoc.py44#====================================================================
MEDIUMsrc/Tools/fcbt/BuildDoc.py56#====================================================================
MEDIUMsrc/Tools/fcbt/BuildDoc.py62#====================================================================
MEDIUMsrc/Tools/fcbt/BuildDoc.py69#====================================================================
MEDIUMsrc/Tools/fcbt/BuildDoc.py74#====================================================================
MEDIUMsrc/Tools/fcbt/BuildDoc.py80#====================================================================
MEDIUMsrc/Tools/fcbt/BuildDoc.py100#====================================================================
MEDIUMsrc/Tools/fcbt/BuildDoc.py109#====================================================================
MEDIUMsrc/Tools/fcbt/BuildDoc.py118#====================================================================
MEDIUMsrc/Tools/fcbt/BuildDoc.py139#====================================================================
MEDIUMsrc/Tools/fcbt/BuildDoc.py146#====================================================================
MEDIUMsrc/Tools/fcbt/BuildDoc.py150# ====================================================================
MEDIUMsrc/Tools/fcbt/BuildDoc.py153# ====================================================================
MEDIUMsrc/Tools/fcbt/DistSetup.py10# ====================================================================
MEDIUMsrc/Tools/fcbt/DistSrc.py22# ====================================================================
MEDIUMsrc/Tools/fcbt/DistSrc.py29# ====================================================================
386 more matches not shown…
Unused Imports1590 hits · 1287 pts
SeverityFileLineSnippet
LOWtools/rendering/manage_coin_node_baselines.py23
LOW.github/scripts/run_gui_tests.py20
LOWpackage/rattler-build/windows/ssl-patch.py102
LOWpackage/rattler-build/windows/ssl-patch.py102
LOWpackage/rattler-build/windows/ssl-patch.py102
LOWpackage/rattler-build/windows/ssl-patch.py103
LOWpackage/rattler-build/windows/ssl-patch.py103
LOWpackage/rattler-build/windows/ssl-patch.py104
LOWpackage/rattler-build/windows/ssl-patch.py104
LOWpackage/rattler-build/windows/ssl-patch.py104
LOWpackage/rattler-build/windows/ssl-patch.py104
LOWpackage/rattler-build/windows/ssl-patch.py104
LOWpackage/rattler-build/windows/ssl-patch.py109
LOWpackage/rattler-build/windows/ssl-patch.py109
LOWpackage/rattler-build/windows/ssl-patch.py109
LOWpackage/rattler-build/windows/ssl-patch.py109
LOWpackage/rattler-build/windows/ssl-patch.py117
LOWpackage/rattler-build/windows/ssl-patch.py117
LOWpackage/rattler-build/windows/ssl-patch.py117
LOWpackage/rattler-build/windows/ssl-patch.py117
LOWpackage/rattler-build/windows/ssl-patch.py117
LOWpackage/rattler-build/windows/ssl-patch.py117
LOWpackage/rattler-build/windows/ssl-patch.py117
LOWpackage/rattler-build/windows/ssl-patch.py117
LOWpackage/rattler-build/windows/ssl-patch.py121
LOWpackage/rattler-build/windows/ssl-patch.py257
LOWpackage/rattler-build/windows/ssl-patch.py111
LOWpackage/rattler-build/windows/ssl-patch.py255
LOWsrc/Tools/fcbt.py41
LOWsrc/Tools/fcbt.py43
LOWsrc/Tools/fcbt.py45
LOWsrc/Tools/fcbt.py47
LOWsrc/Tools/fcbt.py49
LOWsrc/Tools/fcbt.py50
LOWsrc/Tools/fcbt.py51
LOWsrc/Tools/fcbt.py53
LOWsrc/Tools/fcbt.py55
LOWsrc/Tools/fcbt.py57
LOWsrc/Tools/examplePy2wiki.py30
LOWsrc/Tools/examplePy2wiki.py30
LOWsrc/Tools/_TEMPLATEPY_/InitGui.py17
LOWsrc/Tools/_TEMPLATE_/InitGui.py15
LOWsrc/Tools/typing/smoke/smoke.py18
LOWsrc/Tools/typing/stubgen/parsing.py22
LOWsrc/Tools/typing/stubgen/module_merge.py16
LOWsrc/Tools/typing/stubgen/discovery.py19
LOWsrc/Tools/typing/stubgen/render.py16
LOWsrc/Tools/typing/stubgen/naming.py5
LOWsrc/Tools/typing/stubgen/source_inputs.py18
LOWsrc/Tools/typing/stubgen/model.py14
LOWsrc/Tools/typing/stubgen/class_merge.py16
LOWsrc/Tools/typing/stubgen/generator.py19
LOWsrc/Tools/typing/stubgen/cli.py16
LOWsrc/Tools/typing/stubgen/doc_lint.py14
LOWsrc/Tools/typing/stubgen/type_context_rules.py15
LOWsrc/Tools/bindings/model/typedModel.py3
LOWsrc/Tools/bindings/model/generateDS.py34
LOWsrc/Tools/bindings/model/generateModel_Module.py13
LOWsrc/App/FreeCADInit.py767
LOWsrc/App/LinkParams.py12
1530 more matches not shown…
Hyper-Verbose Identifiers1253 hits · 1259 pts
SeverityFileLineSnippet
LOWtools/lint/clang_format.py17def count_clang_format_errors(log_text: str) -> int:
LOWtools/lint/generic_checks.py29def check_trailing_whitespace(file_paths):
LOWpackage/rattler-build/windows/ssl-patch.py614 def hostname_checks_common_name(self):
LOWpackage/rattler-build/windows/ssl-patch.py619 def hostname_checks_common_name(self, value):
LOWpackage/rattler-build/windows/ssl-patch.py626 def hostname_checks_common_name(self):
LOWpackage/rattler-build/windows/ssl-patch.py557 def _load_windows_store_certs(self, storename, purpose):
LOWpackage/rattler-build/windows/ssl-patch.py766def _create_unverified_context(protocol=PROTOCOL_TLS, *, cert_reqs=CERT_NONE,
LOWpackage/rattler-build/windows/ssl-patch.py969 def verify_client_post_handshake(self):
LOWpackage/rattler-build/windows/ssl-patch.py1300 def verify_client_post_handshake(self):
LOWsrc/Tools/params_utils.py395def preference_dialog_declare_begin(param_set, header=True):
LOWsrc/Tools/params_utils.py452def preference_dialog_declare_end(param_set):
LOWsrc/Tools/params_utils.py465def preference_dialog_declare(param_set, header=True):
LOWsrc/Tools/MakeMacBundleRelocatable.py152def get_rpaths_for_resolution(library_path):
LOWsrc/Tools/sync_version.py121def sync_rattler_build_pixi_toml(filepath: Path, version: VersionInfo) -> tuple[str, bool]:
LOWsrc/Tools/tests/test_sync_version.py40 def test_complete_version_with_suffix(self):
LOWsrc/Tools/tests/test_sync_version.py44 def test_complete_version_without_suffix(self):
LOWsrc/Tools/tests/test_sync_version.py52 def test_rpm_version_with_suffix(self):
LOWsrc/Tools/tests/test_sync_version.py56 def test_rpm_version_without_suffix(self):
LOWsrc/Tools/tests/test_sync_version.py64 def test_conda_version_with_suffix(self):
LOWsrc/Tools/tests/test_sync_version.py68 def test_conda_version_without_suffix(self):
LOWsrc/Tools/tests/test_sync_version.py106 def test_replaces_field_in_correct_section(self):
LOWsrc/Tools/tests/test_sync_version.py111 def test_does_not_modify_other_sections(self):
LOWsrc/Tools/tests/test_sync_version.py115 def test_no_match_returns_unchanged(self):
LOWsrc/Tools/tests/test_sync_version.py119 def test_key_not_in_section_returns_unchanged(self):
LOWsrc/Tools/tests/test_sync_version.py123 def test_does_not_replace_key_in_wrong_section(self):
LOWsrc/Tools/tests/test_sync_version.py219 def test_updates_version_name_description(self):
LOWsrc/Tools/tests/test_sync_version.py229 def test_updates_with_different_name(self):
LOWsrc/Tools/tests/test_sync_version.py238 def test_release_version_no_suffix(self):
LOWsrc/Tools/tests/test_sync_version.py245 def test_does_not_modify_workspace_section(self):
LOWsrc/Tools/tests/test_sync_version.py255 def test_updates_version_and_name(self):
LOWsrc/Tools/tests/test_sync_version.py264 def test_preserves_version_template_reference(self):
LOWsrc/Tools/tests/test_sync_version.py271 def test_updates_with_different_name(self):
LOWsrc/Tools/tests/test_sync_version.py302 def test_preserves_other_defines(self):
LOWsrc/Tools/tests/test_sync_version.py312 def test_updates_name_and_version(self):
LOWsrc/Tools/tests/test_sync_version.py321 def test_release_version_no_tilde(self):
LOWsrc/Tools/tests/test_sync_version.py380 def test_check_detects_out_of_sync(self, _stdout):
LOWsrc/Tools/tests/test_sync_version.py386 def test_update_then_check_is_synced(self, _stdout):
LOWsrc/Tools/tests/test_sync_version.py393 def test_check_when_already_synced(self, _stdout):
LOWsrc/Tools/tests/test_sync_version.py336 def test_updates_name_for_fork(self):
LOWsrc/Tools/tests/test_sync_version.py343 def test_preserves_other_fields(self):
LOWsrc/Tools/tests/test_sync_version.py424 def test_update_does_not_modify_synced_files(self, _stdout):
LOWsrc/Tools/typing/stubgen/parsing.py291def cmake_registered_binding_pyi_files(root: Path, source_dir: Path) -> tuple[Path, ...]:
LOWsrc/Tools/typing/stubgen/parsing.py316def iter_module_stub_pyi_files(root: Path, source_dir: Path) -> Iterable[Path]:
LOWsrc/Tools/typing/stubgen/module_merge.py29def module_names_from_classes(classes: list[BindingClass]) -> set[str]:
LOWsrc/Tools/typing/stubgen/module_merge.py46def module_names_from_overlays(overlay_dir: Path | None) -> set[str]:
LOWsrc/Tools/typing/stubgen/module_merge.py83def ensure_parent_package_stubs(out_dir: Path, module_names: set[str]) -> None:
LOWsrc/Tools/typing/stubgen/module_merge.py132def top_level_import_symbol_names(node: ast.stmt) -> set[str]:
LOWsrc/Tools/typing/stubgen/module_merge.py150def class_body_defined_symbols(body: list[ast.stmt]) -> set[str]:
LOWsrc/Tools/typing/stubgen/module_merge.py179def top_level_defined_symbols(body: list[ast.stmt]) -> set[str]:
LOWsrc/Tools/typing/stubgen/module_merge.py244def class_support_insertion_index(body: list[ast.stmt]) -> int:
LOWsrc/Tools/typing/stubgen/module_merge.py296def copied_assignment_support_node(
LOWsrc/Tools/typing/stubgen/module_merge.py325def filtered_type_checking_block(
LOWsrc/Tools/typing/stubgen/module_merge.py339def filtered_module_support_node(
LOWsrc/Tools/typing/stubgen/module_merge.py377def filtered_module_support_nodes(
LOWsrc/Tools/typing/stubgen/module_merge.py396def filtered_type_class_support_node(
LOWsrc/Tools/typing/stubgen/module_merge.py422def filtered_type_class_support_nodes(
LOWsrc/Tools/typing/stubgen/module_merge.py440def type_stub_support_sources(source: str, class_symbol: str) -> tuple[str, str]:
LOWsrc/Tools/typing/stubgen/module_merge.py472def merge_module_support_nodes(target_source: str, support_source: str) -> str:
LOWsrc/Tools/typing/stubgen/module_merge.py491def merge_type_class_support_nodes(
LOWsrc/Tools/typing/stubgen/module_merge.py575def copy_module_support_stubs(
1193 more matches not shown…
Self-Referential Comments405 hits · 1194 pts
SeverityFileLineSnippet
MEDIUMpackage/rattler-build/windows/ssl-patch.py4"""This module provides some more Pythonic support for SSL.
MEDIUMpackage/rattler-build/windows/ssl-patch.py821 """This class implements an interface on top of a low-level SSL object as
MEDIUMpackage/rattler-build/windows/ssl-patch.py980 """This class implements a subtype of socket.socket that wraps
MEDIUMpackage/scripts/macos_sign_and_notarize.zsh161# Create a disk image from the folder
MEDIUMsrc/Tools/MakeApp.py5# Create a new application module
MEDIUMsrc/Tools/SubWCRev.py440 # Create an XML stream with the required information and read in with a SAX parser
MEDIUMsrc/Tools/bindings/model/generateDS.py505 # Create the needed new attributes.
MEDIUMsrc/Tools/bindings/model/generateDS.py3263 # Create an output file.
MEDIUMsrc/Tools/bindings/templates/templateClassPyExport.py60 # Create the subdir it necessary
MEDIUMsrc/App/LinkParams.py8# The following code is to import param_util.py without needing __init__.py in Base directory
MEDIUMsrc/Doc/sphinx/conf.py30# This file is execfile()d with the current directory set to its containing dir.
MEDIUMsrc/Mod/Draft/importDXF.py36# This module provides support for importing and exporting Autodesk DXF files
MEDIUMsrc/Mod/Draft/importDXF.py4706 # Create the C++ base object that has .Shape and .Placement.
MEDIUMsrc/Mod/Draft/importDXF.py4759 # Create a Part::Part2DObjectPython as the Python-extensible base for Draft Wire.
MEDIUMsrc/Mod/Draft/importAirfoilDAT.py7# This module provides support for importing airfoil .dat files
MEDIUMsrc/Mod/Draft/DraftGui.py33# This module provides GUI tools for the Draft workbench, such as
MEDIUMsrc/Mod/Draft/WorkingPlane.py37# This module provides the plane class which provides a virtual working plane
MEDIUMsrc/Mod/Draft/DraftTools.py37# This module contains all the graphical commands of the Draft workbench,
MEDIUMsrc/Mod/Draft/draftmake/make_text.py196 # Create a new Draft Text object
MEDIUMsrc/Mod/Draft/draftguitools/gui_trackers.py34# This module provides Coin (pivy) based objects
MEDIUMsrc/Mod/Draft/draftguitools/gui_groups.py205 # Create a new selection from the sub objects:
MEDIUMsrc/Mod/Draft/draftguitools/gui_edit_draft_objects.py123 """This function is overridden in the DraftBSplineGuiTools class."""
MEDIUMsrc/Mod/Draft/draftguitools/gui_edit_draft_objects.py130 """This function is overridden in the DraftBSplineGuiTools class."""
MEDIUMsrc/Mod/Draft/draftguitools/gui_fillets.py143 """This function is called by the taskpanel interface
MEDIUMsrc/Mod/Draft/draftguitools/gui_snapper.py35# This module provides tools to handle point snapping and
MEDIUMsrc/Mod/Draft/draftobjects/bspline.py123 # Creating a face from a closed spline cannot be expected to always work
MEDIUMsrc/Mod/Draft/draftobjects/circle.py73 """This method is run when the object is created or recomputed."""
MEDIUMsrc/Mod/Draft/draftobjects/rectangle.py85 """This method is run when the object is created or recomputed."""
MEDIUMsrc/Mod/Draft/draftobjects/base.py80 # This class is assigned to the Proxy attribute
MEDIUMsrc/Mod/Draft/draftutils/gui_utils.py448 # Create a list for further processing:
MEDIUMsrc/Mod/Draft/draftviewproviders/view_base.py103 # This class is assigned to the Proxy attribute
MEDIUMsrc/Mod/Draft/draftviewproviders/view_label.py221 # This function is however triggered again from update_label.
MEDIUMsrc/Mod/Plot/Plot.py363 # Create the navigation toolbar and add it
MEDIUMsrc/Mod/Test/TestTreeSelection.py6# This file is part of FreeCAD. *
MEDIUMsrc/Mod/Test/TestTreeSelection.py86 # Create a Draft Rectangle (matches original Part::Part2DObjectPython)
MEDIUMsrc/Mod/Test/TestTreeSelection.py90 # Create a group containing the rectangle and mirrors
MEDIUMsrc/Mod/Test/TestTreeSelection.py150 # Create the shared cube (tool for all cuts)
MEDIUMsrc/Mod/Test/TestTreeSelection.py216 # Create a simple box
MEDIUMsrc/Mod/Test/TestTreeSelection.py222 # Create a group containing the box
MEDIUMsrc/Mod/Test/TestCoinNodeSnapshots.py24# This file is intentionally tolerant of missing optional bindings and older
MEDIUMsrc/Mod/Test/GuiDocument.py41 # Create a new document
MEDIUMsrc/Mod/Test/Document.py422 # Create a second origin object
MEDIUMsrc/Mod/Spreadsheet/TestSpreadsheet.py1217 # Create a box
MEDIUMsrc/Mod/Spreadsheet/TestSpreadsheet.py1220 # Create a second document with a cylinder
MEDIUMsrc/Mod/TechDraw/TestTechDrawGui.py4# This file is part of the FreeCAD CAx development system. *
MEDIUMsrc/Mod/TechDraw/TestTechDrawApp.py4# This file is part of the FreeCAD CAx development system. *
MEDIUMsrc/Mod/TechDraw/ConversionUtilities/moveViews.py5# This file is part of the FreeCAD CAx development system. *
MEDIUMsrc/Mod/TechDraw/TechDrawTools/TaskHoleShaftFit.py181 """This class represents a subset of the ISO 286 standard"""
MEDIUMsrc/Mod/Assembly/CommandInsertNewPart.py6# This file is part of FreeCAD. *
MEDIUMsrc/Mod/Assembly/CommandCreateAssembly.py6# This file is part of FreeCAD. *
MEDIUMsrc/Mod/Assembly/AssemblyImport.py6# This file is part of FreeCAD. *
MEDIUMsrc/Mod/Assembly/UtilsAssembly.py6# This file is part of FreeCAD. *
MEDIUMsrc/Mod/Assembly/CommandCreateSimulation.py6# This file is part of FreeCAD. *
MEDIUMsrc/Mod/Assembly/CommandCreateSimulation.py467 # Create a non-modal, frameless dialog
MEDIUMsrc/Mod/Assembly/CommandCreateSimulation.py473 # Create the joints combobox
MEDIUMsrc/Mod/Assembly/CommandCreateSimulation.py477 # Create the motion type combobox
MEDIUMsrc/Mod/Assembly/CommandCreateSimulation.py492 # Create the line edit for the formula
MEDIUMsrc/Mod/Assembly/CommandCreateSimulation.py543 # Create the help QLabels and set them to be initially hidden
MEDIUMsrc/Mod/Assembly/CommandCreateSimulation.py678 # Create the Help button
MEDIUMsrc/Mod/Assembly/CommandCreateJoint.py6# This file is part of FreeCAD. *
345 more matches not shown…
Excessive Try-Catch Wrapping682 hits · 780 pts
SeverityFileLineSnippet
LOWtools/lint/qt_connections.py31 except Exception as e:
LOWtools/lint/generic_checks.py24 except Exception as e:
LOWtools/lint/generic_checks.py44 except Exception as e:
LOWtools/lint/generic_checks.py62 except Exception as e:
LOWtools/lint/codespell.py21 except Exception as e:
LOWtools/lint/cpplint.py32 except Exception as e:
LOWcontrib/debugger/qt_pretty_printers_lldb.py100 except Exception as e: # pylint: disable=broad-except
LOWcontrib/debugger/qt_pretty_printers_gdb.py100 except Exception as e: # pylint: disable=broad-except
LOWpackage/scripts/macos_sign_and_notarize.zsh217except Exception:
LOWsrc/Tools/MakeAppTools.py27 except Exception:
MEDIUMsrc/Tools/MakeAppTools.py28 print("Error modifying ", pathName, " -- skipped")
LOWsrc/Tools/MakeAppTools.py33 except Exception:
MEDIUMsrc/Tools/MakeAppTools.py34 print("Error changing to directory ", pathName, " -- skipped")
LOWsrc/Tools/MakeAppTools.py63 except Exception:
MEDIUMsrc/Tools/MakeAppTools.py64 print("Error copying ", pathFrom, " to ", pathTo, " -- skipped")
LOWsrc/Tools/MakeAppTools.py83 except Exception:
MEDIUMsrc/Tools/MakeAppTools.py84 print("Error creating ", pathTo, " -- skipped")
LOWsrc/Tools/MakeMacBundleRelocatable.py366 except Exception:
LOWsrc/Tools/MakeMacBundleRelocatable.py480 except Exception:
LOWsrc/Tools/LicenseChecker.py94 except Exception:
LOWsrc/Tools/updatets.py385 except Exception as e:
LOWsrc/Tools/updatets.py483 except Exception as e:
LOWsrc/Tools/make_snapshot.py31 except Exception as e:
MEDIUMsrc/Tools/make_snapshot.py28def init_gui():
LOWsrc/Tools/FCFileTools.py49 except Exception:
MEDIUMsrc/Tools/FCFileTools.py50 print("Error copying ", pathFrom, " to ", pathTo, " -- skipped")
LOWsrc/Tools/FCFileTools.py59 except Exception:
MEDIUMsrc/Tools/FCFileTools.py60 print("Error creating ", pathTo, " -- skipped")
LOWsrc/Tools/FCFileTools.py92 except Exception:
MEDIUMsrc/Tools/FCFileTools.py93 print("Error copying ", pathFrom, " to ", pathTo, " -- skipped")
LOWsrc/Tools/FCFileTools.py102 except Exception:
MEDIUMsrc/Tools/FCFileTools.py103 print("Error creating ", pathTo, " -- skipped")
LOWsrc/Tools/updatecrowdin.py487 except Exception as e:
LOWsrc/Tools/SubWCRev.py102 except Exception:
LOWsrc/Tools/SubWCRev.py154 except Exception:
LOWsrc/Tools/SubWCRev.py180 except Exception:
LOWsrc/Tools/SubWCRev.py195 except Exception:
LOWsrc/Tools/SubWCRev.py228 except Exception:
LOWsrc/Tools/SubWCRev.py448 except Exception:
MEDIUMsrc/Tools/SubWCRev.py151def extractInfo(self, srcdir, bindir):
LOWsrc/Tools/fcbt/CreatePyModule.py127 except Exception:
LOWsrc/Tools/fcbt/FileTools.py49 except Exception:
MEDIUMsrc/Tools/fcbt/FileTools.py50 print("Error copying", pathFrom, "to", pathTo, "--skipped")
LOWsrc/Tools/fcbt/FileTools.py59 except Exception:
MEDIUMsrc/Tools/fcbt/FileTools.py60 print("Error creating", pathTo, "--skipped")
LOWsrc/Tools/fcbt/FileTools.py92 except Exception:
MEDIUMsrc/Tools/fcbt/FileTools.py93 print("Error copying", pathFrom, "to", pathTo, "--skipped")
LOWsrc/Tools/fcbt/FileTools.py102 except Exception:
MEDIUMsrc/Tools/fcbt/FileTools.py103 print("Error creating", pathTo, "--skipped")
LOWsrc/Tools/fcbt/CreateModule.py130 except Exception:
LOWsrc/Tools/bindings/model/generateTools.py65 except Exception:
MEDIUMsrc/App/FreeCADInit.py1072def run_init(self) -> None:
MEDIUMsrc/App/FreeCADInit.py1555def init_applications() -> None:
LOWsrc/App/FreeCADInit.py1559 except Exception as ex:
LOWsrc/App/FreeCADInit.py1011 except Exception as ex:
LOWsrc/App/FreeCADInit.py1075 except Exception as ex:
LOWsrc/App/FreeCADInit.py1086 except Exception as ex:
LOWsrc/App/FreeCADInit.py1218 except Exception as ex:
LOWsrc/App/FreeCADInit.py297 except Exception:
LOWsrc/App/FreeCADInit.py307 except Exception:
622 more matches not shown…
Cross-Language Confusion81 hits · 410 pts
SeverityFileLineSnippet
HIGHsrc/3rdParty/libkdtree/python-bindings/gen-swig-hpp.py209 return %s && A.data == B.data;
HIGHsrc/Mod/Draft/importDXF.py875 if not DraftVecUtils.equals(v1, v2):
HIGHsrc/Mod/Draft/importDXF.py940 if not DraftVecUtils.equals(v1, v2):
HIGHsrc/Mod/Draft/importDXF.py966 if not DraftVecUtils.equals(v1, v2):
HIGHsrc/Mod/Draft/draftguitools/gui_trackers.py478 if DraftVecUtils.equals(p1, p4):
HIGHsrc/Mod/Draft/draftguitools/gui_lines.py260 if not DraftVecUtils.equals(last, point):
HIGHsrc/Mod/Draft/draftguitools/gui_snapper.py702 if DraftVecUtils.equals(
HIGHsrc/Mod/Draft/draftobjects/pointarray.py174 if DraftVecUtils.equals(vec, res):
HIGHsrc/Mod/Draft/draftobjects/patharray.py411 if not DraftVecUtils.equals(Xaxis, obj.TangentVector):
HIGHsrc/Mod/Draft/draftobjects/patharray.py861 if not DraftVecUtils.equals(vpt, lpt):
HIGHsrc/Mod/Draft/draftobjects/wire.py199 if not DraftVecUtils.equals(lp, p):
HIGHsrc/Mod/Draft/draftobjects/clone.py140 if not DraftVecUtils.equals(obj.Scale, App.Vector(1, 1, 1)):
HIGHsrc/Mod/Draft/draftfunctions/join.py65 DraftVecUtils.equals(wire1AbsPoints[0], wire2AbsPoints[-1])
HIGHsrc/Mod/Draft/draftfunctions/join.py66 and DraftVecUtils.equals(wire1AbsPoints[-1], wire2AbsPoints[0])
HIGHsrc/Mod/Draft/draftfunctions/join.py68 DraftVecUtils.equals(wire1AbsPoints[0], wire2AbsPoints[0])
HIGHsrc/Mod/Draft/draftfunctions/join.py69 and DraftVecUtils.equals(wire1AbsPoints[-1], wire2AbsPoints[-1])
HIGHsrc/Mod/Draft/draftfunctions/join.py73 elif DraftVecUtils.equals(wire1AbsPoints[0], wire2AbsPoints[0]):
HIGHsrc/Mod/Draft/draftfunctions/join.py75 elif DraftVecUtils.equals(wire1AbsPoints[0], wire2AbsPoints[-1]):
HIGHsrc/Mod/Draft/draftfunctions/join.py78 elif DraftVecUtils.equals(wire1AbsPoints[-1], wire2AbsPoints[-1]):
HIGHsrc/Mod/Draft/draftfunctions/join.py80 elif DraftVecUtils.equals(wire1AbsPoints[-1], wire2AbsPoints[0]):
HIGHsrc/Mod/Draft/draftviewproviders/view_dimension.py378 if DraftVecUtils.equals(self.p2, self.p3):
HIGHsrc/Mod/Draft/draftviewproviders/view_dimension.py388 if DraftVecUtils.equals(self.p1, self.p4):
HIGHsrc/Mod/Draft/draftgeoutils/circles.py234 if DraftVecUtils.equals(cir.Center, intsec.Center):
HIGHsrc/Mod/Draft/draftgeoutils/circles.py308 if DraftVecUtils.equals(p1, p2):
HIGHsrc/Mod/Draft/draftgeoutils/circles.py354 if DraftVecUtils.equals(circle1.Curve.Center, circle2.Curve.Center):
HIGHsrc/Mod/Draft/draftgeoutils/circles.py417 if DraftVecUtils.equals(circle1.Curve.Center, circle2.Curve.Center):
HIGHsrc/Mod/Draft/draftgeoutils/edges.py50 if DraftVecUtils.equals(anEdge.Vertexes[0].Point, aList[e].Vertexes[0].Point):
HIGHsrc/Mod/Draft/draftgeoutils/edges.py51 if DraftVecUtils.equals(anEdge.Vertexes[-1].Point, aList[e].Vertexes[-1].Point):
HIGHsrc/Mod/Draft/draftgeoutils/edges.py98 if DraftVecUtils.equals(e1.Vertexes[0].Point, e2.Vertexes[0].Point) and DraftVecUtils.equals(
HIGHsrc/Mod/Draft/draftgeoutils/edges.py102 elif DraftVecUtils.equals(e1.Vertexes[-1].Point, e2.Vertexes[0].Point) and DraftVecUtils.equals(
HIGHsrc/Mod/Draft/draftgeoutils/edges.py125 if abs(bspline.length() - dist_start_end) < 1e-7:
HIGHsrc/Mod/Draft/draftgeoutils/intersections.py220 if DraftVecUtils.equals(pt1, pt3) or DraftVecUtils.equals(pt1, pt4):
HIGHsrc/Mod/Draft/draftgeoutils/wires.py65 if DraftVecUtils.equals(e1.Vertexes[0].Point, e2.Vertexes[0].Point):
HIGHsrc/Mod/Draft/draftgeoutils/wires.py67 if DraftVecUtils.equals(e1.Vertexes[0].Point, e2.Vertexes[-1].Point):
HIGHsrc/Mod/Draft/draftgeoutils/wires.py69 if DraftVecUtils.equals(e1.Vertexes[-1].Point, e2.Vertexes[0].Point):
HIGHsrc/Mod/Draft/draftgeoutils/wires.py71 if DraftVecUtils.equals(e1.Vertexes[-1].Point, e2.Vertexes[-1].Point):
HIGHsrc/Mod/Draft/draftgeoutils/circle_inversion.py63 if DraftVecUtils.equals(cen, point):
HIGHsrc/Mod/Draft/draftgeoutils/circle_inversion.py113 if DraftVecUtils.equals(cen1, cen2):
HIGHsrc/Mod/Draft/draftgeoutils/general.py85 if DraftVecUtils.equals(p1, p2):
HIGHsrc/Mod/Fem/femguiutils/vtk_table_view.py183 translate("FEM", "Copy selection to clipboard ({})".format(shortcut.toString()))
HIGHsrc/Mod/CAM/Path/Geom.py619 alpha = math.asin((z1 - z0) / arc.length())
HIGHsrc/Mod/CAM/Path/Geom.py621 step = arc.length() / (points - 1)
HIGHsrc/Mod/CAM/Path/Tool/toolbit/ui/editor.py399 label = translate('CAM', 'Feeds && Speeds')
HIGHsrc/Mod/CAM/Machine/models/machine.py219 # Default to X-axis if vector is null or zero-length
HIGHsrc/Mod/CAM/Machine/models/machine.py318 # Default to Z-axis rotation if vector is null or zero-length
HIGHsrc/Mod/CAM/CAMTests/TestPathHelpers.py119 # Test that non-change commands return false
HIGHsrc/Mod/CAM/CAMTests/TestPathToolBitSerializer.py118 b'{"name": "Test Tool", "pocket": null, "shape": "endmill", '
HIGHsrc/Mod/CAM/CAMTests/TestPathToolBitSerializer.py129 b'{"name": "Test Tool", "pocket": null, "shape": "endmill", '
HIGHsrc/Mod/TemplatePyMod/DocumentObject.py205 return self.__vobject__.toString()
HIGHsrc/Mod/BIM/ArchFloor.py313 if not DraftVecUtils.equals(pl.Base, self.OldPlacement.Base):
HIGHsrc/Mod/BIM/ArchFence.py227 if sectionLength > sectionLine.length() - postLength:
HIGHsrc/Mod/BIM/ArchFence.py230 sectionCopy, sectionLength, sectionLine.length() - postLength
HIGHsrc/Mod/BIM/ArchStairs.py1371 distFrom2ndParameter = l0.length() - distFrom1stParameter
HIGHsrc/Mod/BIM/ArchStairs.py1386 distFrom2ndParameter = l99.length() - distFrom1stParameter
HIGHsrc/Mod/BIM/ArchRebar.py740 length += geo.length()
HIGHsrc/Mod/BIM/ArchCommands.py308 """makeComponent([baseobj],[name],[delete]): creates an undefined, non-parametric BIM
HIGHsrc/Mod/BIM/ArchComponent.py1100 Check if the shape is valid, isn't null, and if it has volume. Remove
HIGHsrc/Mod/BIM/ArchIFC.py170 If the IFC type is undefined, return the schema of the
HIGHsrc/Mod/BIM/Arch.py1947 will remain undefined, resulting in a shapeless object until `WindowParts`
HIGHsrc/Mod/BIM/importers/exportIFC.py1868 if not DraftVecUtils.equals(last, e.Vertexes[0].Point):
21 more matches not shown…
Redundant / Tautological Comments140 hits · 208 pts
SeverityFileLineSnippet
LOWcontrib/debugger/qt_pretty_printers_gdb.py120 # Check if the printer is already registered
LOWpackage/scripts/macos_sign_and_notarize.zsh78# Check if SIGNING_KEY_ID is set
LOWsrc/Tools/bindings/model/generateModel_Python.py469 # Check if this is a Final type hint, e.g. Final[int] or typing.Final[int]
LOWsrc/Tools/bindings/templates/templateClassPyExport.py16 # Check if files exist
LOWsrc/Tools/bindings/templates/templateClassPyExport.py21 # Read file contents
LOWsrc/Doc/BuildDocDoxy.cfg367# Set it to YES to include the internal documentation.
LOWsrc/Doc/BuildDocDoxyFull.cfg290# Set it to YES to include the internal documentation.
LOWsrc/Mod/Draft/importDXF.py4766 # Check if all segments of the wire are straight lines.
LOWsrc/Mod/Draft/importSVG.py1437 # Close the file
LOWsrc/Mod/Draft/draftguitools/gui_snapper.py314 # Check if parallel to one of the edges of the last objects
LOWsrc/Mod/Draft/draftguitools/gui_snapper.py321 # Check if we have an object under the cursor and try to
LOWsrc/Mod/Draft/draftobjects/patharray.py475 # Check if all referenced properties are available:
LOWsrc/Mod/Draft/draftobjects/patharray.py494 # Check if referenced property is available:
LOWsrc/Mod/Draft/draftobjects/patharray.py505 # Check if all referenced properties are available:
LOWsrc/Mod/Draft/draftutils/gui_utils.py1034 # Check if the object is already active in its context
LOWsrc/Mod/Draft/draftgeoutils/geometry.py247 # Check if the shape is planar
LOWsrc/Mod/Test/GuiDocument.py113 # Check if the new function returns the correct root objects
LOWsrc/Mod/Fem/feminout/importCcxFrdResults.py388 # Check if we found nodes section
LOWsrc/Mod/Fem/feminout/importCcxFrdResults.py399 # Check if we found elements section
LOWsrc/Mod/Fem/feminout/importCcxFrdResults.py639 # Check if we found new eigenmode line
LOWsrc/Mod/Fem/feminout/importCcxFrdResults.py646 # Check if we found new time step
LOWsrc/Mod/Fem/feminout/importCcxFrdResults.py658 # Check if we found displacement section
LOWsrc/Mod/Fem/feminout/importCcxFrdResults.py669 # Check if we found stress section
LOWsrc/Mod/Fem/feminout/importCcxFrdResults.py686 # Check if we found strain section
LOWsrc/Mod/Fem/feminout/importCcxFrdResults.py703 # Check if we found an equivalent plastic strain section
LOWsrc/Mod/Fem/feminout/importCcxFrdResults.py712 # Check if we found a temperature section
LOWsrc/Mod/Fem/feminout/importCcxFrdResults.py721 # Check if we found heat flux section
LOWsrc/Mod/Fem/feminout/importCcxFrdResults.py732 # Check if we found a mass flow section
LOWsrc/Mod/Fem/feminout/importCcxFrdResults.py747 # Check if we found a network pressure section
LOWsrc/Mod/Fem/feminout/importCcxFrdResults.py761 # Check if we found the end of a section
LOWsrc/Mod/Fem/feminout/importCcxFrdResults.py832 # Check if we found the end of frd data
LOWsrc/Mod/Assembly/CommandInsertNewPart.py67 # Check if document is saved before proceeding
LOWsrc/Mod/Assembly/CommandCreateJoint.py486 # Check if part is grounded and if so delete the joint.
LOWsrc/Mod/Assembly/CommandInsertLink.py157 # Check if object.Name & object.LinkedObject.Name exists
LOWsrc/Mod/Assembly/JointObject.py2242 # Check if the addition is acceptable (we are not doing this in selection gate to let user move objects)
LOWsrc/Mod/OpenSCAD/OpenSCADFeatures.py294 # Check if property Tolerance exist and preserve support for backward compatibility
LOWsrc/Mod/CAM/InitGui.py99 # Check if CAM asset migration is needed for version upgrade
LOWsrc/Mod/CAM/Path/Preferences.py129 # Check if we have a CamAssets path already set
LOWsrc/Mod/CAM/Path/Post/Processor.py1116 # Check if this is a tool change command (M6)
LOWsrc/Mod/CAM/Path/Post/Processor.py1124 # Check if this is the first move after tool change
LOWsrc/Mod/CAM/Path/Post/Processor.py1130 # Check if this move has both XY and Z components
LOWsrc/Mod/CAM/Path/Post/Processor.py2155 # Check if comments should be output
LOWsrc/Mod/CAM/Path/Post/Processor.py2285 # Check if we should suppress duplicate parameters
LOWsrc/Mod/CAM/Path/Post/GcodeProcessingUtils.py393 # Check if this is a rapid move without side effects
LOWsrc/Mod/CAM/Path/Post/Utils.py450 # Check if this cycle has different parameters than the last one
LOWsrc/Mod/CAM/Path/Post/Utils.py456 # Check if we need to terminate the previous cycle
LOWsrc/Mod/CAM/Path/Post/scripts/svg_post.py143 # Check if the edge is vertical (should be skipped)
LOWsrc/Mod/CAM/Path/Post/scripts/marlin_legacy_post.py109SHOW_EDITOR = True # Display the resulting gcode file
LOWsrc/Mod/CAM/Path/Post/scripts/marlin_legacy_post.py460 # Write the file:
LOWsrc/Mod/CAM/Path/Post/scripts/linuxcnc_post.py258 # Check if this is a tapping cycle with rigid annotation
LOWsrc/Mod/CAM/Path/Post/scripts/linuxcnc_post.py350 # Check if this is G80/G98/G99 with tapping annotation
LOWsrc/Mod/CAM/Path/Post/scripts/linuxcnc_post.py353 # Check if this is part of a tapping operation with rigid annotation
LOWsrc/Mod/CAM/Path/Post/scripts/generic_plasma_post.py406 # Check if this is a Z move to cut height (first entry)
LOWsrc/Mod/CAM/Path/Post/scripts/rrf_legacy_post.py100SHOW_EDITOR = True # Display the resulting gcode file
LOWsrc/Mod/CAM/Path/Post/scripts/rrf_legacy_post.py454 # Write the file:
LOWsrc/Mod/CAM/Path/Post/scripts/smoothie_post.py165 # Check if remote posting is enabled and IP address is specified
LOWsrc/Mod/CAM/Path/Post/scripts/opensbp_post.py370 # Check if automatic tool changer is enabled
LOWsrc/Mod/CAM/Path/Post/scripts/heidenhain_legacy_post.py182LBLIZE_ACTIVE = False # Check if search for LBL
LOWsrc/Mod/CAM/Path/Post/Gui/DlgPostProcess.py843 # Check if it's a tool controller
LOWsrc/Mod/CAM/Path/Op/PocketShape.py239 # Check if selected vertical faces form a loop
80 more matches not shown…
AI Slop Vocabulary74 hits · 170 pts
SeverityFileLineSnippet
LOWpackage/scripts/macos_sign_and_notarize.zsh189 print -r -- "$id" # ID is a string here, not an integer, so I can't just return it
MEDIUMsrc/3rdParty/lru-cache/include/lru/internal/hash.hpp32/// Essentially hashes all tuple elements and jumbles the
MEDIUMsrc/Mod/Mesh/App/WildMagic4/Wm4ConvexHull2.h34 // uses floating-point arithmetic, but is not robust in all cases.
MEDIUMsrc/Mod/Mesh/App/WildMagic4/Wm4ConvexHull2.h84 // Support for robust queries.
MEDIUMsrc/Mod/Mesh/App/WildMagic4/Wm4Delaunay3.h45 // uses floating-point arithmetic, but is not robust in all cases.
MEDIUMsrc/Mod/Mesh/App/WildMagic4/Wm4Delaunay3.h156 // are for robust calculations.
MEDIUMsrc/Mod/Mesh/App/WildMagic4/Wm4TriangulateEC.h104 // uses floating-point arithmetic, but is not robust in all cases. The
MEDIUMsrc/Mod/Mesh/App/WildMagic4/Wm4TriangulateEC.h287 // For robust determinant calculation.
MEDIUMsrc/Mod/Mesh/App/WildMagic4/Wm4PolynomialRoots.h31// A: algebraic using closed-form expressions (fast, typically not robust)
MEDIUMsrc/Mod/Mesh/App/WildMagic4/Wm4PolynomialRoots.h32// B: bisection (after root bounding, slow and robust)
MEDIUMsrc/Mod/Mesh/App/WildMagic4/Wm4PolynomialRoots.h33// N: Newton's/bisection hybrid (after root bounding, medium and robust)
MEDIUMsrc/Mod/Mesh/App/WildMagic4/Wm4PolynomialRoots.h34// E: eigenvalues of a companion matrix (fast and robust)
MEDIUMsrc/Mod/Mesh/App/WildMagic4/Wm4Delaunay2.h43 // uses floating-point arithmetic, but is not robust in all cases.
MEDIUMsrc/Mod/Mesh/App/WildMagic4/Wm4Delaunay2.h144 // are for robust calculations.
MEDIUMsrc/Mod/Mesh/App/WildMagic4/Wm4ConvexHull3.h35 // uses floating-point arithmetic, but is not robust in all cases.
MEDIUMsrc/Mod/Mesh/App/WildMagic4/Wm4ConvexHull3.h91 // Support for robust queries.
LOWsrc/Mod/Draft/draftobjects/dimension.py140 # It is just set at creation time by the make_dimension function
LOWsrc/Mod/Draft/draftfunctions/svgshapes.py423 # final svg string already calculated, so just return it
MEDIUMsrc/Mod/Test/TestCoinNodeSnapshots.py25# FreeCAD/Coin/Pivy environments; it is a test harness rather than library code.
MEDIUMsrc/Mod/Test/TestCoinNodeSnapshots.py943 # Structural Similarity Index (SSIM) provides a more robust signal than raw per-pixel diffs
MEDIUMsrc/Mod/Fem/femtools/geomtools.py134 # BoundBox is possible too, but is BB calculations robust?!
MEDIUMsrc/Mod/Fem/femresult/resulttools.py402 # maybe a dictionary would be far more robust than a list
MEDIUMsrc/Mod/TechDraw/App/Geometry.h421 bool m_reference; //reference vertex (ex robust dimension)
MEDIUMsrc/Mod/Sketcher/App/planegcs/Constraints.cpp1569 // We switch to the robust 'r1 - r2 = 0' formulation, which has a
MEDIUMsrc/Mod/Sketcher/App/planegcs/Constraints.cpp1592 // Provide the gradient corresponding to the robust 'r1 - r2 = 0' error function.
MEDIUMsrc/Mod/Sketcher/Gui/EditModeConstraintCoinManager.h276 /// Essentially a version of sendConstraintIconToCoin, with a blank icon
LOWsrc/Mod/OpenSCAD/OpenSCADFeatures.py581 # OpenSCAD does not spline this surface, so neither do we: just create a
LOWsrc/Mod/OpenSCAD/importCSG.py264 # just return the plain modifier for now
LOWsrc/Mod/CAM/Path/Post/Processor.py1164 # Move doesn't have both XY and Z, just add it as-is
LOWsrc/Mod/CAM/Path/Dressup/Gui/LeadInOut.py1303 # we just use a flag and set it to false afterwards. To find the last
LOWsrc/Mod/CAM/Path/Dressup/Gui/Dragknife.py384 # don't worry about non-move commands, just add to output
LOWsrc/Mod/CAM/Path/Dressup/Gui/Dragknife.py396 # rapid retract triggers exit move, else just add to output
LOWsrc/Mod/CAM/Path/Op/Custom.py159 # probably absolute, just return
LOWsrc/Mod/CAM/Path/Op/ThreadMilling.py183 # Since we already have the outer diameter it's simpler to just add 1/8 * H
LOWsrc/Mod/CAM/Path/Op/Adaptive.py582 # FIXME: Kinda gross- just use this to match up with the
LOWsrc/Mod/CAM/Path/Op/Adaptive.py601 # FIXME: Kinda gross- just use this to match up with the
LOWsrc/Mod/CAM/Path/Base/Generator/facing_common.py113 # Fallback - just use adjacent edges (should be perpendicular for rectangles)
LOWsrc/Mod/CAM/Path/Tool/toolbit/migration.py67 # For dicts, just set the value
LOWsrc/Mod/CAM/Path/Tool/toolbit/models/base.py953 # Use the _shape_type (subclass) as the shape-type if it differs from the actual shape name, to preserve the ali
LOWsrc/Mod/CAM/Path/Tool/assets/cache.py48 timestamp: float # For LRU, or just use OrderedDict nature
MEDIUMsrc/Mod/Points/App/Points.cpp89 // cannot use QtConcurrent We could also rewrite Points to leverage SIMD instructions Other
LOWsrc/Mod/TemplatePyMod/FeaturePython.py147 a.ViewObject.Proxy=0 # just set it to something different from None
LOWsrc/Mod/BIM/ArchRoof.py872 # (upward or downward), or it is curve surface, just add.
LOWsrc/Mod/BIM/ArchSite.py2140 # If Qt is unavailable or scheduling fails, just return silently.
LOWsrc/Mod/BIM/ArchStairs.py1477 ) # distList.append((intersectionI-p1[i]).Length)) # TODO just use p1[i] for test; may be p2[i-1]...?
LOWsrc/Mod/BIM/ArchStairs.py1489 ) # distList.append((intersectionI-p4[i]).Length)) # TODO just use p4[i] for test; may be p3[i-1]...?
MEDIUMsrc/Mod/BIM/ArchWindow.py778 # TODO More robust approach : With ArchSketch, on which wall segment an ArchObject is attached to is de
MEDIUMsrc/Mod/BIM/ArchReport.py2316 # --- Use QDesktopServices for robust, cross-platform opening (Refinement #3) ---
MEDIUMsrc/Mod/BIM/ArchCurtainWall.py487 # Curve extruded face (surface) seems return no Plane - need more robust algorithm
MEDIUMsrc/Mod/BIM/ArchCurtainWall.py492 # TODO 2025.6.15 : Need a more robust algorithm below
MEDIUMsrc/Mod/BIM/ArchSql.py371# 2. Add a comprehensive unit test suite for this new core function.
LOWsrc/Mod/BIM/ArchSql.py1718 # Otherwise, it's already a transformed function object, so just return it.
LOWsrc/Mod/BIM/ArchSql.py1850 # by their own methods, so we just pass them up.
LOWsrc/Mod/BIM/ArchWall.py845 # extrusion data, just use that.
LOWsrc/Mod/BIM/importers/exportIFCHelper.py328 # to compress a new type, just add the necessary method here
LOWsrc/Mod/BIM/importers/exportIFCStructuralTools.py364 # just add the point, no other member using it yet
LOWsrc/Mod/BIM/importers/exportIFCStructuralTools.py407 # just add the curve, no other member using it yet
MEDIUMsrc/Mod/BIM/bimtests/TestArchWallGui.py405 # Start with a comprehensive dictionary built from the real parameter definitions
MEDIUMsrc/Mod/BIM/bimtests/TestArchReport.py590 # This is the most robust way to ensure the test is correct and not
MEDIUMsrc/Mod/BIM/bimtests/TestArchReport.py27 ) # Store as Quantity for robust comparison
14 more matches not shown…
Dead Code36 hits · 72 pts
SeverityFileLineSnippet
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py48
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py54
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py55
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py56
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py57
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py64
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py71
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py72
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py79
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py87
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py95
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py97
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py98
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py124
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py138
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py154
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py185
MEDIUMsrc/Mod/Draft/draftgeoutils/sort_edges.py186
MEDIUMsrc/Mod/Draft/draftgeoutils/wires.py125
MEDIUMsrc/Mod/Draft/draftgeoutils/wires.py128
MEDIUMsrc/Mod/Draft/draftgeoutils/wires.py147
MEDIUMsrc/Mod/Draft/draftgeoutils/wires.py148
MEDIUMsrc/Mod/Draft/draftgeoutils/wires.py150
MEDIUMsrc/Mod/Draft/draftgeoutils/wires.py155
MEDIUMsrc/Mod/Fem/femtest/app/test_ccxtools.py226
MEDIUMsrc/Mod/Fem/femtest/app/test_ccxtools.py228
MEDIUMsrc/Mod/Fem/femtest/app/test_ccxtools.py229
MEDIUMsrc/Mod/Fem/femtest/app/test_ccxtools.py243
MEDIUMsrc/Mod/Fem/femtest/app/test_ccxtools.py245
MEDIUMsrc/Mod/Fem/femtest/app/test_ccxtools.py246
MEDIUMsrc/Mod/CAM/Path/Tool/assets/store/filestore.py44
MEDIUMsrc/Mod/BIM/ArchWall.py93
MEDIUMsrc/Mod/BIM/ArchWall.py94
MEDIUMsrc/Mod/BIM/ArchWall.py96
MEDIUMsrc/Mod/BIM/ArchWall.py97
MEDIUMsrc/Mod/BIM/ArchWall.py104
Verbosity Indicators42 hits · 71 pts
SeverityFileLineSnippet
LOWsrc/App/GeoFeatureGroupExtension.cpp516 // for links with scope SubGroup we need to check if all features are part of subgroups
LOWsrc/App/GeoFeatureGroupExtension.cpp549 // for links with scope SubGroup we need to check if all features are part of subgroups
LOWsrc/App/StringHasher.h671 * The purpose of this function is to provide a short form of a stable string identification.
LOWsrc/App/Link.cpp534// The purpose of this function is to synchronize the mutated copy to the
LOWsrc/3rdParty/FastSignals/tests/catch2/catch.hpp12659 // No children have started. We need to check if they _can_
LOWsrc/Mod/Mesh/App/Core/Smoothing.cpp368 // Step 1: determine face normals
LOWsrc/Mod/Mesh/App/Core/Smoothing.cpp398 // Step 2: move vertices
LOWsrc/Mod/Draft/DxfImportDialog.py14 # Step 1: Load the UI from the resource file. This returns a new QDialog instance.
LOWsrc/Mod/Draft/draftviewproviders/view_layer.py453 # We need to check if it was put in a new group. If that is
LOWsrc/Mod/Assembly/AssemblyTests/TestCore.py187 # Step 0 : box with placement. No element selected
LOWsrc/Mod/Assembly/AssemblyTests/TestCore.py193 # Step 1 : box with placement. Face + Vertex
LOWsrc/Mod/Assembly/AssemblyTests/TestCore.py199 # Step 2 : box with placement. Edge + Vertex
LOWsrc/Mod/Assembly/AssemblyTests/TestCore.py205 # Step 3 : box with placement. Vertex
LOWsrc/Mod/Assembly/AssemblyTests/TestCore.py213 # Step 4 : box with placement. Face
LOWsrc/Mod/Sketcher/App/Sketch.cpp4036 // Step 1: Check if the two points (p1, p2) are endpoints of the same arc.
LOWsrc/Mod/Sketcher/App/Sketch.cpp4057 // Step 2: We found the arc. Now check if its center lies on the symmetry line.
LOWsrc/Mod/Sketcher/Gui/DrawSketchHandlerOffset.h1142 // if only 2 elements, we need to check if they close end to end.
LOWsrc/Mod/Start/Gui/FileCardDelegate.cpp78 // Step 1: Styling
LOWsrc/Mod/Start/Gui/FileCardDelegate.cpp95 // Step 2: Fetch required data
LOWsrc/Mod/Start/Gui/FileCardDelegate.cpp118 // Step 4: Positioning
LOWsrc/Mod/Start/Gui/FileCardDelegate.cpp134 // Step 5: Draw
LOWsrc/Mod/Start/Gui/FlowLayout.cpp184 // Step 1: Wrap if necessary
LOWsrc/Mod/Start/Gui/FlowLayout.cpp212 // Step 2: Apply the last row's height
LOWsrc/Mod/CAM/Path/Base/Generator/facing_common.py240 # Step 1: Rotate the wire in the opposite direction to align optimally with axes
LOWsrc/Mod/CAM/Path/Base/Generator/facing_common.py244 # Step 2: Get the axis-aligned bounding box of the rotated wire
LOWsrc/Mod/CAM/Path/Base/Generator/facing_common.py260 # Step 3: Rotate the bounding box to the desired angle
LOWsrc/Mod/CAM/Path/Tool/assets/manager.py423 # Step 1: Fetch all data using asyncio.run
LOWsrc/Mod/CAM/Path/Tool/assets/manager.py447 # Step 2: Synchronously build the asset tree (and call from_bytes)
LOWsrc/Mod/BIM/Arch.py2244 # Step 1: Get global coordinates of the baseline's endpoints.
LOWsrc/Mod/BIM/Arch.py2252 # Step 2: Determine the extrusion normal vector.
LOWsrc/Mod/BIM/Arch.py2259 # Step 3: Calculate the final orientation from the geometric axes.
LOWsrc/Mod/BIM/Arch.py2269 # Step 4: Calculate the final position (the wall's volumetric center).
LOWsrc/Mod/BIM/bimtests/TestArchReport.py1780 # Step 1: Select only the 'Pipeline Test Floor'.
LOWsrc/Mod/BIM/bimtests/TestArchReport.py1786 # Step 2: Use CHILDREN to get the walls from the previous step's result.
LOWsrc/Mod/PartDesign/App/ShapeBinder.cpp1028 // referencing the child. The purpose of this function is to remove any
LOWsrc/Mod/Part/App/TopoShapeExpansion.cpp4367 // Step 1: Union(A, B) - intermediate result, no op code.
LOWsrc/Mod/Part/App/TopoShapeExpansion.cpp4377 // Step 2: Common(A, B) - intermediate result, no op code.
LOWsrc/Mod/Part/App/TopoShapeExpansion.cpp4387 // Step 3: Compute the final result for this iteration
LOWsrc/Mod/Import/App/dxf/ImpExpDxf.cpp894 // Step 1: Check for external references first. This is a critical check.
LOWsrc/Mod/Import/App/dxf/ImpExpDxf.cpp900 // Step 2: Check if the block is anonymous/system.
LOWsrc/Mod/Import/App/dxf/ImpExpDxf.cpp927 // Step 3: Check for duplicates to prevent errors.
LOWsrc/Mod/Import/App/dxf/ImpExpDxf.cpp933 // Step 4: Use the temporary Block struct and Collector to parse all contents into memory.
Docstring Block Structure12 hits · 60 pts
SeverityFileLineSnippet
HIGHsrc/Mod/CAM/Path/Base/Generator/facing_common.py212 Create a rotated bounding box that fully contains the input wire. This function generates a rectangular wire r
HIGHsrc/Mod/CAM/Path/Tool/shape/models/icon.py89 Create a ToolBitShapeIcon instance from a file. Args: filepath (pathlib.Path): Path to the
HIGHsrc/Mod/CAM/Path/Tool/shape/models/base.py199 Identifies the ToolBitShape subclass from the raw bytes of an FCStd file by parsing the XML content to
HIGHsrc/Mod/CAM/Path/Tool/shape/models/base.py325 Create a ToolBitShape instance from the raw bytes of an FCStd file. Identifies the correct subclass ba
HIGHsrc/Mod/CAM/Path/Tool/shape/models/base.py464 Create a ToolBitShape instance from an FCStd file. Reads the file bytes and delegates to from_bytes().
HIGHsrc/Mod/CAM/Path/Tool/shape/models/base.py650 Get the value of a specific parameter. Args: name (str): The name of the parameter.
HIGHsrc/Mod/CAM/Path/Tool/assets/manager.py954 Asynchronously deep copies an asset and its dependencies from a source store to a destination store.
HIGHsrc/Mod/CAM/Path/Tool/assets/manager.py1059 Synchronously deep copies an asset and its dependencies from a source store to a destination store.
HIGHsrc/Mod/CAM/Path/Tool/assets/store/base.py42 Retrieve the raw byte data for the asset at the given URI. Args: uri: The unique identifie
HIGHsrc/Mod/CAM/Path/Tool/assets/store/base.py89 Create a new asset in the store with the given data. The store determines the final URI for the new as
HIGHsrc/Mod/CAM/Machine/models/machine.py1833 Load a machine configuration from a JSON file Args: filename: Filename (with or without pa
HIGHsrc/Mod/CAM/Machine/models/machine.py2141 Get a machine configuration by name from the assets folder Args: machine_name: Name of the
Hallucination Indicators5 hits · 55 pts
SeverityFileLineSnippet
CRITICALsrc/Mod/Draft/draftguitools/gui_edit_draft_objects.py570 p = obj.ViewObject.Proxy.textpos.translation.getValue()
CRITICALsrc/Mod/CAM/Path/Main/Gui/Job.py318 self.obj.Stock.ViewObject.Proxy.onEdit(_OpenCloseResourceEditor)
CRITICALsrc/Mod/BIM/ArchComponent.py1856 self.Object.CloneOf.HiRes.ViewObject.show()
CRITICALsrc/Mod/BIM/ArchComponent.py1857 self.Object.CloneOf.HiRes.ViewObject.hide()
CRITICALsrc/Mod/PartDesign/PartDesignTests/TestBoolean.py175 # rgb = App.Gui.ActiveDocument.Body002.RootNode.getChild(2).getChild(1).getChild(1).getChild(0).diffuseColor.get
Slop Phrases21 hits · 45 pts
SeverityFileLineSnippet
MEDIUMtests/src/App/BackupPolicy.cpp389 "verbose date string for demonstration purposes."
MEDIUM.github/workflows/codeql.yml64 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
MEDIUM.github/workflows/codeql_cpp.yml68 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
LOWpackage/scripts/macos_sign_and_notarize.zsh201 # If the failure was transient (timeout/HTTP/connection) just retry, but make sure to check to see if the problem
MEDIUMsrc/Doc/BuildDocDoxy.cfg586# If the value of the INPUT tag contains directories, you can use the
MEDIUMsrc/Doc/BuildDocDoxy.cfg615# If the value of the INPUT tag contains directories, you can use the
MEDIUMsrc/Doc/BuildDocDoxy.cfg639# If the value of the EXAMPLE_PATH tag contains directories, you can use the
MEDIUMsrc/Doc/BuildDocDoxyFull.cfg471# If the value of the INPUT tag contains directories, you can use the
MEDIUMsrc/Doc/BuildDocDoxyFull.cfg500# If the value of the INPUT tag contains directories, you can use the
MEDIUMsrc/Doc/BuildDocDoxyFull.cfg516# If the value of the EXAMPLE_PATH tag contains directories, you can use the
LOWsrc/Mod/Fem/Gui/TaskPostBoxes.cpp1961 // set spinbox scalar_factor, don't forget to sync the slider
LOWsrc/Mod/Fem/Gui/TaskPostBoxes.cpp2018 // set scalar_factor, don't forget to sync the slider
LOWsrc/Mod/Fem/Gui/TaskPostBoxes.cpp2039 // don't forget to sync the spinbox
LOWsrc/Mod/Fem/Gui/TaskPostBoxes.cpp2051 // don't forget to sync the slider
LOWsrc/Mod/Fem/Gui/TaskPostBoxes.cpp2085 // set spinbox warp_factor, don't forget to sync the slider
LOWsrc/Mod/Fem/Gui/TaskPostBoxes.cpp2090 // set min and max, don't forget to sync the slider
LOWsrc/Mod/Fem/Gui/TaskPostBoxes.cpp2237 // TODO if warp factor is smaller than min, warp factor should be min, don't forget to sync
LOWsrc/Mod/OpenSCAD/importCSG.py102 # of their individual component objects. But make sure to only handle the ones we just imported,
LOWsrc/Mod/CAM/Tools/toolbit-attributes.py55# !!! A single typo can ruin a lot of toolbit shapes - make sure to only use !!!!
MEDIUMsrc/Mod/TemplatePyMod/DocumentObject.py21 #will be called just after object creation, you can use this for example to create properties
LOWsrc/Mod/BIM/nativeifc/ifc_import.py115 pstr += " # warning: make sure you know what you are doing when using this!"
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippet
HIGHsrc/Mod/CAM/Path/Op/Adaptive.py1156 # as requested by operation
HIGHsrc/Mod/PartDesign/Gui/CommandBody.cpp310 // as requested in issue #0002862
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippet
LOWtests/src/App/IndexedName.cpp380 // Usage example:
LOWsrc/Tools/sync_version.py12# Usage:
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippet
LOWtests/src/App/ProjectFile.cpp78 EXPECT_EQ(std::string("John Doe"), metadata.createdBy);
LOWtests/src/App/ProjectFile.cpp81 EXPECT_EQ(std::string("John Doe"), metadata.lastModifiedBy);
LOWsrc/Mod/CAM/CAMTests/TestPostProcessor.py253 builder.add_author("John Doe")