AI Slop Code RIsk Monitor

BYVoid/OpenCC

Library for conversion between Traditional and Simplified Chinese

5.8 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for BYVoid/OpenCC, a C++ project with 10,045 GitHub stars. SynthScan examined 233,543 lines of code across 880 source files, recording 1260 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 5.8 (Moderate 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.

5.8
Adjusted Signal
5.8
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
10.0K
Stars
C++
Language
233.5K
Lines of Code
880
Files
1.3K
Pattern Hits
2026-10-12
Scan Date
0.03
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 20.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.3/100 · LOW

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

Agent Over-Engineering Ratio 8.5/100 · LOW

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

PR Review Velocity Impact 26.2/100 · MEDIUM

Which changes need focused human review? 1260 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 26MEDIUM 14LOW 1220

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 1260 distinct pattern matches across 20 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 Block802 hits · 747 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1#COMMENT
LOWCMakeLists.txt181# set(CMAKE_SHARED_LIBRARY_PREFIX ${CMAKE_INSTALL_PREFIX})COMMENT
LOWCMakeLists.txt201# (replaces: ${CMAKE_INSTALL_PREFIX}/include)COMMENT
LOWtest/CommandLineConvertTest.cpp21#include <iostream>COMMENT
LOWtest/CommandLineConvertTest.cpp201#ifdef _WIN32COMMENT
LOWtest/golden/golden_convert_test.py1#!/usr/bin/env python3COMMENT
LOWtest/golden/golden_diff.py1#!/usr/bin/env python3COMMENT
LOWplugins/jieba/tests/JiebaPluginIntegrationTest.cpp21#include <sstream>COMMENT
LOWplugins/jieba/deps/cppjieba/test/benchmark.cpp1#include <chrono>COMMENT
LOW…ieba/deps/cppjieba/test/unittest/unicode_path_test.cpp1#include <cerrno>COMMENT
LOW…ugins/jieba/deps/cppjieba/test/unittest/gtest_main.cpp1// Copyright 2006, Google Inc.COMMENT
LOW…gins/jieba/deps/cppjieba/include/cppjieba/DictTrie.hpp1#ifndef CPPJIEBA_DICT_TRIE_HPPCOMMENT
LOW…s/jieba/deps/cppjieba/include/cppjieba/UnicodeFile.hpp1#ifndef CPPJIEBA_UNICODE_FILE_HPPCOMMENT
LOW…/jieba/deps/cppjieba/include/cppjieba/QuerySegment.hpp1#ifndef CPPJIEBA_QUERYSEGMENT_HCOMMENT
LOWplugins/jieba/deps/cppjieba/include/cppjieba/Utils.hpp1#ifndef CPPJIEBA_UTILS_HPPCOMMENT
LOWplugins/jieba/src/JiebaSegmentationPlugin.cpp21#include "Segments.hpp"COMMENT
LOWplugins/jieba/src/JiebaSegmentation.cpp21COMMENT
LOWplugins/jieba/src/JiebaSegmentation.cpp41#include "src/SerializableDict.hpp"COMMENT
LOWscripts/build-source-package.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/build-cli-windows-zig.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/install.js1#!/usr/bin/env nodeCOMMENT
LOWscripts/compute-version.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/build-deb-packages.sh1#!/usr/bin/env bashCOMMENT
LOWdeps/googletest-1.15.0/ci/macos-presubmit.sh1#!/bin/bashCOMMENT
LOWdeps/googletest-1.15.0/ci/macos-presubmit.sh21# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOTCOMMENT
LOWdeps/googletest-1.15.0/ci/linux-presubmit.sh1#!/bin/bashCOMMENT
LOWdeps/googletest-1.15.0/googletest/CMakeLists.txt1########################################################################COMMENT
LOWdeps/googletest-1.15.0/googletest/CMakeLists.txt181########################################################################COMMENT
LOW…st-1.15.0/googletest/test/gtest_xml_output_unittest.py1#!/usr/bin/env pythonCOMMENT
LOW…st-1.15.0/googletest/test/googletest-param-test-test.h1// Copyright 2008, Google Inc.COMMENT
LOW…st-1.15.0/googletest/test/googletest-param-test-test.h21// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHTCOMMENT
LOW…etest-1.15.0/googletest/test/googletest-output-test.py1#!/usr/bin/env pythonCOMMENT
LOW…etest/test/googletest-param-test-invalid-name1-test.py1#!/usr/bin/env pythonCOMMENT
LOW…s/googletest-1.15.0/googletest/test/gtest_help_test.py1#!/usr/bin/env pythonCOMMENT
LOW…s/googletest-1.15.0/googletest/test/gtest_help_test.py21# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOTCOMMENT
LOW…gletest/test/googletest-global-environment-unittest.py1# Copyright 2021 Google Inc. All Rights Reserved.COMMENT
LOW…/googletest-1.15.0/googletest/test/gtest_test_utils.py1# Copyright 2006, Google Inc.COMMENT
LOW…letest-1.15.0/googletest/test/gtest_json_test_utils.py1# Copyright 2018, Google Inc.COMMENT
LOW…etest/test/googletest-param-test-invalid-name2-test.py1#!/usr/bin/env pythonCOMMENT
LOW…5.0/googletest/test/googletest-json-output-unittest.py1#!/usr/bin/env pythonCOMMENT
LOW…oogletest/test/googletest-break-on-failure-unittest.py1#!/usr/bin/env pythonCOMMENT
LOW…15.0/googletest/test/googletest-setuptestsuite-test.py1#!/usr/bin/env pythonCOMMENT
LOW…15.0/googletest/test/googletest-list-tests-unittest.py1#!/usr/bin/env pythonCOMMENT
LOW…test-1.15.0/googletest/test/googletest-env-var-test.py1#!/usr/bin/env pythonCOMMENT
LOW…test-1.15.0/googletest/test/gtest_xml_outfiles_test.py1#!/usr/bin/env pythonCOMMENT
LOW…gletest-1.15.0/googletest/test/gtest-typed-test_test.h1// Copyright 2008 Google Inc.COMMENT
LOW…gletest-1.15.0/googletest/test/gtest-typed-test_test.h21// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHTCOMMENT
LOW…t-1.15.0/googletest/test/gtest_list_output_unittest.py1#!/usr/bin/env pythonCOMMENT
LOW…gletest-1.15.0/googletest/test/gtest_xml_test_utils.py1# Copyright 2006, Google Inc.COMMENT
LOWdeps/googletest-1.15.0/googletest/test/production.h1// Copyright 2006, Google Inc.COMMENT
LOWdeps/googletest-1.15.0/googletest/test/production.h21// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHTCOMMENT
LOW…letest-1.15.0/googletest/test/googletest-color-test.py1#!/usr/bin/env pythonCOMMENT
LOW…t-1.15.0/googletest/test/googletest-filter-unittest.py1#!/usr/bin/env pythonCOMMENT
LOW…1.15.0/googletest/test/gtest_skip_check_output_test.py1#!/usr/bin/env pythonCOMMENT
LOW…letest-1.15.0/googletest/test/gtest_testbridge_test.py1#!/usr/bin/env pythonCOMMENT
LOW….0/googletest/test/googletest-throw-on-failure-test.py1#!/usr/bin/env pythonCOMMENT
LOW…test-1.15.0/googletest/test/googletest-shuffle-test.py1#!/usr/bin/env pythonCOMMENT
LOW…test-1.15.0/googletest/test/googletest-shuffle-test.py21# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FORCOMMENT
LOW….15.0/googletest/test/googletest-uninitialized-test.py1#!/usr/bin/env pythonCOMMENT
LOW….0/googletest/test/googletest-catch-exceptions-test.py1#!/usr/bin/env pythonCOMMENT
742 more matches not shown…
Hyper-Verbose Identifiers265 hits · 267 pts
SeverityFileLineSnippetContext
LOWtest/golden/golden_convert_test.py202def _default_jieba_config_dir(runfiles: Runfiles) -> Path:CODE
LOWtest/golden/golden_convert_test.py209def _default_jieba_plugin_dir(runfiles: Runfiles) -> Path:CODE
LOWtest/golden/golden_convert_test.py241def _default_jieba_resource_dir(runfiles: Runfiles) -> Path:CODE
LOWtest/golden/golden_convert_test.py358 def test_default_opencc_command_accepts_windows_exe_runfile(self) -> None:CODE
LOW⚡test/golden/golden_convert_test.py372 def test_parse_manifest_line_unescapes_escaped_entries(self) -> None:CODE
LOW⚡test/golden/golden_convert_test.py379 def test_parse_manifest_line_self_maps_single_token_entries(self) -> None:CODE
LOW⚡test/golden/golden_convert_test.py384 def test_rlocation_resolves_files_under_manifest_directory_entries(self) -> None:CODE
LOWtest/golden/golden_convert_test.py399 def test_default_jieba_plugin_dir_accepts_windows_bazel_bin_fallback(self) -> None:CODE
LOWpython/tests/test_opencc.py57def test_init_delete_converter():STRING
LOWpython/tests/test_opencc.py96def test_include_tofu_risk_dictionaries_option():STRING
LOWpython/tests/test_opencc.py106def test_resource_zip_text_dictionary_support(tmp_path):STRING
LOWpython/tests/test_opencc.py118def test_builtin_config_stem_is_normalized():STRING
LOWpython/tests/test_opencc.py124def test_custom_config_path_without_json_extension_is_preserved():STRING
LOWpython/tests/test_cli.py93def test_cli_skips_tofu_risk_dictionaries_by_default(tmp_path, monkeypatch):STRING
LOWpython/tests/test_cli.py108def test_cli_include_tofu_risk_dictionaries_flag(tmp_path, monkeypatch):STRING
LOWpython/tests/test_cli.py124def test_cli_rejects_native_only_modes(monkeypatch, capsys):STRING
LOWpython/tests/test_cli.py133def test_cli_rejects_same_input_and_output_file(tmp_path, monkeypatch, capsys):STRING
LOWpython/tests/test_cli.py150def test_cli_resource_zip_support(tmp_path, monkeypatch):STRING
LOWpython/tests/test_cli.py168def test_cli_subprocess_integration(tmp_path):STRING
LOWpython/tests/test_cli.py199def test_cli_builtin_config_stem_supports_omitting_json(tmp_path, monkeypatch):STRING
LOWpython/tests/test_cli.py214def test_cli_custom_config_path_without_json_extension(tmp_path, monkeypatch):STRING
LOWpython/opencc/__init__.py33def _load_opencc_clib_from_runfiles():CODE
LOWscripts/compile_to_inline_config_test.py9 def test_group_dict_preserves_structure_and_match_policy(self):CODE
LOWscripts/compile_to_inline_config_test.py67 def test_group_dict_without_match_policy_compiles_cleanly(self):CODE
LOWscripts/compile_to_inline_config_test.py130 def test_union_of_union_flattens_to_single_inline(self):CODE
LOWscripts/compile_to_inline_config_test.py154 def test_short_circuit_of_union_keeps_outer_group(self):CODE
LOWscripts/compile_to_inline_config_test.py185 def test_union_of_short_circuit_falls_back_to_group(self):CODE
LOW⚡scripts/compile_to_inline_config.py76def inline_entries_for_file_dict(dict_def: Dict[str, Any], dict_dir: Path) -> Dict[str, str]:CODE
LOW…s/googletest-1.15.0/googletest/test/gtest_help_test.py130 def test_prints_help_with_full_flag(self):CODE
LOW…s/googletest-1.15.0/googletest/test/gtest_help_test.py157 def test_runs_tests_without_help_flag(self):CODE
LOW…s/googletest-1.15.0/googletest/test/gtest_help_test.py168 def test_runs_tests_with_gtest_internal_flag(self):CODE
LOWdeps/marisa-0.3.1/bindings/python3/marisa.py27def _swig_setattr_nondynamic_instance_variable(set):CODE
LOWdeps/marisa-0.3.1/bindings/python3/marisa.py40def _swig_setattr_nondynamic_class_variable(set):CODE
LOWdeps/marisa-0.3.1/bindings/python/marisa.py27def _swig_setattr_nondynamic_instance_variable(set):CODE
LOWdeps/marisa-0.3.1/bindings/python/marisa.py40def _swig_setattr_nondynamic_class_variable(set):CODE
LOWdeps/pybind11-2.13.1/setup.py27def build_expected_version_hex(matches: dict[str, str]) -> str:CODE
LOWdeps/pybind11-2.13.1/tests/test_stl_binders.py198def test_map_string_double_const():CODE
LOWdeps/pybind11-2.13.1/tests/test_stl_binders.py211def test_noncopyable_containers():CODE
LOW…s/pybind11-2.13.1/tests/test_methods_and_attributes.py22def test_methods_and_attributes():CODE
LOW…s/pybind11-2.13.1/tests/test_methods_and_attributes.py264def test_property_return_value_policies(access):CODE
LOW…s/pybind11-2.13.1/tests/test_methods_and_attributes.py284def test_property_rvalue_policy():CODE
LOW…s/pybind11-2.13.1/tests/test_methods_and_attributes.py477def test_unregistered_base_implementations():STRING
LOW…/pybind11-2.13.1/tests/test_sequences_and_iterators.py16def test_slice_constructors_explicit_optional():CODE
LOW…/pybind11-2.13.1/tests/test_sequences_and_iterators.py21def test_generalized_iterators():CODE
LOW⚡…/pybind11-2.13.1/tests/test_sequences_and_iterators.py53def test_generalized_iterators_simple():CODE
LOW⚡…/pybind11-2.13.1/tests/test_sequences_and_iterators.py63def test_iterator_doc_annotations():CODE
LOW⚡…/pybind11-2.13.1/tests/test_sequences_and_iterators.py72def test_iterator_referencing():CODE
LOW…/pybind11-2.13.1/tests/test_sequences_and_iterators.py213def test_python_iterator_in_cpp():CODE
LOW…/pybind11-2.13.1/tests/test_sequences_and_iterators.py245def test_iterator_passthrough():CODE
LOWdeps/pybind11-2.13.1/tests/test_numpy_vectorize.py158def test_trivial_broadcasting():STRING
LOWdeps/pybind11-2.13.1/tests/test_numpy_vectorize.py209def test_passthrough_arguments(doc):STRING
LOWdeps/pybind11-2.13.1/tests/test_numpy_vectorize.py242def test_method_vectorization():STRING
LOWdeps/pybind11-2.13.1/tests/test_chrono.py32def test_chrono_system_clock_roundtrip():CODE
LOWdeps/pybind11-2.13.1/tests/test_chrono.py46def test_chrono_system_clock_roundtrip_date():CODE
LOWdeps/pybind11-2.13.1/tests/test_chrono.py102def test_chrono_system_clock_roundtrip_time(time1, tz, monkeypatch):CODE
LOWdeps/pybind11-2.13.1/tests/test_chrono.py125def test_chrono_duration_roundtrip():CODE
LOWdeps/pybind11-2.13.1/tests/test_chrono.py145def test_chrono_duration_subtraction_equivalence():CODE
LOWdeps/pybind11-2.13.1/tests/test_chrono.py155def test_chrono_duration_subtraction_equivalence_date():CODE
LOWdeps/pybind11-2.13.1/tests/test_chrono.py170def test_chrono_steady_clock_roundtrip():CODE
LOWdeps/pybind11-2.13.1/tests/test_chrono.py180def test_floating_point_duration():CODE
205 more matches not shown…
Unused Imports103 hits · 103 pts
SeverityFileLineSnippetContext
LOW…st-1.15.0/googletest/test/gtest_xml_output_unittest.py39CODE
LOW…test-1.15.0/googletest/test/gtest_xml_outfiles_test.py35CODE
LOW…gletest-1.15.0/googletest/test/gtest_xml_test_utils.py33CODE
LOWdeps/marisa-0.3.1/bindings/python3/marisa.py7CODE
LOWdeps/marisa-0.3.1/bindings/python/marisa.py7CODE
LOWdeps/pybind11-2.13.1/setup.py4CODE
LOWdeps/pybind11-2.13.1/noxfile.py1CODE
LOWdeps/pybind11-2.13.1/tools/libsize.py1CODE
LOWdeps/pybind11-2.13.1/tools/make_changelog.py2CODE
LOW…d11-2.13.1/tools/codespell_ignore_lines_from_errors.py12CODE
LOWdeps/pybind11-2.13.1/pybind11/setup_helpers.py39CODE
LOWdeps/pybind11-2.13.1/pybind11/_version.py1CODE
LOWdeps/pybind11-2.13.1/pybind11/__init__.py1CODE
LOWdeps/pybind11-2.13.1/pybind11/__init__.py10CODE
LOWdeps/pybind11-2.13.1/pybind11/__init__.py11CODE
LOWdeps/pybind11-2.13.1/pybind11/__init__.py11CODE
LOWdeps/pybind11-2.13.1/pybind11/__init__.py11CODE
LOWdeps/pybind11-2.13.1/pybind11/commands.py1CODE
LOWdeps/pybind11-2.13.1/pybind11/__main__.py2CODE
LOWdeps/pybind11-2.13.1/tests/test_stl_binders.py1CODE
LOW…s/pybind11-2.13.1/tests/test_methods_and_attributes.py1CODE
LOW…s/pybind11-2.13.1/tests/test_methods_and_attributes.py7CODE
LOW…/pybind11-2.13.1/tests/test_sequences_and_iterators.py1CODE
LOW…pybind11-2.13.1/tests/test_vector_unique_ptr_member.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_numpy_vectorize.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_chrono.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_chrono.py7CODE
LOWdeps/pybind11-2.13.1/tests/conftest.py7CODE
LOW…ind11-2.13.1/tests/test_python_multiple_inheritance.py3CODE
LOWdeps/pybind11-2.13.1/tests/test_callbacks.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_callbacks.py8CODE
LOWdeps/pybind11-2.13.1/tests/test_pytypes.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_class.py1CODE
LOWdeps/pybind11-2.13.1/tests/env.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_eigen_tensor.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_docstring_options.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_async.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_unnamed_namespace_a.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_local_bindings.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_local_bindings.py5CODE
LOWdeps/pybind11-2.13.1/tests/test_smart_ptr.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_numpy_array.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_numpy_array.py5CODE
LOWdeps/pybind11-2.13.1/tests/test_builtin_casters.py1CODE
LOW…/pybind11-2.13.1/tests/test_constants_and_functions.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_exceptions.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_factory_constructors.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_iostream.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_operator_overloading.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_union.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_kwargs_and_defaults.py1CODE
LOW…pybind11-2.13.1/tests/test_type_caster_pyobject_ptr.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_thread.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_pickling.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_unnamed_namespace_b.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_copy_move.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_eval_call.py2CODE
LOWdeps/pybind11-2.13.1/tests/test_custom_type_casters.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_stl.py1CODE
LOWdeps/pybind11-2.13.1/tests/test_numpy_dtypes.py1CODE
43 more matches not shown…
Empty Error Handlers13 hits · 65 pts
SeverityFileLineSnippetContext
HIGHpython/opencc/cli.py73except FileNotFoundError:CODE
HIGHscripts/compile_to_inline_config.py20except Exception:CODE
HIGH…test-1.15.0/googletest/test/gtest_xml_outfiles_test.py99except os.error:CODE
HIGH…test-1.15.0/googletest/test/gtest_xml_outfiles_test.py103except os.error:CODE
HIGH…test-1.15.0/googletest/test/gtest_xml_outfiles_test.py107except os.error:CODE
HIGH…t-1.15.0/googletest/test/googletest-filter-unittest.py48except ImportError:CODE
HIGH….15.0/googletest/test/googletest-json-outfiles-test.py134except os.error:CODE
HIGH….15.0/googletest/test/googletest-json-outfiles-test.py138except os.error:CODE
HIGH….15.0/googletest/test/googletest-json-outfiles-test.py142except os.error:CODE
HIGHdeps/pybind11-2.13.1/pybind11/setup_helpers.py143except ModuleNotFoundError:CODE
HIGHdeps/google-benchmark/tools/gbench/util.py52except BaseException:CODE
HIGHdata/scripts/opencc_resources_zip.py40except FileNotFoundError:CODE
HIGHdata/scripts/opencc_resources_zip.py69except ValueError:CODE
Cross-File Repetition10 hits · 50 pts
SeverityFileLineSnippetContext
HIGH…etest/test/googletest-param-test-invalid-name1-test.py0verifies that google test warns the user when not initialized properly.STRING
HIGH…etest/test/googletest-param-test-invalid-name2-test.py0verifies that google test warns the user when not initialized properly.STRING
HIGH….15.0/googletest/test/googletest-uninitialized-test.py0verifies that google test warns the user when not initialized properly.STRING
HIGH…etest/test/googletest-param-test-invalid-name1-test.py0runs the given command and verifies its exit code and output.STRING
HIGH…etest/test/googletest-param-test-invalid-name2-test.py0runs the given command and verifies its exit code and output.STRING
HIGH….15.0/googletest/test/googletest-uninitialized-test.py0runs the given command and verifies its exit code and output.STRING
HIGH…test-1.15.0/googletest/test/googletest-env-var-test.py0sets the env variable to 'value'; unsets it when 'value' is none.STRING
HIGH…letest-1.15.0/googletest/test/googletest-color-test.py0sets the env variable to 'value'; unsets it when 'value' is none.STRING
HIGH…t-1.15.0/googletest/test/googletest-filter-unittest.py0sets the env variable to 'value'; unsets it when 'value' is none.STRING
HIGH…1.15.0/googletest/test/googletest-failfast-unittest.py0sets the env variable to 'value'; unsets it when 'value' is none.STRING
Deep Nesting26 hits · 26 pts
SeverityFileLineSnippetContext
LOWtest/golden/golden_convert_test.py418CODE
LOWtest/golden/golden_convert_test.py53CODE
LOWtest/golden/golden_convert_test.py323CODE
LOWtest/golden/golden_diff.py155CODE
LOWscripts/convert_resource_zip.py36CODE
LOWscripts/convert_resource_zip.py60CODE
LOWscripts/compile_to_inline_config.py111CODE
LOW…letest-1.15.0/googletest/test/gtest_json_test_utils.py35CODE
LOW…letest-1.15.0/googletest/test/gtest_json_test_utils.py46CODE
LOW…gletest-1.15.0/googletest/test/gtest_xml_test_utils.py131CODE
LOW…gletest-1.15.0/googletest/test/gtest_xml_test_utils.py186CODE
LOWdeps/pybind11-2.13.1/setup.py27CODE
LOW…d11-2.13.1/tools/codespell_ignore_lines_from_errors.py17CODE
LOWdeps/pybind11-2.13.1/pybind11/setup_helpers.py290CODE
LOWdeps/pybind11-2.13.1/tests/test_numpy_array.py544CODE
LOWdeps/pybind11-2.13.1/tests/test_factory_constructors.py468CODE
LOWdeps/pybind11-2.13.1/tests/test_factory_constructors.py486CODE
LOWdeps/pybind11-2.13.1/tests/test_numpy_dtypes.py358CODE
LOWdeps/google-benchmark/.ycm_extra_conf.py79CODE
LOWdeps/google-benchmark/tools/strip_asm.py64CODE
LOWdeps/google-benchmark/tools/gbench/util.py57CODE
LOWdata/scripts/convert_config_dict_format.py19CODE
LOWdata/scripts/opencc_resources_zip.py30CODE
LOWdata/scripts/opencc_resources_zip.py133CODE
LOWdata/scripts/common.py86CODE
LOWdata/scripts/common.py132CODE
Excessive Try-Catch Wrapping9 hits · 14 pts
SeverityFileLineSnippetContext
LOWscripts/compile_to_inline_config.py20 except Exception:CODE
MEDIUMscripts/compile_to_inline_config.py180 print(f"Error: Config file not found: {args.config}", file=sys.stderr)CODE
MEDIUMscripts/compile_to_inline_config.py183 print(f"Error: Dictionary directory not found: {args.dict_dir}", file=sys.stderr)CODE
LOWscripts/compile_to_inline_config.py205 except Exception as e:CODE
MEDIUMscripts/compile_to_inline_config.py206 print(f"Error: {e}", file=sys.stderr)CODE
MEDIUMscripts/compile_to_inline_config.py11def get_opencc_version() -> str:CODE
LOWdeps/pybind11-2.13.1/tests/conftest.py23except Exception:CODE
LOWdeps/pybind11-2.13.1/tests/test_thread.py18 except Exception as e:CODE
MEDIUMdeps/pybind11-2.13.1/tests/test_thread.py14def run(self):CODE
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMsrc/ConfigTest.cpp1088// ── Normalization tests ──────────────────────────────────────────────────────COMMENT
MEDIUMsrc/tools/SpeedBenchmark.cpp105 // ── init ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/tools/SpeedBenchmark.cpp119 // ── warmup ────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/tools/SpeedBenchmark.cpp123 // ── timed loop ────────────────────────────────────────────────────────────COMMENT
AI Slop Vocabulary4 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUM…est-1.15.0/googletest/include/gtest/gtest-death-test.h152// This implementation is *not* meant to be as highly tuned or robustCOMMENT
MEDIUM…est-1.15.0/googletest/include/gtest/gtest-death-test.h224// In practice, this can be used to test functions that utilize theCOMMENT
MEDIUMdeps/pybind11-2.13.1/tests/test_numpy_array.py604# HINT: An easy and robust way (although only manual unfortunately) to check forCOMMENT
LOWdeps/pybind11-2.13.1/tests/test_modules.py110 # changes in future Python versions, simply add the new expected exception types here.COMMENT
Redundant / Tautological Comments5 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡scripts/compile_to_inline_config.py57 # Check if it is TSCharactersExtCOMMENT
LOW⚡scripts/compile_to_inline_config.py66 # Check if it is a reversed dictionaryCOMMENT
LOW…t-1.15.0/googletest/test/googletest-filter-unittest.py69# Check if this platform can unset environment variables in child processes.COMMENT
LOWdeps/google-benchmark/.ycm_extra_conf.py26# Set this to the absolute path to the folder (NOT the file!) containing theCOMMENT
LOWdeps/google-benchmark/tools/gbench/report.py214 # Check if we failed miserably with minimum required repetitions for utestCOMMENT
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOWscripts/build-source-package.sh5# Usage:COMMENT
LOWscripts/build-cli-windows-zig.sh18# Usage:COMMENT
LOWscripts/compute-version.sh12# Usage:COMMENT
LOWscripts/build-deb-packages.sh6# Usage:COMMENT
LOWdeps/pybind11-2.13.1/tools/libsize.py7# Usage:COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH⚡scripts/compile_to_inline_config.py59 return {} # Ignore as requestedCODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMdeps/pybind11-2.13.1/tests/test_eval_call.py1# This file is called from 'test_eval.py'COMMENT
MEDIUMdeps/pybind11-2.13.1/docs/conf.py6# This file is execfile()d with the current directory set to itsCOMMENT
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…/googletest-1.15.0/googletest/test/gtest_test_utils.py200Changes into a specified directory, if provided, and executes a command. Restores the old directory afterwards. STRING
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…benchmark/bindings/python/google_benchmark/__init__.py129 options = __OptionMaker.make(undefined)CODE
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtest/golden/golden_convert_test.py418def update_outputs() -> None:CODE
LOWpython/opencc/__init__.py6__all__ = ['CONFIGS', 'OpenCC', '__version__']CODE
LOWdeps/google-benchmark/tools/gbench/__init__.py8__all__ = []CODE
LOW…benchmark/bindings/python/google_benchmark/__init__.py52__all__ = [CODE
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…etest-1.15.0/googletest/test/googletest-output-test.py215CODE
LOW…googletest-1.15.0/googlemock/test/gmock_output_test.py72CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdeps/pybind11-2.13.1/tests/test_numpy_array.py611# value increases without bounds. (Don't forget to Ctrl-C the test!)COMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdeps/google-benchmark/include/benchmark/benchmark.h1082 // NOTE: This function should only be used when *exact* iteration control isCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdeps/googletest-1.15.0/docs/reference/mocking.md278 .WillRepeatedly(Return("John Doe")); // Return "John Doe" on all callsCODE