AI Slop Code Risk Monitor

wasm-micro-runtime/wasm-micro-runtime

SlopCodeMonitor badge for wasm-micro-runtime/wasm-micro-runtime Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

WebAssembly Micro Runtime (WAMR)

3.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for wasm-micro-runtime/wasm-micro-runtime, a C project with 6,180 GitHub stars. SynthScan examined 323,475 lines of code across 1258 source files, recording 895 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 3.2 (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.

3.2
Adjusted Signal
3.2
Raw Pattern Score
100%
Time Factor
2026-10-28
Last Push
6.2K
Stars
C
Language
323.5K
Lines of Code
1.3K
Files
895
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 11.8/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 815 finding(s).

Hallucinated Dependency & Supply Chain Risk 1.9/100 · LOW

Are imports declared and package/API names verified? 34 finding(s).

Agent Over-Engineering Ratio 6.2/100 · LOW

Are wrappers, guards, and repeated structures necessary? 390 finding(s).

PR Review Velocity Impact 14.8/100 · LOW

Which changes need focused human review? 895 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 18MEDIUM 25LOW 852

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 895 distinct pattern matches across 17 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.

Over-Commented Block400 hits · 394 pts
SeverityFileLineSnippetContext
LOWcore/config.h41#define BUILD_TARGET_AARCH64COMMENT
LOWcore/config.h61#define BUILD_TARGET_RISCV32_ILP32DCOMMENT
LOWcore/config.h81#endifCOMMENT
LOWcore/config.h101COMMENT
LOWcore/config.h121#error "WASM_ORC_JIT_COMPILE_THREAD_NUM must be greater than 0"COMMENT
LOWcore/config.h141#ifndef FAST_JIT_DEFAULT_CODE_CACHE_SIZECOMMENT
LOWcore/config.h161#ifndef WASM_ENABLE_WASI_NNCOMMENT
LOWcore/config.h181COMMENT
LOWcore/config.h201 && WASM_ENABLE_LIB_WASI_THREADS == 1COMMENT
LOWcore/config.h221/* Bulk memory operation */COMMENT
LOWcore/config.h241#ifndef WASM_ENABLE_DEBUG_INTERPCOMMENT
LOWcore/config.h281 || defined(BUILD_TARGET_AARCH64)COMMENT
LOWcore/config.h301COMMENT
LOWcore/config.h321/* Disable boundary check with hardware trap or not,COMMENT
LOWcore/config.h341#endifCOMMENT
LOWcore/config.h361#define WASM_ENABLE_MEMORY_PROFILING 0COMMENT
LOWcore/config.h381#define WASM_ENABLE_AOT_STACK_FRAME 0COMMENT
LOWcore/config.h401#define WASM_ENABLE_GLOBAL_HEAP_POOL 0COMMENT
LOWcore/config.h421COMMENT
LOWcore/config.h441#define GC_HEAP_SIZE_MAX (1024 * 1024 * 1024)COMMENT
LOWcore/config.h461#define APP_THREAD_STACK_SIZE_MIN PTHREAD_STACK_MINCOMMENT
LOWcore/config.h561#elseCOMMENT
LOWcore/config.h581#endifCOMMENT
LOWcore/config.h601#ifndef WASM_ENABLE_REF_TYPESCOMMENT
LOWcore/config.h621#define WASM_CONST_EXPR_STACK_SIZE 4COMMENT
LOWcore/config.h641#ifndef WASM_ENABLE_TAGSCOMMENT
LOWcore/config.h721COMMENT
LOWcore/config.h741/* In oss-fuzz, the maximum RAM is ~2.5G */COMMENT
LOWcore/config.h761COMMENT
LOWcore/iwasm/interpreter/wasm_runtime.h1/*COMMENT
LOWcore/iwasm/interpreter/wasm_mini_loader.c1/*COMMENT
LOWcore/iwasm/interpreter/wasm_mini_loader.c2401#if WASM_ENABLE_THREAD_MGR != 0COMMENT
LOWcore/iwasm/interpreter/wasm_mini_loader.c4201#define REF_F64_2 VALUE_TYPE_F64COMMENT
LOWcore/iwasm/interpreter/wasm_loader.c1/*COMMENT
LOWcore/iwasm/interpreter/wasm_loader.c21#if WASM_ENABLE_FAST_JIT != 0COMMENT
LOWcore/iwasm/interpreter/wasm_loader.c141#define skip_leb_int32(p, p_end) skip_leb(p)COMMENT
LOWcore/iwasm/interpreter/wasm_loader.c5941 option.enable_bulk_memory = true;COMMENT
LOWcore/iwasm/interpreter/wasm_loader.c10441#define PUSH_REF(Type) TEMPLATE_PUSH_REF(Type)COMMENT
LOWcore/iwasm/interpreter/wasm_loader.c11761COMMENT
LOWcore/iwasm/interpreter/wasm_interp_fast.c1/*COMMENT
LOWcore/iwasm/interpreter/wasm.h21#define VALUE_TYPE_I32 0x7FCOMMENT
LOWcore/iwasm/interpreter/wasm.h41#define REF_TYPE_EQREF 0x6DCOMMENT
LOWcore/iwasm/interpreter/wasm.h61#define HEAP_TYPE_STRUCT (-0x15)COMMENT
LOWcore/iwasm/interpreter/wasm.h121COMMENT
LOWcore/iwasm/interpreter/wasm.h141#define INIT_EXPR_TYPE_I64_ADD 0x7CCOMMENT
LOWcore/iwasm/interpreter/wasm.h161#define SECTION_TYPE_FUNC 3COMMENT
LOWcore/iwasm/interpreter/wasm.h181#define SUB_SECTION_TYPE_FUNC 1COMMENT
LOWcore/iwasm/interpreter/wasm.h201#define LABEL_TYPE_LOOP 1COMMENT
LOWcore/iwasm/interpreter/wasm_runtime.c1/*COMMENT
LOWcore/iwasm/interpreter/wasm_runtime.c21#if WASM_ENABLE_THREAD_MGR != 0COMMENT
LOWcore/iwasm/interpreter/wasm_interp_classic.c1/*COMMENT
LOWcore/iwasm/interpreter/wasm_interp_classic.c21#include "../common/wasm_shared_memory.h"COMMENT
LOWcore/iwasm/interpreter/wasm_interp_classic.c561#define POP_F64() (frame_sp -= 2, GET_F64_FROM_ADDR(frame_sp))COMMENT
LOWcore/iwasm/include/wasm_export.h21#if defined(COMPILING_WASM_RUNTIME_API)COMMENT
LOWcore/iwasm/include/wasm_c_api.h1// WebAssembly C APICOMMENT
LOWcore/iwasm/include/wasm_c_api.h21#define WASM_API_EXTERN __declspec(dllexport)COMMENT
LOWcore/iwasm/include/wasm_c_api.h61typedef char byte_t;COMMENT
LOWcore/iwasm/include/wasm_c_api.h81// Own data is created by `wasm_xxx_new` functions and some others.COMMENT
LOWcore/iwasm/include/wasm_c_api.h881COMMENT
LOWcore/iwasm/libraries/libc-uvwasi/libc_uvwasi_wrapper.c21 wasm_runtime_addr_app_to_native(module_inst, offset)COMMENT
340 more matches not shown…
Hyper-Verbose Identifiers339 hits · 314 pts
SeverityFileLineSnippetContext
LOWcore/iwasm/libraries/wasi-nn/test/run_smoke_test.py48def execute_openvino_road_segmentation_adas_once(CODE
LOWcore/iwasm/libraries/wasi-nn/test/run_smoke_test.py66def execute_openvino_mobilenet_raw_once(CODE
LOWcore/iwasm/libraries/wasi-nn/test/run_smoke_test.py82def execute_openvino_mobilenet_image_once(CODE
LOWcore/iwasm/libraries/wasi-nn/test/run_smoke_test.py180def execute_openvino_mobilenet_image(iwasm_bin: str, wasmedge_bin: str, cwd: Path):CODE
LOWcore/iwasm/libraries/wasi-nn/test/run_smoke_test.py198def execute_openvino_mobilenet_raw(iwasm_bin: str, wasmedge_bin: str, cwd: Path):CODE
LOWcore/iwasm/libraries/wasi-nn/test/run_smoke_test.py216def execute_openvino_road_segmentation_adas(CODE
LOWcore/iwasm/libraries/wasi-nn/test/run_smoke_test.py263def execute_wasmedge_ggml_qwen(iwasm_bin: str, wasmedge_bin: str, cwd: Path):CODE
LOWcore/iwasm/libraries/wasi-nn/test/run_smoke_test.py320def execute_wasmedge_wasinn_examples(iwasm_bin: str, wasmedge_bin: str):CODE
LOWci/clang_tidy_diff_check.py144def generate_preset_compile_commands(root: Path, preset: str) -> str:CODE
LOWci/clang_tidy_diff_check.py185def generate_wamrc_compile_commands(root: Path) -> str:CODE
LOWci/clang_tidy_diff_check.py259def normalize_compile_db_file(root: Path, entry: dict) -> Path:CODE
LOWci/coding_guidelines_check.py202def has_license_header_in_index(root: Path, path: str) -> bool:CODE
LOWci/coding_guidelines_check.py285def analysis_new_item_license(root: Path, commits: str) -> bool:CODE
LOWci/coding_guidelines_check.py325def analysis_staged_new_item_name(root: Path) -> bool:CODE
LOWci/coding_guidelines_check.py345def analysis_staged_new_item_license(root: Path) -> bool:CODE
LOWci/coding_guidelines_check.py367def check_clang_format_config(root: Path) -> bool:CODE
LOWci/coding_guidelines_check.py378def run_staged_clang_format_diff(root: Path) -> bool:CODE
LOW⚡ci/coding_guidelines_check.py530 def test_check_dir_name_failed(self):CODE
LOW⚡ci/coding_guidelines_check.py540 def test_check_file_name_failed(self):CODE
LOW⚡ci/coding_guidelines_check.py546 def test_check_file_name_pass(self):CODE
LOW⚡ci/coding_guidelines_check.py552 def test_check_docs_file_name_failed(self):CODE
LOW⚡ci/coding_guidelines_check.py556 def test_needs_license_header(self):CODE
LOW⚡ci/coding_guidelines_check.py561 def test_has_license_header_pass(self):CODE
LOW⚡ci/coding_guidelines_check.py567 def test_has_license_header_failed(self):CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py417def get_module_exp_from_assert(string):CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py517def parse_simple_const_w_type(number, type):CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py1040def test_assert_wasmexception(r,opts,form):CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py1275def test_assert_with_exception(form, wast_tempfile, wasm_tempfile, aot_tempfile, opts, r, loadable = True):CODE
LOW…requirement-engineering-test-script/run_requirement.py20def expected_build_func_template(verbose: bool) -> None:CODE
LOW…requirement-engineering-test-script/run_requirement.py27def expected_run_func_template(CODE
LOWtests/regression/ba-issues/build_run.py161def get_issue_ids_should_test(selected_ids: Optional[List[int]] = None) -> Set[int]:CODE
LOWtests/requirement-engineering/gc-aot/runtest.py398def get_module_exp_from_assert(string):CODE
LOWtests/requirement-engineering/gc-aot/runtest.py512def parse_simple_const_w_type(number, type):CODE
LOWtests/requirement-engineering/gc-aot/runtest.py1262def test_assert_with_exception(form, wast_tempfile, wasm_tempfile, aot_tempfile, opts, r, loadable=True):CODE
LOW…duct-mini/platforms/zephyr/tests/test_build_and_run.py22 def test_smoke_job_collects_native_coverage_and_runs_qemu_arc(self):CODE
LOW…duct-mini/platforms/zephyr/tests/test_build_and_run.py39 def test_help_describes_sample_and_test_roots(self):CODE
LOW⚡…duct-mini/platforms/zephyr/tests/test_build_and_run.py51 def test_resolves_existing_sample(self):CODE
LOW⚡…duct-mini/platforms/zephyr/tests/test_build_and_run.py54 def test_resolves_nested_test_application(self):CODE
LOW⚡…duct-mini/platforms/zephyr/tests/test_build_and_run.py60 def test_resolves_no_root_to_all_of_them(self):CODE
LOW⚡…duct-mini/platforms/zephyr/tests/test_build_and_run.py67 def test_rejects_parent_traversal(self):CODE
LOW…duct-mini/platforms/zephyr/tests/test_build_and_run.py83 def test_no_docker_paths_remain_single_shell_arguments(self):CODE
LOW…duct-mini/platforms/zephyr/tests/test_build_and_run.py109 def test_docker_coverage_uses_container_paths(self):CODE
LOW…duct-mini/platforms/zephyr/tests/test_build_and_run.py124 def test_coverage_uses_a_separate_output_tree(self):CODE
LOWtest-tools/addr2line/addr2line.py108def build_subprogram_intervals(dwarf_dump: Path, wasm_file: Path) -> list:CODE
LOWtest-tools/addr2line/addr2line.py372def get_line_info_from_function_name_dwarf(CODE
LOWtest-tools/addr2line/addr2line.py447def get_line_info_from_function_addr_sourcemapping(CODE
LOWtest-tools/addr2line/tests/test_addr2line.py139def test_multi_frame_callstack(build_wasm, wabt, run_addr2line, wasi_sdk):CODE
LOWtest-tools/addr2line/tests/test_addr2line.py243def test_offset_zero_fallback(build_wasm, run_addr2line):CODE
LOWtest-tools/addr2line/tests/test_addr2line.py264def test_build_subprogram_intervals_filters_invalid_dies(CODE
LOWtest-tools/ip2function/ip2function.py74 def parse_objdump_function_line(CODE
LOW…-ide/VSCode-Extension/src/utilities/dockerUtilities.ts115function getDockerImagesDownloadUrl(CODE
LOWtest-tools/append-aot-to-wasm/append_aot_to_wasm.py88def create_custom_section_aligned(CODE
LOWtest-tools/flame-graph-helper/process_folded_data.py50def calculate_import_function_count(CODE
LOWtest-tools/flame-graph-helper/process_folded_data.py99def collect_name_section_content(CODE
LOW.github/scripts/fetch_and_compare_version.py92def is_major_or_minor_changed(v1, v2):CODE
LOW.github/scripts/codeql_fail_on_error.py57def codeql_sarif_contain_error(filename, dismissed_alerts):CODE
LOW⚡.github/scripts/ci_gate_decision_test.py134 def test_upstream_push_does_not_run(self):CODE
LOW⚡.github/scripts/ci_gate_decision_test.py139 def test_other_events_always_run(self):CODE
LOW⚡.github/scripts/ci_gate_decision_test.py146 def test_review_comment_waits_when_current_state_is_not_approved(self):CODE
LOW⚡.github/scripts/ci_gate_decision_test.py153 def test_approval_event_waits_when_current_state_is_not_approved(self):CODE
279 more matches not shown…
Cross-Language Confusion13 hits · 108 pts
SeverityFileLineSnippetContext
HIGH⚡tests/wamr-test-suites/spec-test-script/runtest.py955 # convert (ref.null extern/func) into (ref.null null)COMMENT
HIGH⚡tests/wamr-test-suites/spec-test-script/runtest.py983 # convert (ref.null extern/func) into (ref.null null)COMMENT
HIGH⚡tests/wamr-test-suites/spec-test-script/runtest.py956 n1 = n.group(3).replace("(ref.null extern)", "(ref.null null)")CODE
HIGH⚡tests/wamr-test-suites/spec-test-script/runtest.py957 n1 = n1.replace("ref.null func)", "(ref.null null)")CODE
HIGH⚡tests/wamr-test-suites/spec-test-script/runtest.py984 m1 = m.group(2).replace("(ref.null extern)", "(ref.null null)")CODE
HIGH⚡tests/wamr-test-suites/spec-test-script/runtest.py985 m1 = m1.replace("ref.null func)", "(ref.null null)")CODE
HIGH⚡tests/requirement-engineering/gc-aot/runtest.py981 # convert (ref.null extern/func) into (ref.null null)COMMENT
HIGH⚡tests/requirement-engineering/gc-aot/runtest.py1016 # convert (ref.null extern/func) into (ref.null null)COMMENT
HIGH⚡tests/requirement-engineering/gc-aot/runtest.py982 n1 = n.group(3).replace("(ref.null extern)", "(ref.null null)")CODE
HIGH⚡tests/requirement-engineering/gc-aot/runtest.py983 n1 = n1.replace("ref.null func)", "(ref.null null)")CODE
HIGH⚡tests/requirement-engineering/gc-aot/runtest.py1017 m1 = m.group(2).replace("(ref.null extern)", "(ref.null null)")CODE
HIGH⚡tests/requirement-engineering/gc-aot/runtest.py1018 m1 = m1.replace("ref.null func)", "(ref.null null)")CODE
HIGH.github/scripts/ci_gate_decision_test.py6 cd .github/scripts && python3 -m unittest ci_gate_decision_test -vSTRING
Decorative Section Separators16 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUMtests/regression/ba-issues/build_run.py121# ---------------------------------------------------------------------------STRING
MEDIUMtests/regression/ba-issues/build_run.py123# ---------------------------------------------------------------------------STRING
MEDIUMtests/regression/ba-issues/build_run.py146# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/regression/ba-issues/build_run.py148# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/regression/ba-issues/build_run.py176# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/regression/ba-issues/build_run.py178# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/regression/ba-issues/build_run.py286# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/regression/ba-issues/build_run.py288# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/regression/ba-issues/build_run.py478# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/regression/ba-issues/build_run.py480# ---------------------------------------------------------------------------COMMENT
MEDIUMsamples/debug-tools-optimized/verify.py10# ------------COMMENT
MEDIUMsamples/debug-tools-optimized/verify.py18# -----------COMMENT
MEDIUMsamples/debug-tools/verify.py9# ------------COMMENT
MEDIUMsamples/debug-tools/verify.py17# -----------COMMENT
MEDIUMsamples/socket-api/socket_test.py9# ------------COMMENT
MEDIUMsamples/socket-api/socket_test.py17# -----------COMMENT
Deep Nesting39 hits · 33 pts
SeverityFileLineSnippetContext
LOWci/clang_tidy_diff_check.py285CODE
LOWci/clang_tidy_diff_check.py466CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py369CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py417CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py446CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py471CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py517CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py691CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py818CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py963CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py1103CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py1195CODE
LOWtests/wamr-test-suites/spec-test-script/all.py161CODE
LOWtests/wamr-test-suites/spec-test-script/all.py298CODE
LOWtests/regression/ba-issues/build_run.py406CODE
LOWtests/requirement-engineering/gc-aot/runtest.py345CODE
LOWtests/requirement-engineering/gc-aot/runtest.py398CODE
LOWtests/requirement-engineering/gc-aot/runtest.py430CODE
LOWtests/requirement-engineering/gc-aot/runtest.py458CODE
LOWtests/requirement-engineering/gc-aot/runtest.py512CODE
LOWtests/requirement-engineering/gc-aot/runtest.py700CODE
LOWtests/requirement-engineering/gc-aot/runtest.py828CODE
LOWtests/requirement-engineering/gc-aot/runtest.py992CODE
LOWtests/requirement-engineering/gc-aot/runtest.py1201CODE
LOWtest-tools/pick-up-emscripten-headers/collect_files.py76CODE
LOWtest-tools/dynamic-aot-debug/dynamic_aot_debug.py60CODE
LOWtest-tools/addr2line/addr2line.py545CODE
LOWtest-tools/wamr-ide/VSCode-Extension/formatters/rust.py144CODE
LOWtest-tools/flame-graph-helper/process_folded_data.py160CODE
LOW.github/scripts/pr_touches_paths.py18CODE
LOW.github/scripts/extract_from_release_notes.py17CODE
LOW.github/scripts/codeql_fail_on_error.py57CODE
LOWlanguage-bindings/python/wasm-c-api/utils/bindgen.py92CODE
LOWlanguage-bindings/python/src/wamr/wasmcapi/ffi.py170CODE
LOWlanguage-bindings/python/src/wamr/wasmcapi/ffi.py294CODE
LOWlanguage-bindings/python/src/wamr/wasmcapi/ffi.py322CODE
LOWlanguage-bindings/python/src/wamr/wasmcapi/ffi.py394CODE
LOWlanguage-bindings/python/src/wamr/wasmcapi/ffi.py415CODE
LOWlanguage-bindings/python/src/wamr/wasmcapi/ffi.py516CODE
Structural Annotation Overuse16 hits · 31 pts
SeverityFileLineSnippetContext
LOW⚡tests/unit/aot-stack-frame/wasm-apps/CMakeLists.txt20 # Step 1: Build wamrcCOMMENT
LOW⚡tests/unit/aot-stack-frame/wasm-apps/CMakeLists.txt25 # Step 2: Compile .wast to .wasmCOMMENT
LOW⚡tests/unit/aot-stack-frame/wasm-apps/CMakeLists.txt29 # Step 3: Compile .wasm to .aot using wamrcCOMMENT
LOW⚡tests/unit/aot-stack-frame/wasm-apps/CMakeLists.txt33 # Step 4: Build binarydump toolCOMMENT
LOW⚡tests/unit/aot-stack-frame/wasm-apps/CMakeLists.txt38 # Step 5: Generate .h file from .aotCOMMENT
LOWdoc/export_native_api.md10#### Step 1: Declare the function interface in WASM appCOMMENT
LOWdoc/export_native_api.md23#### Step 2: Define the native APICOMMENT
LOWdoc/export_native_api.md45#### Step 3: Register the native APIsCOMMENT
LOW⚡doc/security_issue_runbook.md7## Step 1: Initial Response to Security AdvisoryCOMMENT
LOW⚡doc/security_issue_runbook.md12## Step 2: Investigating the VulnerabilityCOMMENT
LOW⚡doc/security_issue_runbook.md17## Step 3: Communication and CollaborationCOMMENT
LOW⚡doc/security_issue_runbook.md23## Step 4: Finalizing and Preparing for ReleaseCOMMENT
LOWdoc/security_issue_runbook.md39## Step 5: Preparing and Testing Patch ReleasesCOMMENT
LOWdoc/security_issue_runbook.md44## Step 6: Public Release and CommunicationCOMMENT
LOWdoc/port_wamr.md10# Step 1: Implement platform API layerCOMMENT
LOWdoc/port_wamr.md46# Step 2: Create the mini product for the platformCOMMENT
Excessive Try-Catch Wrapping23 hits · 28 pts
SeverityFileLineSnippetContext
LOWtests/wamr-test-suites/spec-test-script/runtest.py191 except Exception as e:CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py1132 except Exception as e:CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py1555 except Exception as e:CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py1561 except Exception as e:CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py1577 except Exception as e:CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py1600 except Exception as e:CODE
LOWtests/wamr-test-suites/spec-test-script/all.py294 except Exception as e:CODE
LOWtests/wamr-test-suites/spec-test-script/all.py446 except Exception as e:CODE
LOWtests/wamr-test-suites/spec-test-script/all.py676 except Exception:CODE
LOWtests/regression/ba-issues/build_run.py568 except Exception as exc:CODE
LOWtests/requirement-engineering/gc-aot/runtest.py1547 except Exception as e:CODE
MEDIUMtest-tools/dynamic-aot-debug/dynamic_aot_debug.py25 print("Error: 'code' or 'name' missing in AOT module info.")CODE
LOWtest-tools/dynamic-aot-debug/dynamic_aot_debug.py50 except Exception as e:CODE
MEDIUMtest-tools/dynamic-aot-debug/dynamic_aot_debug.py90 print(f"An error occurred: {e}")CODE
LOWtest-tools/wamr-ide/VSCode-Extension/formatters/rust.py112 except Exception as e:CODE
LOWtest-tools/wamr-ide/VSCode-Extension/formatters/rust.py227 except Exception as e:CODE
LOWtest-tools/wamr-ide/VSCode-Extension/formatters/rust.py258 except Exception as e:CODE
LOWtest-tools/wamr-ide/VSCode-Extension/formatters/rust.py313 except Exception as e:CODE
MEDIUMtest-tools/wamr-ide/VSCode-Extension/formatters/rust.py107def get_synth_summary(synth_class, valobj, dict):CODE
MEDIUMtest-tools/wamr-ide/VSCode-Extension/formatters/rust.py252def get_child_at_index(self, index):CODE
MEDIUMtest-tools/wamr-ide/VSCode-Extension/formatters/rust.py307def get_child_at_index(self, index):CODE
LOW.github/scripts/ci_gate_decision.py232 except Exception as err: # noqa: BLE001 - a gate bug must never block a PRCODE
LOW.github/scripts/ci_gate_decision.py342 except Exception as err: # any failure means "run", see the module docstringCODE
Empty Error Handlers4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHtests/wamr-test-suites/spec-test-script/runtest.py244except OSError:CODE
HIGHtests/wamr-test-suites/spec-test-script/runtest.py246except IOError:CODE
HIGHtests/requirement-engineering/gc-aot/runtest.py231except OSError:CODE
HIGHtests/requirement-engineering/gc-aot/runtest.py233except IOError:CODE
Unused Imports21 hits · 19 pts
SeverityFileLineSnippetContext
LOWcore/iwasm/libraries/wasi-nn/test/run_smoke_test.py11CODE
LOWtests/wamr-test-suites/spec-test-script/runtest.py3CODE
LOWtests/malformed/malformed_test.py8CODE
LOWtests/requirement-engineering/gc-aot/runtest.py7CODE
LOWtest-tools/addr2line/addr2line.py7CODE
LOWtest-tools/addr2line/tests/conftest.py12CODE
LOWtest-tools/addr2line/tests/test_addr2line.py15CODE
LOWtest-tools/addr2line/tests/test_addr2line.py16CODE
LOWtest-tools/wamr-ide/VSCode-Extension/formatters/rust.py6CODE
LOWtest-tools/wamr-ide/VSCode-Extension/formatters/rust.py6CODE
LOWtest-tools/flame-graph-helper/process_folded_data.py38CODE
LOW.github/scripts/ci_gate_decision_test.py16CODE
LOWlanguage-bindings/python/wasm-c-api/tests/test_basic.py13CODE
LOWlanguage-bindings/python/wasm-c-api/tests/test_basic.py15CODE
LOWlanguage-bindings/python/wasm-c-api/tests/context.py13CODE
LOW…nguage-bindings/python/wasm-c-api/samples/hello_oop.py6CODE
LOW…nguage-bindings/python/wasm-c-api/samples/hello_oop.py7CODE
LOWlanguage-bindings/python/src/wamr/wamrapi/wamr.py4CODE
LOWlanguage-bindings/python/src/wamr/wamrapi/wamr.py7CODE
LOWlanguage-bindings/python/src/wamr/wasmcapi/binding.py9CODE
LOWlanguage-bindings/python/src/wamr/wasmcapi/ffi.py147CODE
Redundant / Tautological Comments7 hits · 10 pts
SeverityFileLineSnippetContext
LOWci/install_sgx_for_applicaiton_developer.sh354# Check if everything is already installedCOMMENT
LOWtests/standalone/test-aot-x18-reserve/run.sh40# Check if required binaries existCOMMENT
LOWtests/wamr-test-suites/test_wamr.sh1190 # Check if REQUIREMENT_NAME is set, if set, only calling requirement test and early returnCOMMENT
LOW…requirement-engineering-test-script/run_requirement.py67 # Check if the variable is a dictionaryCOMMENT
LOWtests/regression/ba-issues/helper.sh49# Check if at least one argument is providedCOMMENT
LOWtests/regression/ba-issues/helper.sh67 # Check if the second argument is greater than the firstCOMMENT
LOWtest-tools/dynamic-aot-debug/dynamic_aot_debug.py70 # Check if it's a structure typeCOMMENT
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMtests/unit/linear-memory-aot/build_aot.sh8# Define a list of .wasm filesCOMMENT
MEDIUM…requirement-engineering-test-script/run_requirement.py201 # Define the subrequirement IDs as a list of integersCOMMENT
MEDIUMtests/requirement-engineering/gc-aot/run.py77 # Create the parserCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsamples/sgx-ra/README.md238# Configuring the Intel PCCS. Input the PCS/PCCS password as requested.COMMENT
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/standalone/standalone.sh13# Usage:COMMENT
LOWtest-tools/addr2line/tests/run_tests.sh7# Usage:COMMENT
LOWsamples/linux-perf/wasm/ackermann.c31 // Example usage:COMMENT
AI Structural Patterns5 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/wamr-test-suites/spec-test-script/all.py72CODE
LOWtests/wamr-test-suites/spec-test-script/all.py161CODE
LOWtests/wamr-test-suites/spec-test-script/all.py298CODE
LOW.github/scripts/ci_gate_decision_test.py51CODE
LOWlanguage-bindings/python/src/wamr/wasmcapi/ffi.py131CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtests/wamr-test-suites/test_wamr.sh690 # Dec 20, 2024. Use WPT version of test harness for HTML core test conversion (#1859)COMMENT
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOWlanguage-bindings/python/wasm-c-api/tests/__init__.py7__all__ = ["test_basic", "test_advanced"]CODE
LOWlanguage-bindings/python/src/wamr/wamrapi/wamr.py146 def _set_wasi_args(self, module: Module, dir_list: List[str]) -> None:CODE
LOWlanguage-bindings/python/src/wamr/wasmcapi/__init__.py7__all__ = ["ffi"]CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWcore/config.h532 * Note: on platforms with lazy function binding, don't forget to considerCOMMENT