Library for conversion between Traditional and Simplified Chinese
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1115 finding(s).
Are imports declared and package/API names verified? 105 finding(s).
Are wrappers, guards, and repeated structures necessary? 307 finding(s).
Which changes need focused human review? 1260 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 1 | # | COMMENT |
| LOW | CMakeLists.txt | 181 | # set(CMAKE_SHARED_LIBRARY_PREFIX ${CMAKE_INSTALL_PREFIX}) | COMMENT |
| LOW | CMakeLists.txt | 201 | # (replaces: ${CMAKE_INSTALL_PREFIX}/include) | COMMENT |
| LOW | test/CommandLineConvertTest.cpp | 21 | #include <iostream> | COMMENT |
| LOW | test/CommandLineConvertTest.cpp | 201 | #ifdef _WIN32 | 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-source-package.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/build-cli-windows-zig.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/install.js | 1 | #!/usr/bin/env node | 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 |
| 742 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_native_only_modes(monkeypatch, capsys): | STRING |
| LOW | python/tests/test_cli.py | 133 | def test_cli_rejects_same_input_and_output_file(tmp_path, monkeypatch, capsys): | STRING |
| LOW | python/tests/test_cli.py | 150 | def test_cli_resource_zip_support(tmp_path, monkeypatch): | STRING |
| LOW | python/tests/test_cli.py | 168 | def test_cli_subprocess_integration(tmp_path): | STRING |
| LOW | python/tests/test_cli.py | 199 | def test_cli_builtin_config_stem_supports_omitting_json(tmp_path, monkeypatch): | STRING |
| LOW | python/tests/test_cli.py | 214 | 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/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 |
| LOW | deps/pybind11-2.13.1/tests/test_chrono.py | 170 | def test_chrono_steady_clock_roundtrip(): | CODE |
| LOW | deps/pybind11-2.13.1/tests/test_chrono.py | 180 | def test_floating_point_duration(): | CODE |
| 205 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 | python/opencc/cli.py | 73 | except FileNotFoundError: | CODE |
| HIGH | scripts/compile_to_inline_config.py | 20 | except Exception: | CODE |
| HIGH | …test-1.15.0/googletest/test/gtest_xml_outfiles_test.py | 99 | except os.error: | CODE |
| HIGH | …test-1.15.0/googletest/test/gtest_xml_outfiles_test.py | 103 | except os.error: | CODE |
| HIGH | …test-1.15.0/googletest/test/gtest_xml_outfiles_test.py | 107 | except os.error: | CODE |
| HIGH | …t-1.15.0/googletest/test/googletest-filter-unittest.py | 48 | except ImportError: | CODE |
| HIGH | ….15.0/googletest/test/googletest-json-outfiles-test.py | 134 | except os.error: | CODE |
| HIGH | ….15.0/googletest/test/googletest-json-outfiles-test.py | 138 | except os.error: | CODE |
| HIGH | ….15.0/googletest/test/googletest-json-outfiles-test.py | 142 | except os.error: | CODE |
| HIGH | deps/pybind11-2.13.1/pybind11/setup_helpers.py | 143 | except ModuleNotFoundError: | CODE |
| HIGH | deps/google-benchmark/tools/gbench/util.py | 52 | except BaseException: | CODE |
| HIGH | data/scripts/opencc_resources_zip.py | 40 | except FileNotFoundError: | CODE |
| HIGH | data/scripts/opencc_resources_zip.py | 69 | except ValueError: | CODE |
| 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 |
|---|---|---|---|---|
| LOW | scripts/build-source-package.sh | 5 | # Usage: | COMMENT |
| 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 |
|---|---|---|---|---|
| HIGH⚡ | scripts/compile_to_inline_config.py | 59 | return {} # Ignore as requested | CODE |
| 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 |