Library for conversion between Traditional and Simplified Chinese
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 1 | # | COMMENT |
| LOW | CMakeLists.txt | 181 | ######## Directory | COMMENT |
| LOW | test/CommandLineConvertTest.cpp | 21 | #include <cstdlib> | COMMENT |
| LOW | test/golden/golden_convert_test.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | test/golden/golden_diff.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | plugins/jieba/tests/JiebaPluginIntegrationTest.cpp | 21 | #include <sstream> | COMMENT |
| LOW | plugins/jieba/deps/cppjieba/test/benchmark.cpp | 1 | #include <chrono> | COMMENT |
| LOW | …ieba/deps/cppjieba/test/unittest/unicode_path_test.cpp | 1 | #include <cerrno> | COMMENT |
| LOW | …ugins/jieba/deps/cppjieba/test/unittest/gtest_main.cpp | 1 | // Copyright 2006, Google Inc. | COMMENT |
| LOW | …gins/jieba/deps/cppjieba/include/cppjieba/DictTrie.hpp | 1 | #ifndef CPPJIEBA_DICT_TRIE_HPP | COMMENT |
| LOW | …s/jieba/deps/cppjieba/include/cppjieba/UnicodeFile.hpp | 1 | #ifndef CPPJIEBA_UNICODE_FILE_HPP | COMMENT |
| LOW | …/jieba/deps/cppjieba/include/cppjieba/QuerySegment.hpp | 1 | #ifndef CPPJIEBA_QUERYSEGMENT_H | COMMENT |
| LOW | plugins/jieba/deps/cppjieba/include/cppjieba/Utils.hpp | 1 | #ifndef CPPJIEBA_UTILS_HPP | COMMENT |
| LOW | plugins/jieba/src/JiebaSegmentationPlugin.cpp | 21 | #include "Segments.hpp" | COMMENT |
| LOW | plugins/jieba/src/JiebaSegmentation.cpp | 21 | COMMENT | |
| LOW | plugins/jieba/src/JiebaSegmentation.cpp | 41 | #include "src/SerializableDict.hpp" | COMMENT |
| LOW | scripts/build-cli-windows-zig.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/compute-version.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/build-deb-packages.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | deps/googletest-1.15.0/ci/macos-presubmit.sh | 1 | #!/bin/bash | COMMENT |
| LOW | deps/googletest-1.15.0/ci/macos-presubmit.sh | 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | COMMENT |
| LOW | deps/googletest-1.15.0/ci/linux-presubmit.sh | 1 | #!/bin/bash | COMMENT |
| LOW | deps/googletest-1.15.0/googletest/CMakeLists.txt | 1 | ######################################################################## | COMMENT |
| LOW | deps/googletest-1.15.0/googletest/CMakeLists.txt | 181 | ######################################################################## | COMMENT |
| LOW | …st-1.15.0/googletest/test/gtest_xml_output_unittest.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …st-1.15.0/googletest/test/googletest-param-test-test.h | 1 | // Copyright 2008, Google Inc. | COMMENT |
| LOW | …st-1.15.0/googletest/test/googletest-param-test-test.h | 21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | COMMENT |
| LOW | …etest-1.15.0/googletest/test/googletest-output-test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …etest/test/googletest-param-test-invalid-name1-test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …s/googletest-1.15.0/googletest/test/gtest_help_test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …s/googletest-1.15.0/googletest/test/gtest_help_test.py | 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | COMMENT |
| LOW | …gletest/test/googletest-global-environment-unittest.py | 1 | # Copyright 2021 Google Inc. All Rights Reserved. | COMMENT |
| LOW | …/googletest-1.15.0/googletest/test/gtest_test_utils.py | 1 | # Copyright 2006, Google Inc. | COMMENT |
| LOW | …letest-1.15.0/googletest/test/gtest_json_test_utils.py | 1 | # Copyright 2018, Google Inc. | COMMENT |
| LOW | …etest/test/googletest-param-test-invalid-name2-test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …5.0/googletest/test/googletest-json-output-unittest.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …oogletest/test/googletest-break-on-failure-unittest.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …15.0/googletest/test/googletest-setuptestsuite-test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …15.0/googletest/test/googletest-list-tests-unittest.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …test-1.15.0/googletest/test/googletest-env-var-test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …test-1.15.0/googletest/test/gtest_xml_outfiles_test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …gletest-1.15.0/googletest/test/gtest-typed-test_test.h | 1 | // Copyright 2008 Google Inc. | COMMENT |
| LOW | …gletest-1.15.0/googletest/test/gtest-typed-test_test.h | 21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | COMMENT |
| LOW | …t-1.15.0/googletest/test/gtest_list_output_unittest.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …gletest-1.15.0/googletest/test/gtest_xml_test_utils.py | 1 | # Copyright 2006, Google Inc. | COMMENT |
| LOW | deps/googletest-1.15.0/googletest/test/production.h | 1 | // Copyright 2006, Google Inc. | COMMENT |
| LOW | deps/googletest-1.15.0/googletest/test/production.h | 21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | COMMENT |
| LOW | …letest-1.15.0/googletest/test/googletest-color-test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …t-1.15.0/googletest/test/googletest-filter-unittest.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …1.15.0/googletest/test/gtest_skip_check_output_test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …letest-1.15.0/googletest/test/gtest_testbridge_test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | ….0/googletest/test/googletest-throw-on-failure-test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …test-1.15.0/googletest/test/googletest-shuffle-test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …test-1.15.0/googletest/test/googletest-shuffle-test.py | 21 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | COMMENT |
| LOW | ….15.0/googletest/test/googletest-uninitialized-test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | ….0/googletest/test/googletest-catch-exceptions-test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | ….15.0/googletest/test/googletest-json-outfiles-test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …etest/test/gtest_skip_environment_check_output_test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …1.15.0/googletest/test/googletest-failfast-unittest.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | …etest-1.15.0/googletest/include/gtest/gtest-matchers.h | 1 | // Copyright 2007, Google Inc. | COMMENT |
| 722 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/golden/golden_convert_test.py | 202 | def _default_jieba_config_dir(runfiles: Runfiles) -> Path: | CODE |
| LOW | test/golden/golden_convert_test.py | 209 | def _default_jieba_plugin_dir(runfiles: Runfiles) -> Path: | CODE |
| LOW | test/golden/golden_convert_test.py | 241 | def _default_jieba_resource_dir(runfiles: Runfiles) -> Path: | CODE |
| LOW | test/golden/golden_convert_test.py | 358 | def test_default_opencc_command_accepts_windows_exe_runfile(self) -> None: | CODE |
| LOW⚡ | test/golden/golden_convert_test.py | 372 | def test_parse_manifest_line_unescapes_escaped_entries(self) -> None: | CODE |
| LOW⚡ | test/golden/golden_convert_test.py | 379 | def test_parse_manifest_line_self_maps_single_token_entries(self) -> None: | CODE |
| LOW⚡ | test/golden/golden_convert_test.py | 384 | def test_rlocation_resolves_files_under_manifest_directory_entries(self) -> None: | CODE |
| LOW | test/golden/golden_convert_test.py | 399 | def test_default_jieba_plugin_dir_accepts_windows_bazel_bin_fallback(self) -> None: | CODE |
| LOW | python/tests/test_opencc.py | 57 | def test_init_delete_converter(): | STRING |
| LOW | python/tests/test_opencc.py | 96 | def test_include_tofu_risk_dictionaries_option(): | STRING |
| LOW | python/tests/test_opencc.py | 106 | def test_resource_zip_text_dictionary_support(tmp_path): | STRING |
| LOW | python/tests/test_opencc.py | 118 | def test_builtin_config_stem_is_normalized(): | STRING |
| LOW | python/tests/test_opencc.py | 124 | def test_custom_config_path_without_json_extension_is_preserved(): | STRING |
| LOW | python/tests/test_cli.py | 93 | def test_cli_skips_tofu_risk_dictionaries_by_default(tmp_path, monkeypatch): | STRING |
| LOW | python/tests/test_cli.py | 108 | def test_cli_include_tofu_risk_dictionaries_flag(tmp_path, monkeypatch): | STRING |
| LOW | python/tests/test_cli.py | 124 | def test_cli_rejects_same_input_and_output_file(tmp_path, monkeypatch, capsys): | STRING |
| LOW | python/tests/test_cli.py | 141 | def test_cli_resource_zip_support(tmp_path, monkeypatch): | STRING |
| LOW | python/tests/test_cli.py | 159 | def test_cli_subprocess_integration(tmp_path): | STRING |
| LOW | python/tests/test_cli.py | 190 | def test_cli_builtin_config_stem_supports_omitting_json(tmp_path, monkeypatch): | STRING |
| LOW | python/tests/test_cli.py | 205 | def test_cli_custom_config_path_without_json_extension(tmp_path, monkeypatch): | STRING |
| LOW | python/opencc/__init__.py | 33 | def _load_opencc_clib_from_runfiles(): | CODE |
| LOW | scripts/compile_to_inline_config_test.py | 9 | def test_group_dict_preserves_structure_and_match_policy(self): | CODE |
| LOW | scripts/compile_to_inline_config_test.py | 67 | def test_group_dict_without_match_policy_compiles_cleanly(self): | CODE |
| LOW | scripts/compile_to_inline_config_test.py | 130 | def test_union_of_union_flattens_to_single_inline(self): | CODE |
| LOW | scripts/compile_to_inline_config_test.py | 154 | def test_short_circuit_of_union_keeps_outer_group(self): | CODE |
| LOW | scripts/compile_to_inline_config_test.py | 185 | def test_union_of_short_circuit_falls_back_to_group(self): | CODE |
| LOW | scripts/verify-node-main-package.js | 43 | function parseGypSourcesAndIncludeDirs() { | CODE |
| LOW | scripts/verify-node-main-package.js | 62 | function collectSourceBuildClosure() { | CODE |
| LOW | scripts/verify-node-main-package.js | 117 | function verifySourceBuildFilesPacked() { | CODE |
| LOW⚡ | scripts/compile_to_inline_config.py | 76 | def 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.py | 130 | def test_prints_help_with_full_flag(self): | CODE |
| LOW | …s/googletest-1.15.0/googletest/test/gtest_help_test.py | 157 | def test_runs_tests_without_help_flag(self): | CODE |
| LOW | …s/googletest-1.15.0/googletest/test/gtest_help_test.py | 168 | def test_runs_tests_with_gtest_internal_flag(self): | CODE |
| LOW | deps/marisa-0.3.1/bindings/python3/marisa.py | 27 | def _swig_setattr_nondynamic_instance_variable(set): | CODE |
| LOW | deps/marisa-0.3.1/bindings/python3/marisa.py | 40 | def _swig_setattr_nondynamic_class_variable(set): | CODE |
| LOW | deps/marisa-0.3.1/bindings/python/marisa.py | 27 | def _swig_setattr_nondynamic_instance_variable(set): | CODE |
| LOW | deps/marisa-0.3.1/bindings/python/marisa.py | 40 | def _swig_setattr_nondynamic_class_variable(set): | CODE |
| LOW | deps/pybind11-2.13.1/setup.py | 27 | def build_expected_version_hex(matches: dict[str, str]) -> str: | CODE |
| LOW | deps/pybind11-2.13.1/tests/test_stl_binders.py | 198 | def test_map_string_double_const(): | CODE |
| LOW | deps/pybind11-2.13.1/tests/test_stl_binders.py | 211 | def test_noncopyable_containers(): | CODE |
| LOW | …s/pybind11-2.13.1/tests/test_methods_and_attributes.py | 22 | def test_methods_and_attributes(): | CODE |
| LOW | …s/pybind11-2.13.1/tests/test_methods_and_attributes.py | 264 | def test_property_return_value_policies(access): | CODE |
| LOW | …s/pybind11-2.13.1/tests/test_methods_and_attributes.py | 284 | def test_property_rvalue_policy(): | CODE |
| LOW | …s/pybind11-2.13.1/tests/test_methods_and_attributes.py | 477 | def test_unregistered_base_implementations(): | STRING |
| LOW | …/pybind11-2.13.1/tests/test_sequences_and_iterators.py | 16 | def test_slice_constructors_explicit_optional(): | CODE |
| LOW | …/pybind11-2.13.1/tests/test_sequences_and_iterators.py | 21 | def test_generalized_iterators(): | CODE |
| LOW⚡ | …/pybind11-2.13.1/tests/test_sequences_and_iterators.py | 53 | def test_generalized_iterators_simple(): | CODE |
| LOW⚡ | …/pybind11-2.13.1/tests/test_sequences_and_iterators.py | 63 | def test_iterator_doc_annotations(): | CODE |
| LOW⚡ | …/pybind11-2.13.1/tests/test_sequences_and_iterators.py | 72 | def test_iterator_referencing(): | CODE |
| LOW | …/pybind11-2.13.1/tests/test_sequences_and_iterators.py | 213 | def test_python_iterator_in_cpp(): | CODE |
| LOW | …/pybind11-2.13.1/tests/test_sequences_and_iterators.py | 245 | def test_iterator_passthrough(): | CODE |
| LOW | deps/pybind11-2.13.1/tests/test_numpy_vectorize.py | 158 | def test_trivial_broadcasting(): | STRING |
| LOW | deps/pybind11-2.13.1/tests/test_numpy_vectorize.py | 209 | def test_passthrough_arguments(doc): | STRING |
| LOW | deps/pybind11-2.13.1/tests/test_numpy_vectorize.py | 242 | def test_method_vectorization(): | STRING |
| LOW | deps/pybind11-2.13.1/tests/test_chrono.py | 32 | def test_chrono_system_clock_roundtrip(): | CODE |
| LOW | deps/pybind11-2.13.1/tests/test_chrono.py | 46 | def test_chrono_system_clock_roundtrip_date(): | CODE |
| LOW | deps/pybind11-2.13.1/tests/test_chrono.py | 102 | def test_chrono_system_clock_roundtrip_time(time1, tz, monkeypatch): | CODE |
| LOW | deps/pybind11-2.13.1/tests/test_chrono.py | 125 | def test_chrono_duration_roundtrip(): | CODE |
| LOW | deps/pybind11-2.13.1/tests/test_chrono.py | 145 | def test_chrono_duration_subtraction_equivalence(): | CODE |
| LOW | deps/pybind11-2.13.1/tests/test_chrono.py | 155 | def test_chrono_duration_subtraction_equivalence_date(): | CODE |
| 207 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …st-1.15.0/googletest/test/gtest_xml_output_unittest.py | 39 | CODE | |
| LOW | …test-1.15.0/googletest/test/gtest_xml_outfiles_test.py | 35 | CODE | |
| LOW | …gletest-1.15.0/googletest/test/gtest_xml_test_utils.py | 33 | CODE | |
| LOW | deps/marisa-0.3.1/bindings/python3/marisa.py | 7 | CODE | |
| LOW | deps/marisa-0.3.1/bindings/python/marisa.py | 7 | CODE | |
| LOW | deps/pybind11-2.13.1/setup.py | 4 | CODE | |
| LOW | deps/pybind11-2.13.1/noxfile.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tools/libsize.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tools/make_changelog.py | 2 | CODE | |
| LOW | …d11-2.13.1/tools/codespell_ignore_lines_from_errors.py | 12 | CODE | |
| LOW | deps/pybind11-2.13.1/pybind11/setup_helpers.py | 39 | CODE | |
| LOW | deps/pybind11-2.13.1/pybind11/_version.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/pybind11/__init__.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/pybind11/__init__.py | 10 | CODE | |
| LOW | deps/pybind11-2.13.1/pybind11/__init__.py | 11 | CODE | |
| LOW | deps/pybind11-2.13.1/pybind11/__init__.py | 11 | CODE | |
| LOW | deps/pybind11-2.13.1/pybind11/__init__.py | 11 | CODE | |
| LOW | deps/pybind11-2.13.1/pybind11/commands.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/pybind11/__main__.py | 2 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_stl_binders.py | 1 | CODE | |
| LOW | …s/pybind11-2.13.1/tests/test_methods_and_attributes.py | 1 | CODE | |
| LOW | …s/pybind11-2.13.1/tests/test_methods_and_attributes.py | 7 | CODE | |
| LOW | …/pybind11-2.13.1/tests/test_sequences_and_iterators.py | 1 | CODE | |
| LOW | …pybind11-2.13.1/tests/test_vector_unique_ptr_member.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_numpy_vectorize.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_chrono.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_chrono.py | 7 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/conftest.py | 7 | CODE | |
| LOW | …ind11-2.13.1/tests/test_python_multiple_inheritance.py | 3 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_callbacks.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_callbacks.py | 8 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_pytypes.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_class.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/env.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_eigen_tensor.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_docstring_options.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_async.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_unnamed_namespace_a.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_local_bindings.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_local_bindings.py | 5 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_smart_ptr.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_numpy_array.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_numpy_array.py | 5 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_builtin_casters.py | 1 | CODE | |
| LOW | …/pybind11-2.13.1/tests/test_constants_and_functions.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_exceptions.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_factory_constructors.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_iostream.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_operator_overloading.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_union.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_kwargs_and_defaults.py | 1 | CODE | |
| LOW | …pybind11-2.13.1/tests/test_type_caster_pyobject_ptr.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_thread.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_pickling.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_unnamed_namespace_b.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_copy_move.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_eval_call.py | 2 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_custom_type_casters.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_stl.py | 1 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_numpy_dtypes.py | 1 | CODE | |
| 43 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …etest/test/googletest-param-test-invalid-name1-test.py | 0 | verifies that google test warns the user when not initialized properly. | STRING |
| HIGH | …etest/test/googletest-param-test-invalid-name2-test.py | 0 | verifies that google test warns the user when not initialized properly. | STRING |
| HIGH | ….15.0/googletest/test/googletest-uninitialized-test.py | 0 | verifies that google test warns the user when not initialized properly. | STRING |
| HIGH | …etest/test/googletest-param-test-invalid-name1-test.py | 0 | runs the given command and verifies its exit code and output. | STRING |
| HIGH | …etest/test/googletest-param-test-invalid-name2-test.py | 0 | runs the given command and verifies its exit code and output. | STRING |
| HIGH | ….15.0/googletest/test/googletest-uninitialized-test.py | 0 | runs the given command and verifies its exit code and output. | STRING |
| HIGH | …test-1.15.0/googletest/test/googletest-env-var-test.py | 0 | sets the env variable to 'value'; unsets it when 'value' is none. | STRING |
| HIGH | …letest-1.15.0/googletest/test/googletest-color-test.py | 0 | sets the env variable to 'value'; unsets it when 'value' is none. | STRING |
| HIGH | …t-1.15.0/googletest/test/googletest-filter-unittest.py | 0 | sets the env variable to 'value'; unsets it when 'value' is none. | STRING |
| HIGH | …1.15.0/googletest/test/googletest-failfast-unittest.py | 0 | sets the env variable to 'value'; unsets it when 'value' is none. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/golden/golden_convert_test.py | 418 | CODE | |
| LOW | test/golden/golden_convert_test.py | 53 | CODE | |
| LOW | test/golden/golden_convert_test.py | 323 | CODE | |
| LOW | test/golden/golden_diff.py | 155 | CODE | |
| LOW | scripts/convert_resource_zip.py | 36 | CODE | |
| LOW | scripts/convert_resource_zip.py | 60 | CODE | |
| LOW | scripts/compile_to_inline_config.py | 111 | CODE | |
| LOW | …letest-1.15.0/googletest/test/gtest_json_test_utils.py | 35 | CODE | |
| LOW | …letest-1.15.0/googletest/test/gtest_json_test_utils.py | 46 | CODE | |
| LOW | …gletest-1.15.0/googletest/test/gtest_xml_test_utils.py | 131 | CODE | |
| LOW | …gletest-1.15.0/googletest/test/gtest_xml_test_utils.py | 186 | CODE | |
| LOW | deps/pybind11-2.13.1/setup.py | 27 | CODE | |
| LOW | …d11-2.13.1/tools/codespell_ignore_lines_from_errors.py | 17 | CODE | |
| LOW | deps/pybind11-2.13.1/pybind11/setup_helpers.py | 290 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_numpy_array.py | 544 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_factory_constructors.py | 468 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_factory_constructors.py | 486 | CODE | |
| LOW | deps/pybind11-2.13.1/tests/test_numpy_dtypes.py | 358 | CODE | |
| LOW | deps/google-benchmark/.ycm_extra_conf.py | 79 | CODE | |
| LOW | deps/google-benchmark/tools/strip_asm.py | 64 | CODE | |
| LOW | deps/google-benchmark/tools/gbench/util.py | 57 | CODE | |
| LOW | data/scripts/convert_config_dict_format.py | 19 | CODE | |
| LOW | data/scripts/opencc_resources_zip.py | 30 | CODE | |
| LOW | data/scripts/opencc_resources_zip.py | 133 | CODE | |
| LOW | data/scripts/common.py | 86 | CODE | |
| LOW | data/scripts/common.py | 132 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/compile_to_inline_config.py | 20 | except Exception: | CODE |
| MEDIUM | scripts/compile_to_inline_config.py | 180 | print(f"Error: Config file not found: {args.config}", file=sys.stderr) | CODE |
| MEDIUM | scripts/compile_to_inline_config.py | 183 | print(f"Error: Dictionary directory not found: {args.dict_dir}", file=sys.stderr) | CODE |
| LOW | scripts/compile_to_inline_config.py | 205 | except Exception as e: | CODE |
| MEDIUM | scripts/compile_to_inline_config.py | 206 | print(f"Error: {e}", file=sys.stderr) | CODE |
| MEDIUM | scripts/compile_to_inline_config.py | 11 | def get_opencc_version() -> str: | CODE |
| LOW | deps/pybind11-2.13.1/tests/conftest.py | 23 | except Exception: | CODE |
| LOW | deps/pybind11-2.13.1/tests/test_thread.py | 18 | except Exception as e: | CODE |
| MEDIUM | deps/pybind11-2.13.1/tests/test_thread.py | 14 | def run(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/ConfigTest.cpp | 1088 | // ── Normalization tests ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/tools/SpeedBenchmark.cpp | 105 | // ── init ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/tools/SpeedBenchmark.cpp | 119 | // ── warmup ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/tools/SpeedBenchmark.cpp | 123 | // ── timed loop ──────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …est-1.15.0/googletest/include/gtest/gtest-death-test.h | 152 | // This implementation is *not* meant to be as highly tuned or robust | COMMENT |
| MEDIUM | …est-1.15.0/googletest/include/gtest/gtest-death-test.h | 224 | // In practice, this can be used to test functions that utilize the | COMMENT |
| MEDIUM | deps/pybind11-2.13.1/tests/test_numpy_array.py | 604 | # HINT: An easy and robust way (although only manual unfortunately) to check for | COMMENT |
| LOW | deps/pybind11-2.13.1/tests/test_modules.py | 110 | # changes in future Python versions, simply add the new expected exception types here. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | scripts/compile_to_inline_config.py | 57 | # Check if it is TSCharactersExt | COMMENT |
| LOW⚡ | scripts/compile_to_inline_config.py | 66 | # Check if it is a reversed dictionary | COMMENT |
| LOW | …t-1.15.0/googletest/test/googletest-filter-unittest.py | 69 | # Check if this platform can unset environment variables in child processes. | COMMENT |
| LOW | deps/google-benchmark/.ycm_extra_conf.py | 26 | # Set this to the absolute path to the folder (NOT the file!) containing the | COMMENT |
| LOW | deps/google-benchmark/tools/gbench/report.py | 214 | # Check if we failed miserably with minimum required repetitions for utest | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | scripts/compile_to_inline_config.py | 59 | return {} # Ignore as requested | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/build-cli-windows-zig.sh | 18 | # Usage: | COMMENT |
| LOW | scripts/compute-version.sh | 12 | # Usage: | COMMENT |
| LOW | scripts/build-deb-packages.sh | 6 | # Usage: | COMMENT |
| LOW | deps/pybind11-2.13.1/tools/libsize.py | 7 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | deps/pybind11-2.13.1/tests/test_eval_call.py | 1 | # This file is called from 'test_eval.py' | COMMENT |
| MEDIUM | deps/pybind11-2.13.1/docs/conf.py | 6 | # This file is execfile()d with the current directory set to its | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/googletest-1.15.0/googletest/test/gtest_test_utils.py | 200 | Changes into a specified directory, if provided, and executes a command. Restores the old directory afterwards. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …benchmark/bindings/python/google_benchmark/__init__.py | 129 | options = __OptionMaker.make(undefined) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/golden/golden_convert_test.py | 418 | def update_outputs() -> None: | CODE |
| LOW | python/opencc/__init__.py | 6 | __all__ = ['CONFIGS', 'OpenCC', '__version__'] | CODE |
| LOW | deps/google-benchmark/tools/gbench/__init__.py | 8 | __all__ = [] | CODE |
| LOW | …benchmark/bindings/python/google_benchmark/__init__.py | 52 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …etest-1.15.0/googletest/test/googletest-output-test.py | 215 | CODE | |
| LOW | …googletest-1.15.0/googlemock/test/gmock_output_test.py | 72 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | deps/pybind11-2.13.1/tests/test_numpy_array.py | 611 | # value increases without bounds. (Don't forget to Ctrl-C the test!) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | deps/google-benchmark/include/benchmark/benchmark.h | 1082 | // NOTE: This function should only be used when *exact* iteration control is | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | deps/googletest-1.15.0/docs/reference/mocking.md | 278 | .WillRepeatedly(Return("John Doe")); // Return "John Doe" on all calls | CODE |