OpenSCAD - The Programmers Solid 3D CAD Modeller
This report summarizes scanner evidence for openscad/openscad, a C++ project with 10,560 GitHub stars. SynthScan examined 106,032 lines of code across 552 source files, recording 406 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 3.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 364 finding(s).
Are imports declared and package/API names verified? 19 finding(s).
Are wrappers, guards, and repeated structures necessary? 24 finding(s).
Which changes need focused human review? 406 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 406 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 1 | # | COMMENT |
| LOW | .pre-commit-config.yaml | 1 | # OpenSCAD (www.openscad.org) | COMMENT |
| LOW | .uncrustify.cfg | 1 | # | COMMENT |
| LOW | tests/export_import_pngtest.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tests/diffpng.cpp | 61 | //#define DIFFPNG_HEADERONLY | COMMENT |
| LOW | tests/CMakeLists.txt | 201 | COMMENT | |
| LOW | tests/CMakeLists.txt | 781 | # Add tests # | COMMENT |
| LOW | tests/CMakeLists.txt | 961 | ) | COMMENT |
| LOW | tests/CMakeLists.txt | 1101 | # Verify that test framework is paying attention to alpha channel, issue 1492 | COMMENT |
| LOW | tests/export_pngtest.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tests/test_pretty_print.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tests/test_cmdline_tool.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tests/validatestl.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | scripts/builder.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/builder.sh | 21 | # from the openscad github master source code. It will then optionally | COMMENT |
| LOW | scripts/circleci-download-artifacts.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | scripts/uni-build-dependencies.sh | 1 | #!/bin/sh -e | COMMENT |
| LOW | scripts/uni-build-dependencies.sh | 21 | # cd somepath | COMMENT |
| LOW | scripts/uni-build-dependencies.sh | 621 | # version=$1 | COMMENT |
| LOW | scripts/uni-build-dependencies.sh | 701 | # | COMMENT |
| LOW | scripts/wasm-base-docker-run.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/chrpath_linux.c | 121 | /* #undef const */ | COMMENT |
| LOW | scripts/chrpath_linux.c | 421 | //# include "config.h" | COMMENT |
| LOW | scripts/chrpath_linux.c | 561 | COMMENT | |
| LOW | scripts/chrpath_linux.c | 641 | * | COMMENT |
| LOW | scripts/macosx-build-dependencies.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/macosx-build-dependencies.sh | 481 | tar xjf ../Sparkle-$version.tar.xz | COMMENT |
| LOW | scripts/mingw-x-build-dependencies.sh | 1 | #!/bin/sh -e | COMMENT |
| LOW | scripts/mingw-x-build-dependencies.sh | 21 | # Also see http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Cross-compiling_for_Windows_on_Linux_or_Mac_OS_X | COMMENT |
| LOW | scripts/macosx-sanity-check.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | scripts/setenv-mingw-xbuild.sh | 1 | #!/bin/sh -e | COMMENT |
| LOW | scripts/release-common.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/check-dependencies.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/git_merge_fix_false_deletions.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/git_merge_fix_false_deletions.sh | 21 | # Instead it attempts to detect them after the fact, through countless semi-functional hacks. | COMMENT |
| LOW | src/openscad_mimalloc.h | 1 | #pragma once | COMMENT |
| LOW | src/FontCache.h | 21 | * You should have received a copy of the GNU General Public License | COMMENT |
| LOW | src/core/Settings.h | 1 | #pragma once | COMMENT |
| LOW | src/core/FreetypeRenderer.h | 21 | * You should have received a copy of the GNU General Public License | COMMENT |
| LOW | src/core/node.h | 1 | #pragma once | COMMENT |
| LOW | src/core/Value.h | 1 | #pragma once | COMMENT |
| LOW | src/core/Parameters.h | 1 | #pragma once | COMMENT |
| LOW | src/core/Expression.h | 1 | #pragma once | COMMENT |
| LOW | src/core/CSGTreeEvaluator.h | 1 | #pragma once | COMMENT |
| LOW | src/core/ScopeContext.h | 1 | #pragma once | COMMENT |
| LOW | src/core/primitives.h | 21 | * You should have received a copy of the GNU General Public License | COMMENT |
| LOW | src/core/function.h | 1 | #pragma once | COMMENT |
| LOW | src/python/pyopenscad.h | 1 | #include <Python.h> | COMMENT |
| LOW | src/libsvg/shape.h | 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | COMMENT |
| LOW | src/libsvg/util.h | 21 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | COMMENT |
| LOW | src/ext/CGAL/OGL_helper.h | 1 | // Copyright (c) 1997-2002 Max-Planck-Institute Saarbruecken (Germany). | COMMENT |
| LOW | src/ext/CGAL/OGL_helper.h | 21 | COMMENT | |
| LOW | src/ext/CGAL/OGL_helper.h | 41 | #define CGAL_NEF3_OGL_UNMARKED_FACET_COLOR 249,215,44 | COMMENT |
| LOW | src/ext/CGAL/CGAL_workaround_Mark_bounded_volumes.h | 1 | // Copyright (c) 2005 Max-Planck-Institute Saarbruecken (Germany). | COMMENT |
| LOW | src/ext/CGAL/CGAL_workaround_Mark_bounded_volumes.h | 21 | // Rewritten by Oskar Linde <oskar.linde@gmail.com> | COMMENT |
| LOW | src/ext/libtess2/Include/tesselator.h | 41 | enum TessWindingRule | COMMENT |
| LOW | src/ext/libtess2/Include/tesselator.h | 61 | // for (int j = 0; j < polySize; j++) { | COMMENT |
| LOW | src/ext/libtess2/Include/tesselator.h | 81 | // while (nstack > 0) { | COMMENT |
| LOW | src/ext/libtess2/Include/tesselator.h | 101 | // const TESSindex base = elems[i * 2]; | COMMENT |
| LOW | src/ext/libtess2/Include/tesselator.h | 121 | COMMENT | |
| 281 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_pretty_print.py | 42 | except Exception as e: | CODE |
| LOW | tests/test_pretty_print.py | 61 | except Exception as e: | CODE |
| MEDIUM | tests/test_cmdline_tool.py | 85 | print(f"Error: test '{testname}' is missing expected output in {expectedfilename}", file=sys.stderr) | CODE |
| MEDIUM | tests/test_cmdline_tool.py | 99 | print("Error running subprocess: ", sys.exc_info()[1], file=sys.stderr) | CODE |
| LOW | tests/test_cmdline_tool.py | 148 | except Exception as err: | CODE |
| MEDIUM | tests/test_cmdline_tool.py | 247 | print("Error: Error during test image generation", file=sys.stderr) | CODE |
| MEDIUM | tests/test_cmdline_tool.py | 357 | print("Error: %s failed with return code %d" % (cmdname, proc.returncode), file=sys.stderr) | CODE |
| MEDIUM | tests/test_cmdline_tool.py | 362 | print(f'Error: {err.strerror} "{cmd}"', file=sys.stderr) | CODE |
| LOW | tests/test_cmdline_tool.py | 455 | except Exception as e: | CODE |
| MEDIUM | scripts/macosx-sanity-check.py | 87 | print("Error: Mixing libc++ and libstdc++") | CODE |
| MEDIUM⚡ | scripts/macosx-sanity-check.py | 113 | print("Error: Neither LC_VERSION_MIN_MACOSX nor LC_BUILD_VERSION found in " + lib) | CODE |
| MEDIUM⚡ | scripts/macosx-sanity-check.py | 116 | print("Error: Unsupported deployment target " + m.group(2) + " found: " + lib) | CODE |
| MEDIUM⚡ | scripts/macosx-sanity-check.py | 126 | print("Error: Reference to mkostemp() found - only supported on macOS 10.12->") | CODE |
| MEDIUM⚡ | scripts/macosx-sanity-check.py | 133 | print("Error: x86_64 architecture not found in " + lib) | CODE |
| MEDIUM⚡ | scripts/macosx-sanity-check.py | 139 | print("Error: arm64 architecture not found in " + lib) | CODE |
| MEDIUM | scripts/macosx-sanity-check.py | 155 | print('Error otool -l failed on main executable') | CODE |
| MEDIUM | scripts/macosx-sanity-check.py | 180 | print("Error: External dependency " + d) | CODE |
| LOW | scripts/git-archive-all.py | 57 | except Exception as e: | CODE |
| LOW | scripts/git-archive-all.py | 204 | except Exception: | CODE |
| LOW | scripts/git-archive-all.py | 456 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/ide-shim/openscad/__init__.py | 8 | CODE | |
| LOW | tests/export_import_pngtest.py | 29 | CODE | |
| LOW | tests/shouldfail.py | 12 | CODE | |
| LOW | tests/export_pngtest.py | 18 | CODE | |
| LOW | tests/test_pretty_print.py | 29 | CODE | |
| LOW | tests/test_pretty_print.py | 29 | CODE | |
| LOW | tests/test_pretty_print.py | 31 | CODE | |
| LOW | tests/test_pretty_print.py | 32 | CODE | |
| LOW | tests/test_pretty_print.py | 33 | CODE | |
| LOW | tests/test_cmdline_tool.py | 28 | CODE | |
| LOW | tests/test_cmdline_tool.py | 32 | CODE | |
| LOW | tests/test_cmdline_tool.py | 33 | CODE | |
| LOW | tests/test_cmdline_tool.py | 34 | CODE | |
| LOW | tests/validatestl.py | 18 | CODE | |
| LOW | tests/validatestl.py | 18 | CODE | |
| LOW | tests/validatestl.py | 18 | CODE | |
| LOW | tests/validatestl.py | 18 | CODE | |
| LOW | tests/stlexportsanitytest.py | 7 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/builder.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/uni-build-dependencies.sh | 14 | # Usage: | COMMENT |
| LOW | scripts/wasm-base-docker-run.sh | 6 | # Example usage: | COMMENT |
| LOW | scripts/macosx-build-dependencies.sh | 464 | # Usage: | COMMENT |
| LOW | scripts/mingw-x-build-dependencies.sh | 8 | # Usage: | COMMENT |
| LOW | scripts/setenv-mingw-xbuild.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/publish-macosx.sh | 3 | # Usage: | COMMENT |
| LOW | scripts/establish_version.sh | 13 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | resources/docs/docs_downloader.py | 26 | except: | CODE |
| HIGH | scripts/git-archive-all.py | 204 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_pretty_print.py | 355 | CODE | |
| LOW | tests/test_cmdline_tool.py | 210 | CODE | |
| LOW | tests/test_cmdline_tool.py | 300 | CODE | |
| LOW | tests/validatestl.py | 22 | CODE | |
| LOW | scripts/macosx-sanity-check.py | 40 | CODE | |
| LOW | scripts/macosx-sanity-check.py | 65 | CODE | |
| LOW | scripts/git-archive-all.py | 70 | CODE | |
| LOW | scripts/git-archive-all.py | 223 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/git-archive-all.py | 417 | help="Force a git submodule init && git submodule update at each level before iterating submodules | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/compare-bitmaps.sh | 20 | # Check if $pixelerror contains an integer (it sometimes outputs things like '0 @ 0,0') | COMMENT |
| LOW | scripts/macosx-build-homebrew.sh | 35 | # Check if there's already an active openscad tap and skip | COMMENT |
| LOW | scripts/establish_version.sh | 51 | # Check if we are in a git repo | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/gui/ai/ChatWidget.h | 77 | bool agenticMode = true; // true = agentic (auto-loop), false = interactive review | CODE |
| MEDIUM | src/gui/ai/ChatWidget.h | 80 | pendingViewportSnapshot; // viewport image to inject before next agentic turn | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/ide-shim/openscad/__init__.py | 12 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_cmdline_tool.py | 45 | def get_runtime_to_test_sources(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/ext/lodepng/lodepng.cpp | 70 | lodepng source code. Don't forget to remove "static" if you copypaste them | CODE |