Repository Analysis

BYVoid/OpenCC

Library for conversion between Traditional and Simplified Chinese

5.8 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of BYVoid/OpenCC, a C++ project with 9,830 GitHub stars. SynthScan v2.0 examined 216,805 lines of code across 862 source files, recording 1228 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 5.8 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

5.8
Adjusted Score
5.8
Raw Score
100%
Time Factor
2026-07-13
Last Push
9.8K
Stars
C++
Language
216.8K
Lines of Code
862
Files
1.2K
Pattern Hits
2026-07-14
Scan Date
0.02
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 13MEDIUM 14LOW 1201

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 1228 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block782 hits · 727 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1#COMMENT
LOWCMakeLists.txt181######## DirectoryCOMMENT
LOWtest/CommandLineConvertTest.cpp21#include <cstdlib>COMMENT
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-cli-windows-zig.sh1#!/usr/bin/env bashCOMMENT
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
LOW….15.0/googletest/test/googletest-json-outfiles-test.py1#!/usr/bin/env pythonCOMMENT
LOW…etest/test/gtest_skip_environment_check_output_test.py1#!/usr/bin/env pythonCOMMENT
LOW…1.15.0/googletest/test/googletest-failfast-unittest.py1#!/usr/bin/env pythonCOMMENT
LOW…etest-1.15.0/googletest/include/gtest/gtest-matchers.h1// Copyright 2007, Google Inc.COMMENT
722 more matches not shown…
Hyper-Verbose Identifiers267 hits · 269 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
LOWtest/golden/golden_convert_test.py372 def test_parse_manifest_line_unescapes_escaped_entries(self) -> None:CODE
LOWtest/golden/golden_convert_test.py379 def test_parse_manifest_line_self_maps_single_token_entries(self) -> None:CODE
LOWtest/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_same_input_and_output_file(tmp_path, monkeypatch, capsys):STRING
LOWpython/tests/test_cli.py141def test_cli_resource_zip_support(tmp_path, monkeypatch):STRING
LOWpython/tests/test_cli.py159def test_cli_subprocess_integration(tmp_path):STRING
LOWpython/tests/test_cli.py190def test_cli_builtin_config_stem_supports_omitting_json(tmp_path, monkeypatch):STRING
LOWpython/tests/test_cli.py205def 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
LOWscripts/verify-node-main-package.js43function parseGypSourcesAndIncludeDirs() {CODE
LOWscripts/verify-node-main-package.js62function collectSourceBuildClosure() {CODE
LOWscripts/verify-node-main-package.js117function verifySourceBuildFilesPacked() {CODE
LOWscripts/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
207 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…
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
LOWscripts/compile_to_inline_config.py57 # Check if it is TSCharactersExtCOMMENT
LOWscripts/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
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHscripts/compile_to_inline_config.py59 return {} # Ignore as requestedCODE
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
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
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