AWTK = Toolkit AnyWhere(a cross-platform embedded GUI)
This report summarizes scanner evidence for zlgopen/awtk, a C project with 3,324 GitHub stars. SynthScan examined 1,491,626 lines of code across 4665 source files, recording 3686 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 2.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 3343 finding(s).
Are imports declared and package/API names verified? 46 finding(s).
Are wrappers, guards, and repeated structures necessary? 343 finding(s).
Which changes need focused human review? 3686 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 3686 distinct pattern matches across 19 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 | tools/api_doc_lint/ctags/e_riscos.h | 21 | #define DEFAULT_FILE_FORMAT 2 | COMMENT |
| LOW | tools/api_doc_lint/ctags/e_riscos.h | 41 | #define HAVE_STRNICMP 1 | COMMENT |
| LOW | tools/api_doc_lint/ctags/c.c | 21 | #include "debug.h" | COMMENT |
| LOW | tools/api_doc_lint/ctags/debug.h | 21 | #endif | COMMENT |
| LOW | tools/api_doc_lint/ctags/e_amiga.h | 21 | #define HAVE_STRICMP 1 | COMMENT |
| LOW | tools/api_doc_lint/ctags/e_mac.h | 21 | #define INTERNAL_SORT 1 | COMMENT |
| LOW | tools/api_doc_lint/ctags/e_mac.h | 41 | #include <fcntl.h> | COMMENT |
| LOW | tools/api_doc_lint/ctags/routines.h | 21 | */ | COMMENT |
| LOW | tools/api_doc_lint/ctags/general.h | 21 | #elif defined (DJGPP) | COMMENT |
| LOW | tools/api_doc_lint/ctags/general.h | 41 | * MACROS | COMMENT |
| LOW | tools/api_doc_lint/ctags/general.h | 61 | /* | COMMENT |
| LOW | tools/api_doc_lint/ctags/general.h | 81 | # define filepos_t fpos_t | COMMENT |
| LOW | tools/api_doc_lint/ctags/vstring.h | 21 | #endif | COMMENT |
| LOW | tools/api_doc_lint/ctags/e_os2.h | 21 | #define HAVE_SYS_TYPES_H 1 | COMMENT |
| LOW | tools/api_doc_lint/ctags/routines.c | 21 | #endif | COMMENT |
| LOW | tools/api_doc_lint/ctags/routines.c | 41 | # if defined (HAVE_TYPES_H) | COMMENT |
| LOW | tools/api_doc_lint/ctags/routines.c | 61 | #endif | COMMENT |
| LOW | tools/api_doc_lint/ctags/routines.c | 81 | #ifndef S_ISREG | COMMENT |
| LOW | tools/api_doc_lint/ctags/routines.c | 101 | # define S_ISDIR(mode) FALSE /* assume no soft links */ | COMMENT |
| LOW | tools/api_doc_lint/ctags/routines.c | 121 | #endif | COMMENT |
| LOW | tools/api_doc_lint/ctags/routines.c | 141 | # elif defined (DJGPP) | COMMENT |
| LOW | tools/api_doc_lint/ctags/lregex.c | 21 | #include <string.h> | COMMENT |
| LOW | tools/api_doc_lint/ctags/e_msoft.h | 21 | #define MSDOS_STYLE_PATH 1 | COMMENT |
| LOW | tools/api_doc_lint/ctags/e_msoft.h | 41 | #ifdef __BORLANDC__ | COMMENT |
| LOW | tools/api_doc_lint/ctags/e_msoft.h | 61 | # if defined (__MSVCRT__) && __MINGW32_MAJOR_VERSION == 1 && __MINGW32_MINOR_VERSION < 2 | COMMENT |
| LOW | tools/api_doc_lint/ctags/e_qdos.h | 21 | #define STDC_HEADERS 1 | COMMENT |
| LOW | tools/api_doc_lint/ctags/e_djgpp.h | 21 | #define HAVE_STDLIB_H 1 | COMMENT |
| LOW | tools/api_doc_lint/ctags/e_djgpp.h | 41 | #define HAVE_STRNCASECMP 1 | COMMENT |
| LOW | tools/api_doc_lint/ctags/read.h | 21 | * INCLUDE FILES | COMMENT |
| LOW | tools/api_doc_lint/ctags/e_vms.h | 21 | # define HAVE_FCNTL_H 1 | COMMENT |
| LOW | tools/api_doc_lint/ctags/entry.c | 21 | #if defined (HAVE_SYS_TYPES_H) | COMMENT |
| LOW | tools/api_doc_lint/ctags/entry.c | 41 | #include "debug.h" | COMMENT |
| LOW | tools/api_doc_lint/ctags/options.c | 21 | COMMENT | |
| LOW | tools/api_doc_lint/ctags/options.c | 41 | #ifndef ETAGS | COMMENT |
| LOW | tools/api_doc_lint/ctags/options.c | 301 | "win32", | COMMENT |
| LOW | tools/api_doc_lint/ctags/options.c | 321 | #endif | COMMENT |
| LOW | tools/api_doc_lint/ctags/libmain.c | 21 | /* | COMMENT |
| LOW | tools/api_doc_lint/ctags/libmain.c | 41 | #endif | COMMENT |
| LOW | tools/api_doc_lint/ctags/libmain.c | 61 | # include <sys/types.h> /* required by dirent.h */ | COMMENT |
| LOW | tools/image_dither/image_dither.c | 21 | COMMENT | |
| LOW | tools/font_gen/font_gen.c | 21 | COMMENT | |
| LOW | tools/font_gen/font_gen_tools.c | 21 | #include "tkc/mem.h" | COMMENT |
| LOW | tools/common/utils.c | 21 | COMMENT | |
| LOW | tools/preview_ui/preview_ui.c | 21 | COMMENT | |
| LOW | tools/data/ArabicShaping.txt | 1 | # ArabicShaping-17.0.0.txt | COMMENT |
| LOW | tools/data/ArabicShaping.txt | 21 | # Script Section Table(s) | COMMENT |
| LOW | tools/data/ArabicShaping.txt | 41 | # Field 1: gives a short schematic name for that character. | COMMENT |
| LOW | tools/data/ArabicShaping.txt | 61 | # interpretation of joining types in vertical layout. | COMMENT |
| LOW | tools/data/ArabicShaping.txt | 81 | # | COMMENT |
| LOW | tools/data/ArabicShaping.txt | 101 | # assigns jg=No_Joining_Group to all the singletons. | COMMENT |
| LOW | win32_res/resource.h | 1 | //{{NO_DEPENDENCIES}} | COMMENT |
| LOW | tests/fscript_run.cpp | 1 | #include "tkc/fs.h" | COMMENT |
| LOW | tests/format_xml.cpp | 1 | #include "conf_io/conf_xml.h" | COMMENT |
| LOW | tests/assert_catcher.hpp | 1 | #include "gtest/gtest.h" | COMMENT |
| LOW | 3rd/cjson/cJSON.h | 61 | #endif | COMMENT |
| LOW | 3rd/cjson/cJSON.h | 81 | /* project version */ | COMMENT |
| LOW | 3rd/cjson/cJSON_Utils.h | 41 | /* Utility for generating patch array entries. */ | COMMENT |
| LOW | 3rd/cjson/cJSON.c | 21 | */ | COMMENT |
| LOW | 3rd/cjson/cJSON.c | 41 | #include <stdio.h> | COMMENT |
| LOW | 3rd/cjson/cJSON_Utils.c | 21 | */ | COMMENT |
| 3142 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …SheenBidi-3.0.0/Tools/Unicode/PropertyValueAliases.txt | 59 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 2542 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 2550 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 2558 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 2566 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 2574 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 2582 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 2590 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 2598 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 2606 | # ================================================ | COMMENT |
| MEDIUM | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 10 | # ================================================ | COMMENT |
| MEDIUM | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 126 | # ================================================ | COMMENT |
| MEDIUM | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 1235 | # ================================================ | COMMENT |
| MEDIUM | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 1349 | # ================================================ | COMMENT |
| MEDIUM | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 1370 | # ================================================ | COMMENT |
| MEDIUM | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 1387 | # ================================================ | COMMENT |
| MEDIUM | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 1426 | # ================================================ | COMMENT |
| MEDIUM | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 1442 | # ================================================ | COMMENT |
| MEDIUM | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 1462 | # ================================================ | COMMENT |
| MEDIUM | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 1474 | # ================================================ | COMMENT |
| MEDIUM | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 1484 | # ================================================ | COMMENT |
| MEDIUM | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 1498 | # ================================================ | COMMENT |
| MEDIUM | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 2027 | # ================================================ | COMMENT |
| MEDIUM | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 2071 | # ================================================ | COMMENT |
| MEDIUM | 3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt | 2446 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1487 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1496 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1504 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1618 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1627 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1635 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1644 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1650 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1691 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1700 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1708 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1715 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1723 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1759 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1766 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1772 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1779 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1790 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1796 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1806 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1916 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1925 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1933 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 1940 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 2016 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 2025 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 2034 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 2040 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 2046 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 2053 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 2145 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 2154 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 2164 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 2205 | # ================================================ | COMMENT |
| MEDIUM⚡ | 3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt | 2213 | # ================================================ | COMMENT |
| 214 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | 3rd/mbedtls/include/psa/crypto.h | 938 | * -# Initialize the operation object with one of the methods described in the | COMMENT |
| MEDIUM | 3rd/mbedtls/include/psa/crypto.h | 1312 | * -# Initialize the operation object with one of the methods described in the | COMMENT |
| MEDIUM | 3rd/mbedtls/include/psa/crypto.h | 1373 | * -# Initialize the operation object with one of the methods described in the | COMMENT |
| MEDIUM | 3rd/mbedtls/include/psa/crypto.h | 1732 | * -# Initialize the operation object with one of the methods described in the | COMMENT |
| MEDIUM | 3rd/mbedtls/include/psa/crypto.h | 1796 | * -# Initialize the operation object with one of the methods described in the | COMMENT |
| MEDIUM | 3rd/mbedtls/include/psa/crypto.h | 2239 | * -# Initialize the operation object with one of the methods described in the | COMMENT |
| MEDIUM | 3rd/mbedtls/include/psa/crypto.h | 2309 | * -# Initialize the operation object with one of the methods described in the | COMMENT |
| MEDIUM | 3rd/gtest/googletest/scripts/upload.py | 380 | # Create an empty cookie file with mode 600 | COMMENT |
| MEDIUM | 3rd/gtest/googlemock/scripts/upload.py | 380 | # Create an empty cookie file with mode 600 | COMMENT |
| MEDIUM | …/gtest/googlemock/scripts/generator/cpp/gmock_class.py | 121 | # Create the mock method definition. | COMMENT |
| MEDIUM | 3rd/gtest/googlemock/scripts/generator/cpp/ast.py | 1570 | # Create an internal token that denotes when the namespace is complete. | COMMENT |
| MEDIUM | 3rd/SDL/build-scripts/ltmain.sh | 1229 | # This function is only a basic sanity check; it will hardly flush out | COMMENT |
| MEDIUM | 3rd/SDL/build-scripts/ltmain.sh | 1240 | # This function implements the same check as func_lalib_p without | COMMENT |
| MEDIUM | 3rd/SDL/build-scripts/ltmain.sh | 1263 | # This function is only a basic sanity check; it will hardly flush out | COMMENT |
| MEDIUM | 3rd/SDL/build-scripts/ltmain.sh | 1272 | # This function is only a basic sanity check; it will hardly flush out | COMMENT |
| MEDIUM | 3rd/SDL/build-scripts/ltmain.sh | 1297 | # This function is only a basic sanity check; it will hardly flush out | COMMENT |
| MEDIUM | 3rd/SDL/build-scripts/ltmain.sh | 1433 | # Create a libtool object file (analogous to a ".la" file), | COMMENT |
| MEDIUM | 3rd/SDL/build-scripts/ltmain.sh | 6028 | # Create the object directory. | COMMENT |
| MEDIUM | 3rd/SDL/build-scripts/ltmain.sh | 8653 | # Create the old-style object. | COMMENT |
| MEDIUM | 3rd/SDL/build-scripts/ltmain.sh | 8673 | # Create an invalid libtool object if no PIC, so that we don't | COMMENT |
| MEDIUM | 3rd/SDL/build-scripts/androidbuildlibs.sh | 26 | # Create the build directories | COMMENT |
| MEDIUM | 3rd/SDL/build-scripts/androidbuild.sh | 75 | # Create an inherited Activity | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | awtk_config_common.py | 335 | def scons_db_check_and_remove(): | CODE |
| LOW | tools/gen_awtk_arabic_unicode_inc.py | 72 | def parse_unicode_data_bidi_explicit_bn(ud_path: str) -> list[tuple[int, int]]: | CODE |
| LOW | 3rd/harfbuzz/hb-unicode.h | 354 | typedef hb_unicode_combining_class_t (*hb_unicode_combining_class_func_t) (hb_unicode_funcs_t *ufuncs, | CODE |
| LOW | 3rd/harfbuzz/hb-unicode.h | 372 | typedef hb_unicode_general_category_t (*hb_unicode_general_category_func_t) (hb_unicode_funcs_t *ufuncs, | CODE |
| LOW | 3rd/mbedtls/scripts/abi_check.py | 85 | def check_abi_tools_are_installed(): | CODE |
| LOW | 3rd/mbedtls/scripts/abi_check.py | 90 | def _get_clean_worktree_for_git_revision(self, version): | CODE |
| LOW | 3rd/mbedtls/scripts/abi_check.py | 188 | def _get_abi_dumps_from_shared_libraries(self, version): | CODE |
| LOW | 3rd/mbedtls/scripts/abi_check.py | 229 | def _remove_children_with_tag(self, parent, tag): | CODE |
| LOW | 3rd/mbedtls/scripts/abi_check.py | 237 | def _remove_extra_detail_from_report(self, report_root): | CODE |
| LOW | 3rd/mbedtls/scripts/abi_check.py | 304 | def get_abi_compatibility_report(self): | CODE |
| LOW | 3rd/mbedtls/scripts/generate_psa_constants.py | 340 | def _make_key_type_from_curve_code(builder, tester): | STRING |
| LOW | 3rd/mbedtls/scripts/generate_psa_constants.py | 346 | def _make_key_type_from_group_code(builder, tester): | STRING |
| LOW | 3rd/mbedtls/scripts/generate_psa_constants.py | 361 | def _make_hash_algorithm_cases(self): | STRING |
| LOW | 3rd/mbedtls/scripts/generate_psa_constants.py | 374 | def _make_algorithm_from_hash_code(builder, tester): | STRING |
| LOW | 3rd/mbedtls/scripts/mbedtls_dev/c_build_helper.py | 52 | def generate_c_printf_expressions(c_file, cast_to, printf_format, expressions): | CODE |
| LOW | scripts/compile_config.py | 150 | def find_compile_cmd_info_by_name(name) : | CODE |
| LOW | scripts/mobile_project_helper.py | 220 | def files_replace_with_config(files, app_root_dst, config): | CODE |
| LOW | scripts/update_res_app.py | 18 | def use_theme_config_from_res_config(res_config_path, config = None): | CODE |
| LOW | scripts/update_res_common.py | 138 | def set_is_excluded_file_handler(handler): | CODE |
| LOW | scripts/update_res_common.py | 168 | def set_enable_generate_inc_res(enable): | CODE |
| LOW | scripts/update_res_common.py | 173 | def set_enable_generate_inc_bitmap(enable): | CODE |
| LOW | scripts/update_res_common.py | 233 | def get_imagegen_options_of_default_theme(): | CODE |
| LOW | scripts/update_res_common.py | 248 | def is_packaged_of_default_theme(): | CODE |
| LOW | scripts/update_res_common.py | 1226 | def gen_assets_c_of_one_theme(with_multi_theme = True): | CODE |
| LOW | scripts/update_res_common.py | 1308 | def gen_asset_c_entry_with_multi_theme(): | CODE |
| LOW | scripts/update_res_common.py | 1605 | def get_longsopt_name_by_tuple(tuple) : | CODE |
| LOW | scripts/update_res_common.py | 1608 | def get_shortopt_name_by_tuple(tuple) : | CODE |
| LOW | scripts/update_res_common.py | 1734 | def get_res_names_from_sources_file(sources_file): | CODE |
| LOW | scripts/app_helper_base.py | 115 | def set_export_tkc_config_h_path(self, path): | CODE |
| LOW | scripts/app_helper_base.py | 199 | def check_and_remove_scons_db(self, root): | CODE |
| LOW | scripts/app_helper_base.py | 235 | def get_compile_helper_by_script(self, ARGUMENTS, script_path, script_argv) : | CODE |
| LOW⚡ | scripts/compile_config_test.py | 8 | def test_agge_overrides_nanovg_plus(self): | CODE |
| LOW⚡ | scripts/compile_config_test.py | 11 | def test_agge_keeps_explicit_nanovg(self): | CODE |
| LOW⚡ | scripts/compile_config_test.py | 17 | def test_gpu_backend_keeps_nanovg_plus(self): | CODE |
| LOW | scripts/update_res.py | 12 | def is_demouiold_excluded_file(filename): | CODE |
| LOW | scripts/res_config.py | 86 | def get_res_type_info_by_const_and_load_from(self, assets, inc_res, inc_bitmap, inc_bitmap_font) : | CODE |
| LOW⚡ | scripts/res_config.py | 220 | def set_res_actived_bottom_system_bar(self, bottom_system_bar='', theme_name = 'default') : | CODE |
| LOW⚡ | scripts/res_config.py | 223 | def get_res_actived_bottom_system_bar(self, theme_name = 'default') : | CODE |
| LOW⚡ | scripts/res_config.py | 226 | def set_res_actived_system_bar(self, system_bar = '', theme_name = 'default') : | CODE |
| LOW⚡ | scripts/res_config.py | 229 | def get_res_actived_system_bar(self, theme_name = 'default') : | CODE |
| LOW | scripts/res_config.py | 256 | def set_res_lcd_fast_rotation_mode(self, lcd_fast_rotation_mode = False): | CODE |
| LOW | scripts/res_config.py | 259 | def get_res_lcd_fast_rotation_mode(self): | CODE |
| LOW | scripts/update_res_hb.py | 355 | def load_ttf_and_text_from_json(json_path:str): | CODE |
| LOW | .github/workflows/fail_on_error.py | 7 | def codeql_sarif_contain_error(filename): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | 3rd/mbedtls/scripts/mbedtls_dev/c_build_helper.py | 31 | except OSError: | CODE |
| HIGH | 3rd/gtest/googletest/test/gtest_filter_unittest.py | 49 | except ImportError: | CODE |
| HIGH | 3rd/gtest/googletest/test/gtest_xml_outfiles_test.py | 81 | except os.error: | CODE |
| HIGH | 3rd/gtest/googletest/test/gtest_xml_outfiles_test.py | 85 | except os.error: | CODE |
| HIGH | 3rd/gtest/googletest/test/gtest_xml_outfiles_test.py | 89 | except os.error: | CODE |
| HIGH | 3rd/gtest/googletest/scripts/fuse_gtest_files.py | 65 | except ImportError: | CODE |
| HIGH | …/gtest/googlemock/scripts/generator/cpp/gmock_class.py | 200 | except KeyError: | CODE |
| HIGH | 3rd/gtest/googlemock/scripts/generator/cpp/ast.py | 1696 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/gen_awtk_arabic_unicode_inc.py | 72 | CODE | |
| LOW | 3rd/mbedtls/scripts/config.py | 439 | CODE | |
| LOW | 3rd/mbedtls/scripts/generate_psa_constants.py | 237 | CODE | |
| LOW | 3rd/gtest/googletest/test/gtest_xml_test_utils.py | 117 | CODE | |
| LOW | 3rd/gtest/googletest/test/gtest_xml_test_utils.py | 150 | CODE | |
| LOW | 3rd/gtest/googletest/scripts/fuse_gtest_files.py | 178 | CODE | |
| LOW | 3rd/gtest/googletest/scripts/fuse_gtest_files.py | 183 | CODE | |
| LOW | …/gtest/googlemock/scripts/generator/cpp/gmock_class.py | 51 | CODE | |
| LOW | …/gtest/googlemock/scripts/generator/cpp/gmock_class.py | 126 | CODE | |
| LOW | 3rd/gtest/googlemock/scripts/generator/cpp/ast.py | 1711 | CODE | |
| LOW | 3rd/gtest/googlemock/scripts/generator/cpp/ast.py | 337 | CODE | |
| LOW | 3rd/gtest/googlemock/scripts/generator/cpp/ast.py | 463 | CODE | |
| LOW | 3rd/gtest/googlemock/scripts/generator/cpp/ast.py | 477 | CODE | |
| LOW | 3rd/gtest/googlemock/scripts/generator/cpp/ast.py | 536 | CODE | |
| LOW | 3rd/gtest/googlemock/scripts/generator/cpp/ast.py | 591 | CODE | |
| LOW | 3rd/gtest/googlemock/scripts/generator/cpp/ast.py | 738 | CODE | |
| LOW | 3rd/gtest/googlemock/scripts/generator/cpp/ast.py | 880 | CODE | |
| LOW | 3rd/gtest/googlemock/scripts/generator/cpp/ast.py | 959 | CODE | |
| LOW | 3rd/gtest/googlemock/scripts/generator/cpp/ast.py | 1395 | CODE | |
| LOW | 3rd/gtest/googlemock/scripts/generator/cpp/ast.py | 1422 | CODE | |
| LOW | 3rd/gtest/googlemock/scripts/generator/cpp/tokenize.py | 119 | CODE | |
| LOW | scripts/mobile_project_helper.py | 56 | CODE | |
| LOW | scripts/app_helper_base.py | 376 | CODE | |
| LOW | scripts/app_helper_base.py | 583 | CODE | |
| LOW | scripts/assets_zip.py | 13 | CODE | |
| LOW | scripts/release_common.py | 101 | CODE | |
| LOW | scripts/project_scripts/release.py | 47 | CODE | |
| LOW | scripts/project_scripts/app_helper.py | 23 | CODE | |
| LOW | scripts/project_scripts/app_helper.py | 57 | CODE | |
| LOW | .github/workflows/fail_on_error.py | 7 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | 3rd/mbedtls/library/error.c | 226 | /* Begin Auto-Generated Code. */ | COMMENT |
| HIGH | 3rd/mbedtls/library/error.c | 569 | /* End Auto-Generated Code. */ | COMMENT |
| HIGH | 3rd/mbedtls/library/error.c | 590 | /* Begin Auto-Generated Code. */ | COMMENT |
| HIGH | 3rd/mbedtls/library/error.c | 887 | /* End Auto-Generated Code. */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | awtk_config.py | 10 | CODE | |
| LOW | awtk_config.py | 11 | CODE | |
| LOW | awtk_config.py | 11 | CODE | |
| LOW | awtk_config.py | 11 | CODE | |
| LOW | awtk_config.py | 11 | CODE | |
| LOW | awtk_config.py | 11 | CODE | |
| LOW | awtk_config.py | 12 | CODE | |
| LOW | awtk_config.py | 12 | CODE | |
| LOW | tools/gen_awtk_arabic_unicode_inc.py | 11 | CODE | |
| LOW | tools/fdb/awplc.py | 1 | CODE | |
| LOW | tools/fdb/awplc.py | 2 | CODE | |
| LOW | staticcheck/cppcheck/run.py | 1 | CODE | |
| LOW | staticcheck/common/awtk_files.py | 2 | CODE | |
| LOW | staticcheck/common/awtk_files.py | 4 | CODE | |
| LOW | staticcheck/infer/run.py | 1 | CODE | |
| LOW | 3rd/gtest/googletest/test/gtest_xml_output_unittest.py | 41 | CODE | |
| LOW | …est/googletest/test/gtest_break_on_failure_unittest.py | 45 | CODE | |
| LOW | …d/gtest/googletest/test/gtest_catch_exceptions_test.py | 40 | CODE | |
| LOW | 3rd/gtest/googletest/test/gtest_xml_outfiles_test.py | 37 | CODE | |
| LOW | 3rd/gtest/googletest/test/gtest_xml_test_utils.py | 37 | CODE | |
| LOW | scripts/app_helper_base.py | 4 | CODE | |
| LOW | scripts/app_helper_base.py | 6 | CODE | |
| LOW | scripts/release_common.py | 4 | CODE | |
| LOW | scripts/project_scripts/release.py | 7 | CODE | |
| LOW | scripts/project_scripts/app_helper.py | 4 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/api_doc_lint/ctags/get.c | 155 | * This section handles preprocessor directives. It strips out all | COMMENT |
| LOW | 3rd/cairo/cairo/cairo-scaled-font.c | 270 | * The purpose of this function is to allow the user to set a | COMMENT |
| LOW | 3rd/cairo/cairo/cairo-region.c | 134 | * The purpose of this function is to allow the user to set a | COMMENT |
| LOW | 3rd/cairo/cairo/cairo-error.c | 58 | * The purpose of this function is to allow the user to set a | COMMENT |
| LOW | 3rd/cairo/cairo/cairo-surface.c | 177 | * The purpose of this function is to allow the user to set a | COMMENT |
| LOW | 3rd/cairo/cairo/cairo-pattern.c | 174 | * The purpose of this function is to allow the user to set a | COMMENT |
| LOW | 3rd/cairo/cairo/cairo.c | 391 | * The purpose of this function is to allow the user to set a | COMMENT |
| LOW | …ject/app/src/main/java/org/libsdl/app/SDLActivity.java | 1709 | // We need to check if we're in relative mouse mode and get the axis offset rather than the x/y values | COMMENT |
| LOW⚡ | src/hal/windows/network_interface_windows.c | 460 | // Step 1: Initialize COM. | COMMENT |
| LOW⚡ | src/hal/windows/network_interface_windows.c | 468 | // Step 2: Set general COM security levels | COMMENT |
| LOW⚡ | src/hal/windows/network_interface_windows.c | 487 | // Step 3: Obtain the initial locator to WMI | COMMENT |
| LOW⚡ | src/hal/windows/network_interface_windows.c | 496 | // Step 4: Connect to the local root\cimv2 namespace and obtain pointer pSvc to make IWbemServices calls. | COMMENT |
| LOW⚡ | src/hal/windows/network_interface_windows.c | 506 | // Step 5: Set security levels for the proxy | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | 3rd/gtest/googletest/test/gtest_test_utils.py | 264 | # them with the passed 'env'. When 'env' is None, we simply use the | COMMENT |
| MEDIUM | 3rd/gtest/googletest/include/gtest/gtest-death-test.h | 146 | // This implementation is *not* meant to be as highly tuned or robust | COMMENT |
| MEDIUM | 3rd/gtest/googletest/include/gtest/gtest-death-test.h | 218 | // In practice, this can be used to test functions that utilize the | COMMENT |
| MEDIUM | …ject/app/src/main/java/org/libsdl/app/SDLActivity.java | 1710 | // if we are. We'll leverage our existing mouse motion listener | COMMENT |
| MEDIUM | 3rd/SDL/build-scripts/ltmain.sh | 397 | # Sed substitution that helps us do robust quoting. It backslashifies | COMMENT |
| MEDIUM | 3rd/SDL/build-scripts/ltmain.sh | 3852 | # Sed substitution that helps us do robust quoting. It backslashifies | COMMENT |
| MEDIUM | 3rd/SDL/build-scripts/ltmain.sh | 7678 | # This code stresses the "libraries are programs" paradigm to its | COMMENT |
| LOW | 3rd/SDL/src/core/winrt/SDL_winrtapp_common.cpp | 48 | #if NTDDI_VERSION >= NTDDI_WIN10 /* !!! FIXME: I have no idea if this is the right test. This is a UWP API, I think. Ol | COMMENT |
| LOW | 3rd/SDL/src/hidapi/testgui/copy_to_bundle.sh | 83 | # necessary. If ../libtool not available, just use cp to do the copy, but | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | awtk_config_common.py | 22 | except Exception as e: | CODE |
| MEDIUM | awtk_config_common.py | 18 | def is_raspberrypi(): | CODE |
| MEDIUM | 3rd/mbedtls/scripts/abi_check.py | 406 | print("Error: {} is not a directory".format(abi_args.report_dir)) | CODE |
| LOW | 3rd/mbedtls/scripts/abi_check.py | 438 | except Exception: # pylint: disable=broad-except | CODE |
| MEDIUM | 3rd/mbedtls/scripts/abi_check.py | 337 | def run_main(): | CODE |
| LOW | 3rd/gtest/googletest/scripts/pump.py | 601 | except Exception: | CODE |
| MEDIUM | 3rd/gtest/googletest/scripts/pump.py | 622 | def EvalExp(self, exp): | CODE |
| MEDIUM | 3rd/gtest/googlemock/scripts/generator/cpp/utils.py | 40 | print('Error reading %s: %s' % (filename, sys.exc_info()[1])) | CODE |
| MEDIUM | scripts/update_res_common.py | 1742 | print('An error occurred: {}'.format(e)) | CODE |
| LOW | scripts/update_copyright_date.py | 29 | except Exception as e: | CODE |
| LOW | scripts/update_copyright_date.py | 32 | except Exception as e: | CODE |
| LOW | scripts/update_copyright_date.py | 66 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | design/default/ui/kb_int_floating.xml | 2 | <column style="placeholder" x="0" y="0" w="100%" h="30"> | CODE |
| LOW | design/default/ui/kb_foo.xml | 2 | <column style="placeholder" x="0" y="0" w="100%" h="30"> | CODE |
| LOW | design/default/ui/kb_ufloat.xml | 2 | <column style="placeholder" x="0" y="0" w="100%" h="30"> | CODE |
| LOW | design/default/ui/kb_int.xml | 2 | <column style="placeholder" x="0" y="0" w="100%" h="30"> | CODE |
| LOW | design/default/ui/kb_phone.xml | 2 | <column style="placeholder" x="0" y="0" w="100%" h="30"> | CODE |
| LOW | design/default/ui/kb_ascii.xml | 2 | <column style="placeholder" x="0" y="0" w="100%" h="30"> | CODE |
| LOW | design/default/ui/kb_float.xml | 2 | <column style="placeholder" x="0" y="0" w="100%" h="30"> | CODE |
| LOW | design/default/ui/kb_uint.xml | 2 | <column style="placeholder" x="0" y="0" w="100%" h="30"> | CODE |
| LOW | design/default/ui/kb_hex.xml | 2 | <column style="placeholder" x="0" y="0" w="100%" h="30"> | CODE |
| LOW | design/default/ui/uiex/kb_foo.xml | 2 | <column style="placeholder" x="0" y="0" w="100%" h="30"> | CODE |
| LOW | design/default/ui/uiex/kb_default.xml | 221 | <column style="placeholder" x="0" y="0" w="100%" h="30"> | CODE |
| LOW | design/default/ui/uiex/kb_int.xml | 2 | <column style="placeholder" x="0" y="0" w="100%" h="30"> | CODE |
| LOW | design/default/ui/uiex/kb_ascii.xml | 2 | <column style="placeholder" x="0" y="0" w="100%" h="30"> | CODE |
| LOW | design/default/ui/uiex/kb_uint.xml | 2 | <column style="placeholder" x="0" y="0" w="100%" h="30"> | CODE |
| LOW | design/default/ui/uiex/kb_hex.xml | 2 | <column style="placeholder" x="0" y="0" w="100%" h="30"> | CODE |
| LOW | design/default/styles/keyboard.xml | 57 | <style name="placeholder"> | CODE |
| LOW | design/default/styles/uiex_keyboard.xml | 61 | <style name="placeholder"> | CODE |
| LOW | design/dark/styles/uiex_keyboard.xml | 61 | <style name="placeholder"> | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | 3rd/gtest/googletest/test/gtest_test_utils.py | 209 | Changes into a specified directory, if provided, and executes a command. Restores the old directory afterwards. | STRING |
| HIGH | 3rd/gtest/googletest/scripts/upload.py | 173 | Uses ClientLogin to authenticate the user, returning an auth token. Args: email: The user's email address | STRING |
| HIGH | 3rd/gtest/googlemock/scripts/upload.py | 173 | Uses ClientLogin to authenticate the user, returning an auth token. Args: email: The user's email address | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | 3rd/gtest/googletest/scripts/gen_gtest_pred_impl.py | 537 | } else if (!expected_to_finish_ && finished_) { | CODE |
| HIGH | scripts/update_res_common.py | 1337 | result += ' return_value_if_fail(theme != NULL && am != NULL, RET_BAD_PARAMS);\n\n' | CODE |
| HIGH | scripts/update_res_common.py | 1360 | result += ' return_value_if_fail(am != NULL && name != NULL, RET_BAD_PARAMS);\n' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | 3rd/gtest/googletest/test/gtest_color_test.py | 0 | sets the env variable to 'value'; unsets it when 'value' is none. | STRING |
| HIGH | 3rd/gtest/googletest/test/gtest_filter_unittest.py | 0 | sets the env variable to 'value'; unsets it when 'value' is none. | STRING |
| HIGH | 3rd/gtest/googletest/test/gtest_env_var_test.py | 0 | sets the env variable to 'value'; unsets it when 'value' is none. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/hal/windows/network_interface_windows.c | 460 | // Step 1: Initialize COM. | COMMENT |
| LOW⚡ | src/hal/windows/network_interface_windows.c | 468 | // Step 2: Set general COM security levels | COMMENT |
| LOW⚡ | src/hal/windows/network_interface_windows.c | 487 | // Step 3: Obtain the initial locator to WMI | COMMENT |
| LOW⚡ | src/hal/windows/network_interface_windows.c | 496 | // Step 4: Connect to the local root\cimv2 namespace and obtain pointer pSvc to make IWbemServices calls. | COMMENT |
| LOW⚡ | src/hal/windows/network_interface_windows.c | 506 | // Step 5: Set security levels for the proxy | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | 3rd/nanovg_plus/gl/nanovg_plus_gl.c | 105 | // don't forget to also update the fragment shader source! | COMMENT |
| LOW | 3rd/mbedtls/include/mbedtls/blowfish.h | 40 | #define MBEDTLS_BLOWFISH_ROUNDS 16 /**< Rounds to use. When increasing this value, make sure to extend the | COMMENT |
| LOW | 3rd/SDL/src/render/direct3d11/SDL_render_d3d11.c | 543 | * Don't forget to declare your application's minimum required feature level in its | COMMENT |
| MEDIUM | 3rd/sokol/sokol_fetch.h | 733 | Here's a simple example of sending 4 requests without upfront buffer | CODE |
| LOW | 3rd/nanovg/gl/nanovg_gl.h | 207 | // don't forget to also update the fragment shader source! | COMMENT |
| LOW | src/charset/impl/wchar.h | 267 | * If you add some encoding don't forget to check | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | 3rd/gtest/googletest/test/gtest_filter_unittest.py | 68 | # Check if this platform can unset environment variables in child processes. | COMMENT |
| LOW | 3rd/SDL/build-scripts/ltmain.sh | 2593 | # Check if any of the arguments is a wrapper script. | COMMENT |
| LOW | 3rd/SDL/build-scripts/ltmain.sh | 8379 | # Loop over the list of objects to be linked. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | 3rd/gtest/googletest/test/gtest_output_test.py | 198 | CODE | |
| LOW | 3rd/gtest/googlemock/test/gmock_output_test.py | 73 | CODE |