AI Slop Code Risk Monitor

zlgopen/awtk

SlopCodeMonitor badge for zlgopen/awtk Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

AWTK = Toolkit AnyWhere(a cross-platform embedded GUI)

2.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

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.

2.5
Adjusted Signal
2.5
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
3.3K
Stars
C
Language
1.5M
Lines of Code
4.7K
Files
3.7K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 9.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 2.6/100 · LOW

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

PR Review Velocity Impact 13.7/100 · LOW

Which changes need focused human review? 3686 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 21MEDIUM 309LOW 3356

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 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.

Over-Commented Block3202 hits · 2754 pts
SeverityFileLineSnippetContext
LOWtools/api_doc_lint/ctags/e_riscos.h21#define DEFAULT_FILE_FORMAT 2COMMENT
LOWtools/api_doc_lint/ctags/e_riscos.h41#define HAVE_STRNICMP 1COMMENT
LOWtools/api_doc_lint/ctags/c.c21#include "debug.h"COMMENT
LOWtools/api_doc_lint/ctags/debug.h21#endifCOMMENT
LOWtools/api_doc_lint/ctags/e_amiga.h21#define HAVE_STRICMP 1COMMENT
LOWtools/api_doc_lint/ctags/e_mac.h21#define INTERNAL_SORT 1COMMENT
LOWtools/api_doc_lint/ctags/e_mac.h41#include <fcntl.h>COMMENT
LOWtools/api_doc_lint/ctags/routines.h21*/COMMENT
LOWtools/api_doc_lint/ctags/general.h21#elif defined (DJGPP)COMMENT
LOWtools/api_doc_lint/ctags/general.h41* MACROSCOMMENT
LOWtools/api_doc_lint/ctags/general.h61/*COMMENT
LOWtools/api_doc_lint/ctags/general.h81# define filepos_t fpos_tCOMMENT
LOWtools/api_doc_lint/ctags/vstring.h21#endifCOMMENT
LOWtools/api_doc_lint/ctags/e_os2.h21#define HAVE_SYS_TYPES_H 1COMMENT
LOWtools/api_doc_lint/ctags/routines.c21#endifCOMMENT
LOWtools/api_doc_lint/ctags/routines.c41# if defined (HAVE_TYPES_H)COMMENT
LOWtools/api_doc_lint/ctags/routines.c61#endifCOMMENT
LOWtools/api_doc_lint/ctags/routines.c81#ifndef S_ISREGCOMMENT
LOWtools/api_doc_lint/ctags/routines.c101# define S_ISDIR(mode) FALSE /* assume no soft links */COMMENT
LOWtools/api_doc_lint/ctags/routines.c121#endifCOMMENT
LOWtools/api_doc_lint/ctags/routines.c141# elif defined (DJGPP)COMMENT
LOWtools/api_doc_lint/ctags/lregex.c21#include <string.h>COMMENT
LOWtools/api_doc_lint/ctags/e_msoft.h21#define MSDOS_STYLE_PATH 1COMMENT
LOWtools/api_doc_lint/ctags/e_msoft.h41#ifdef __BORLANDC__COMMENT
LOWtools/api_doc_lint/ctags/e_msoft.h61# if defined (__MSVCRT__) && __MINGW32_MAJOR_VERSION == 1 && __MINGW32_MINOR_VERSION < 2COMMENT
LOWtools/api_doc_lint/ctags/e_qdos.h21#define STDC_HEADERS 1COMMENT
LOWtools/api_doc_lint/ctags/e_djgpp.h21#define HAVE_STDLIB_H 1COMMENT
LOWtools/api_doc_lint/ctags/e_djgpp.h41#define HAVE_STRNCASECMP 1COMMENT
LOWtools/api_doc_lint/ctags/read.h21* INCLUDE FILESCOMMENT
LOWtools/api_doc_lint/ctags/e_vms.h21# define HAVE_FCNTL_H 1COMMENT
LOWtools/api_doc_lint/ctags/entry.c21#if defined (HAVE_SYS_TYPES_H)COMMENT
LOWtools/api_doc_lint/ctags/entry.c41#include "debug.h"COMMENT
LOWtools/api_doc_lint/ctags/options.c21COMMENT
LOWtools/api_doc_lint/ctags/options.c41#ifndef ETAGSCOMMENT
LOWtools/api_doc_lint/ctags/options.c301 "win32",COMMENT
LOWtools/api_doc_lint/ctags/options.c321#endifCOMMENT
LOWtools/api_doc_lint/ctags/libmain.c21/*COMMENT
LOWtools/api_doc_lint/ctags/libmain.c41#endifCOMMENT
LOWtools/api_doc_lint/ctags/libmain.c61# include <sys/types.h> /* required by dirent.h */COMMENT
LOWtools/image_dither/image_dither.c21COMMENT
LOWtools/font_gen/font_gen.c21COMMENT
LOWtools/font_gen/font_gen_tools.c21#include "tkc/mem.h"COMMENT
LOWtools/common/utils.c21COMMENT
LOWtools/preview_ui/preview_ui.c21COMMENT
LOWtools/data/ArabicShaping.txt1# ArabicShaping-17.0.0.txtCOMMENT
LOWtools/data/ArabicShaping.txt21# Script Section Table(s)COMMENT
LOWtools/data/ArabicShaping.txt41# Field 1: gives a short schematic name for that character.COMMENT
LOWtools/data/ArabicShaping.txt61# interpretation of joining types in vertical layout.COMMENT
LOWtools/data/ArabicShaping.txt81#COMMENT
LOWtools/data/ArabicShaping.txt101# assigns jg=No_Joining_Group to all the singletons.COMMENT
LOWwin32_res/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOWtests/fscript_run.cpp1#include "tkc/fs.h"COMMENT
LOWtests/format_xml.cpp1#include "conf_io/conf_xml.h"COMMENT
LOWtests/assert_catcher.hpp1#include "gtest/gtest.h"COMMENT
LOW3rd/cjson/cJSON.h61#endifCOMMENT
LOW3rd/cjson/cJSON.h81/* project version */COMMENT
LOW3rd/cjson/cJSON_Utils.h41/* Utility for generating patch array entries. */COMMENT
LOW3rd/cjson/cJSON.c21*/COMMENT
LOW3rd/cjson/cJSON.c41#include <stdio.h>COMMENT
LOW3rd/cjson/cJSON_Utils.c21*/COMMENT
3142 more matches not shown…
Decorative Section Separators274 hits · 655 pts
SeverityFileLineSnippetContext
MEDIUM…SheenBidi-3.0.0/Tools/Unicode/PropertyValueAliases.txt59# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt2542# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt2550# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt2558# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt2566# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt2574# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt2582# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt2590# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt2598# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt2606# ================================================COMMENT
MEDIUM3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt10# ================================================COMMENT
MEDIUM3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt126# ================================================COMMENT
MEDIUM3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt1235# ================================================COMMENT
MEDIUM3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt1349# ================================================COMMENT
MEDIUM3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt1370# ================================================COMMENT
MEDIUM3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt1387# ================================================COMMENT
MEDIUM3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt1426# ================================================COMMENT
MEDIUM3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt1442# ================================================COMMENT
MEDIUM3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt1462# ================================================COMMENT
MEDIUM3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt1474# ================================================COMMENT
MEDIUM3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt1484# ================================================COMMENT
MEDIUM3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt1498# ================================================COMMENT
MEDIUM3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt2027# ================================================COMMENT
MEDIUM3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt2071# ================================================COMMENT
MEDIUM3rd/SheenBidi-3.0.0/Tools/Unicode/DerivedBidiClass.txt2446# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1487# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1496# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1504# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1618# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1627# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1635# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1644# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1650# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1691# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1700# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1708# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1715# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1723# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1759# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1766# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1772# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1779# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1790# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1796# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1806# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1916# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1925# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1933# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt1940# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt2016# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt2025# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt2034# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt2040# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt2046# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt2053# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt2145# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt2154# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt2164# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt2205# ================================================COMMENT
MEDIUM⚡3rd/SheenBidi-3.0.0/Tools/Unicode/Scripts.txt2213# ================================================COMMENT
214 more matches not shown…
Self-Referential Comments22 hits · 66 pts
SeverityFileLineSnippetContext
MEDIUM3rd/mbedtls/include/psa/crypto.h938 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUM3rd/mbedtls/include/psa/crypto.h1312 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUM3rd/mbedtls/include/psa/crypto.h1373 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUM3rd/mbedtls/include/psa/crypto.h1732 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUM3rd/mbedtls/include/psa/crypto.h1796 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUM3rd/mbedtls/include/psa/crypto.h2239 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUM3rd/mbedtls/include/psa/crypto.h2309 * -# Initialize the operation object with one of the methods described in theCOMMENT
MEDIUM3rd/gtest/googletest/scripts/upload.py380 # Create an empty cookie file with mode 600COMMENT
MEDIUM3rd/gtest/googlemock/scripts/upload.py380 # Create an empty cookie file with mode 600COMMENT
MEDIUM…/gtest/googlemock/scripts/generator/cpp/gmock_class.py121 # Create the mock method definition.COMMENT
MEDIUM3rd/gtest/googlemock/scripts/generator/cpp/ast.py1570 # Create an internal token that denotes when the namespace is complete.COMMENT
MEDIUM3rd/SDL/build-scripts/ltmain.sh1229# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUM3rd/SDL/build-scripts/ltmain.sh1240# This function implements the same check as func_lalib_p withoutCOMMENT
MEDIUM3rd/SDL/build-scripts/ltmain.sh1263# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUM3rd/SDL/build-scripts/ltmain.sh1272# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUM3rd/SDL/build-scripts/ltmain.sh1297# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUM3rd/SDL/build-scripts/ltmain.sh1433# Create a libtool object file (analogous to a ".la" file),COMMENT
MEDIUM3rd/SDL/build-scripts/ltmain.sh6028 # Create the object directory.COMMENT
MEDIUM3rd/SDL/build-scripts/ltmain.sh8653 # Create the old-style object.COMMENT
MEDIUM3rd/SDL/build-scripts/ltmain.sh8673 # Create an invalid libtool object if no PIC, so that we don'tCOMMENT
MEDIUM3rd/SDL/build-scripts/androidbuildlibs.sh26# Create the build directoriesCOMMENT
MEDIUM3rd/SDL/build-scripts/androidbuild.sh75# Create an inherited ActivityCOMMENT
Hyper-Verbose Identifiers44 hits · 46 pts
SeverityFileLineSnippetContext
LOWawtk_config_common.py335def scons_db_check_and_remove():CODE
LOWtools/gen_awtk_arabic_unicode_inc.py72def parse_unicode_data_bidi_explicit_bn(ud_path: str) -> list[tuple[int, int]]:CODE
LOW3rd/harfbuzz/hb-unicode.h354typedef hb_unicode_combining_class_t (*hb_unicode_combining_class_func_t) (hb_unicode_funcs_t *ufuncs,CODE
LOW3rd/harfbuzz/hb-unicode.h372typedef hb_unicode_general_category_t (*hb_unicode_general_category_func_t) (hb_unicode_funcs_t *ufuncs,CODE
LOW3rd/mbedtls/scripts/abi_check.py85 def check_abi_tools_are_installed():CODE
LOW3rd/mbedtls/scripts/abi_check.py90 def _get_clean_worktree_for_git_revision(self, version):CODE
LOW3rd/mbedtls/scripts/abi_check.py188 def _get_abi_dumps_from_shared_libraries(self, version):CODE
LOW3rd/mbedtls/scripts/abi_check.py229 def _remove_children_with_tag(self, parent, tag):CODE
LOW3rd/mbedtls/scripts/abi_check.py237 def _remove_extra_detail_from_report(self, report_root):CODE
LOW3rd/mbedtls/scripts/abi_check.py304 def get_abi_compatibility_report(self):CODE
LOW3rd/mbedtls/scripts/generate_psa_constants.py340 def _make_key_type_from_curve_code(builder, tester):STRING
LOW3rd/mbedtls/scripts/generate_psa_constants.py346 def _make_key_type_from_group_code(builder, tester):STRING
LOW3rd/mbedtls/scripts/generate_psa_constants.py361 def _make_hash_algorithm_cases(self):STRING
LOW3rd/mbedtls/scripts/generate_psa_constants.py374 def _make_algorithm_from_hash_code(builder, tester):STRING
LOW3rd/mbedtls/scripts/mbedtls_dev/c_build_helper.py52def generate_c_printf_expressions(c_file, cast_to, printf_format, expressions):CODE
LOWscripts/compile_config.py150 def find_compile_cmd_info_by_name(name) :CODE
LOWscripts/mobile_project_helper.py220def files_replace_with_config(files, app_root_dst, config):CODE
LOWscripts/update_res_app.py18def use_theme_config_from_res_config(res_config_path, config = None):CODE
LOWscripts/update_res_common.py138def set_is_excluded_file_handler(handler):CODE
LOWscripts/update_res_common.py168def set_enable_generate_inc_res(enable):CODE
LOWscripts/update_res_common.py173def set_enable_generate_inc_bitmap(enable):CODE
LOWscripts/update_res_common.py233def get_imagegen_options_of_default_theme():CODE
LOWscripts/update_res_common.py248def is_packaged_of_default_theme():CODE
LOWscripts/update_res_common.py1226def gen_assets_c_of_one_theme(with_multi_theme = True):CODE
LOWscripts/update_res_common.py1308def gen_asset_c_entry_with_multi_theme():CODE
LOWscripts/update_res_common.py1605def get_longsopt_name_by_tuple(tuple) :CODE
LOWscripts/update_res_common.py1608def get_shortopt_name_by_tuple(tuple) :CODE
LOWscripts/update_res_common.py1734def get_res_names_from_sources_file(sources_file):CODE
LOWscripts/app_helper_base.py115 def set_export_tkc_config_h_path(self, path):CODE
LOWscripts/app_helper_base.py199 def check_and_remove_scons_db(self, root):CODE
LOWscripts/app_helper_base.py235 def get_compile_helper_by_script(self, ARGUMENTS, script_path, script_argv) :CODE
LOW⚡scripts/compile_config_test.py8 def test_agge_overrides_nanovg_plus(self):CODE
LOW⚡scripts/compile_config_test.py11 def test_agge_keeps_explicit_nanovg(self):CODE
LOW⚡scripts/compile_config_test.py17 def test_gpu_backend_keeps_nanovg_plus(self):CODE
LOWscripts/update_res.py12def is_demouiold_excluded_file(filename):CODE
LOWscripts/res_config.py86 def get_res_type_info_by_const_and_load_from(self, assets, inc_res, inc_bitmap, inc_bitmap_font) :CODE
LOW⚡scripts/res_config.py220 def set_res_actived_bottom_system_bar(self, bottom_system_bar='', theme_name = 'default') :CODE
LOW⚡scripts/res_config.py223 def get_res_actived_bottom_system_bar(self, theme_name = 'default') :CODE
LOW⚡scripts/res_config.py226 def set_res_actived_system_bar(self, system_bar = '', theme_name = 'default') :CODE
LOW⚡scripts/res_config.py229 def get_res_actived_system_bar(self, theme_name = 'default') :CODE
LOWscripts/res_config.py256 def set_res_lcd_fast_rotation_mode(self, lcd_fast_rotation_mode = False):CODE
LOWscripts/res_config.py259 def get_res_lcd_fast_rotation_mode(self):CODE
LOWscripts/update_res_hb.py355def load_ttf_and_text_from_json(json_path:str):CODE
LOW.github/workflows/fail_on_error.py7def codeql_sarif_contain_error(filename):CODE
Empty Error Handlers8 hits · 40 pts
SeverityFileLineSnippetContext
HIGH3rd/mbedtls/scripts/mbedtls_dev/c_build_helper.py31except OSError:CODE
HIGH3rd/gtest/googletest/test/gtest_filter_unittest.py49except ImportError:CODE
HIGH3rd/gtest/googletest/test/gtest_xml_outfiles_test.py81except os.error:CODE
HIGH3rd/gtest/googletest/test/gtest_xml_outfiles_test.py85except os.error:CODE
HIGH3rd/gtest/googletest/test/gtest_xml_outfiles_test.py89except os.error:CODE
HIGH3rd/gtest/googletest/scripts/fuse_gtest_files.py65except ImportError:CODE
HIGH…/gtest/googlemock/scripts/generator/cpp/gmock_class.py200except KeyError:CODE
HIGH3rd/gtest/googlemock/scripts/generator/cpp/ast.py1696except:CODE
Deep Nesting30 hits · 30 pts
SeverityFileLineSnippetContext
LOWtools/gen_awtk_arabic_unicode_inc.py72CODE
LOW3rd/mbedtls/scripts/config.py439CODE
LOW3rd/mbedtls/scripts/generate_psa_constants.py237CODE
LOW3rd/gtest/googletest/test/gtest_xml_test_utils.py117CODE
LOW3rd/gtest/googletest/test/gtest_xml_test_utils.py150CODE
LOW3rd/gtest/googletest/scripts/fuse_gtest_files.py178CODE
LOW3rd/gtest/googletest/scripts/fuse_gtest_files.py183CODE
LOW…/gtest/googlemock/scripts/generator/cpp/gmock_class.py51CODE
LOW…/gtest/googlemock/scripts/generator/cpp/gmock_class.py126CODE
LOW3rd/gtest/googlemock/scripts/generator/cpp/ast.py1711CODE
LOW3rd/gtest/googlemock/scripts/generator/cpp/ast.py337CODE
LOW3rd/gtest/googlemock/scripts/generator/cpp/ast.py463CODE
LOW3rd/gtest/googlemock/scripts/generator/cpp/ast.py477CODE
LOW3rd/gtest/googlemock/scripts/generator/cpp/ast.py536CODE
LOW3rd/gtest/googlemock/scripts/generator/cpp/ast.py591CODE
LOW3rd/gtest/googlemock/scripts/generator/cpp/ast.py738CODE
LOW3rd/gtest/googlemock/scripts/generator/cpp/ast.py880CODE
LOW3rd/gtest/googlemock/scripts/generator/cpp/ast.py959CODE
LOW3rd/gtest/googlemock/scripts/generator/cpp/ast.py1395CODE
LOW3rd/gtest/googlemock/scripts/generator/cpp/ast.py1422CODE
LOW3rd/gtest/googlemock/scripts/generator/cpp/tokenize.py119CODE
LOWscripts/mobile_project_helper.py56CODE
LOWscripts/app_helper_base.py376CODE
LOWscripts/app_helper_base.py583CODE
LOWscripts/assets_zip.py13CODE
LOWscripts/release_common.py101CODE
LOWscripts/project_scripts/release.py47CODE
LOWscripts/project_scripts/app_helper.py23CODE
LOWscripts/project_scripts/app_helper.py57CODE
LOW.github/workflows/fail_on_error.py7CODE
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGH3rd/mbedtls/library/error.c226 /* Begin Auto-Generated Code. */COMMENT
HIGH3rd/mbedtls/library/error.c569 /* End Auto-Generated Code. */COMMENT
HIGH3rd/mbedtls/library/error.c590 /* Begin Auto-Generated Code. */COMMENT
HIGH3rd/mbedtls/library/error.c887 /* End Auto-Generated Code. */COMMENT
Unused Imports25 hits · 25 pts
SeverityFileLineSnippetContext
LOWawtk_config.py10CODE
LOWawtk_config.py11CODE
LOWawtk_config.py11CODE
LOWawtk_config.py11CODE
LOWawtk_config.py11CODE
LOWawtk_config.py11CODE
LOWawtk_config.py12CODE
LOWawtk_config.py12CODE
LOWtools/gen_awtk_arabic_unicode_inc.py11CODE
LOWtools/fdb/awplc.py1CODE
LOWtools/fdb/awplc.py2CODE
LOWstaticcheck/cppcheck/run.py1CODE
LOWstaticcheck/common/awtk_files.py2CODE
LOWstaticcheck/common/awtk_files.py4CODE
LOWstaticcheck/infer/run.py1CODE
LOW3rd/gtest/googletest/test/gtest_xml_output_unittest.py41CODE
LOW…est/googletest/test/gtest_break_on_failure_unittest.py45CODE
LOW…d/gtest/googletest/test/gtest_catch_exceptions_test.py40CODE
LOW3rd/gtest/googletest/test/gtest_xml_outfiles_test.py37CODE
LOW3rd/gtest/googletest/test/gtest_xml_test_utils.py37CODE
LOWscripts/app_helper_base.py4CODE
LOWscripts/app_helper_base.py6CODE
LOWscripts/release_common.py4CODE
LOWscripts/project_scripts/release.py7CODE
LOWscripts/project_scripts/app_helper.py4CODE
Verbosity Indicators13 hits · 23 pts
SeverityFileLineSnippetContext
LOWtools/api_doc_lint/ctags/get.c155* This section handles preprocessor directives. It strips out allCOMMENT
LOW3rd/cairo/cairo/cairo-scaled-font.c270 * The purpose of this function is to allow the user to set aCOMMENT
LOW3rd/cairo/cairo/cairo-region.c134 * The purpose of this function is to allow the user to set aCOMMENT
LOW3rd/cairo/cairo/cairo-error.c58 * The purpose of this function is to allow the user to set aCOMMENT
LOW3rd/cairo/cairo/cairo-surface.c177 * The purpose of this function is to allow the user to set aCOMMENT
LOW3rd/cairo/cairo/cairo-pattern.c174 * The purpose of this function is to allow the user to set aCOMMENT
LOW3rd/cairo/cairo/cairo.c391 * The purpose of this function is to allow the user to set aCOMMENT
LOW…ject/app/src/main/java/org/libsdl/app/SDLActivity.java1709 // We need to check if we're in relative mouse mode and get the axis offset rather than the x/y valuesCOMMENT
LOW⚡src/hal/windows/network_interface_windows.c460 // Step 1: Initialize COM.COMMENT
LOW⚡src/hal/windows/network_interface_windows.c468 // Step 2: Set general COM security levelsCOMMENT
LOW⚡src/hal/windows/network_interface_windows.c487 // Step 3: Obtain the initial locator to WMICOMMENT
LOW⚡src/hal/windows/network_interface_windows.c496 // 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.c506 // Step 5: Set security levels for the proxyCOMMENT
AI Slop Vocabulary9 hits · 22 pts
SeverityFileLineSnippetContext
LOW3rd/gtest/googletest/test/gtest_test_utils.py264 # them with the passed 'env'. When 'env' is None, we simply use theCOMMENT
MEDIUM3rd/gtest/googletest/include/gtest/gtest-death-test.h146// This implementation is *not* meant to be as highly tuned or robustCOMMENT
MEDIUM3rd/gtest/googletest/include/gtest/gtest-death-test.h218// In practice, this can be used to test functions that utilize theCOMMENT
MEDIUM…ject/app/src/main/java/org/libsdl/app/SDLActivity.java1710 // if we are. We'll leverage our existing mouse motion listenerCOMMENT
MEDIUM3rd/SDL/build-scripts/ltmain.sh397# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUM3rd/SDL/build-scripts/ltmain.sh3852# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUM3rd/SDL/build-scripts/ltmain.sh7678 # This code stresses the "libraries are programs" paradigm to itsCOMMENT
LOW3rd/SDL/src/core/winrt/SDL_winrtapp_common.cpp48#if NTDDI_VERSION >= NTDDI_WIN10 /* !!! FIXME: I have no idea if this is the right test. This is a UWP API, I think. OlCOMMENT
LOW3rd/SDL/src/hidapi/testgui/copy_to_bundle.sh83# necessary. If ../libtool not available, just use cp to do the copy, butCOMMENT
Excessive Try-Catch Wrapping12 hits · 18 pts
SeverityFileLineSnippetContext
LOWawtk_config_common.py22 except Exception as e:CODE
MEDIUMawtk_config_common.py18def is_raspberrypi():CODE
MEDIUM3rd/mbedtls/scripts/abi_check.py406 print("Error: {} is not a directory".format(abi_args.report_dir))CODE
LOW3rd/mbedtls/scripts/abi_check.py438 except Exception: # pylint: disable=broad-exceptCODE
MEDIUM3rd/mbedtls/scripts/abi_check.py337def run_main():CODE
LOW3rd/gtest/googletest/scripts/pump.py601 except Exception:CODE
MEDIUM3rd/gtest/googletest/scripts/pump.py622def EvalExp(self, exp):CODE
MEDIUM3rd/gtest/googlemock/scripts/generator/cpp/utils.py40 print('Error reading %s: %s' % (filename, sys.exc_info()[1]))CODE
MEDIUMscripts/update_res_common.py1742 print('An error occurred: {}'.format(e))CODE
LOWscripts/update_copyright_date.py29 except Exception as e:CODE
LOWscripts/update_copyright_date.py32 except Exception as e:CODE
LOWscripts/update_copyright_date.py66 except Exception as e:CODE
Fake / Example Data18 hits · 18 pts
SeverityFileLineSnippetContext
LOWdesign/default/ui/kb_int_floating.xml2 <column style="placeholder" x="0" y="0" w="100%" h="30">CODE
LOWdesign/default/ui/kb_foo.xml2 <column style="placeholder" x="0" y="0" w="100%" h="30">CODE
LOWdesign/default/ui/kb_ufloat.xml2 <column style="placeholder" x="0" y="0" w="100%" h="30">CODE
LOWdesign/default/ui/kb_int.xml2 <column style="placeholder" x="0" y="0" w="100%" h="30">CODE
LOWdesign/default/ui/kb_phone.xml2 <column style="placeholder" x="0" y="0" w="100%" h="30">CODE
LOWdesign/default/ui/kb_ascii.xml2 <column style="placeholder" x="0" y="0" w="100%" h="30">CODE
LOWdesign/default/ui/kb_float.xml2 <column style="placeholder" x="0" y="0" w="100%" h="30">CODE
LOWdesign/default/ui/kb_uint.xml2 <column style="placeholder" x="0" y="0" w="100%" h="30">CODE
LOWdesign/default/ui/kb_hex.xml2 <column style="placeholder" x="0" y="0" w="100%" h="30">CODE
LOWdesign/default/ui/uiex/kb_foo.xml2 <column style="placeholder" x="0" y="0" w="100%" h="30">CODE
LOWdesign/default/ui/uiex/kb_default.xml221 <column style="placeholder" x="0" y="0" w="100%" h="30">CODE
LOWdesign/default/ui/uiex/kb_int.xml2 <column style="placeholder" x="0" y="0" w="100%" h="30">CODE
LOWdesign/default/ui/uiex/kb_ascii.xml2 <column style="placeholder" x="0" y="0" w="100%" h="30">CODE
LOWdesign/default/ui/uiex/kb_uint.xml2 <column style="placeholder" x="0" y="0" w="100%" h="30">CODE
LOWdesign/default/ui/uiex/kb_hex.xml2 <column style="placeholder" x="0" y="0" w="100%" h="30">CODE
LOWdesign/default/styles/keyboard.xml57 <style name="placeholder">CODE
LOWdesign/default/styles/uiex_keyboard.xml61 <style name="placeholder">CODE
LOWdesign/dark/styles/uiex_keyboard.xml61 <style name="placeholder">CODE
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH3rd/gtest/googletest/test/gtest_test_utils.py209Changes into a specified directory, if provided, and executes a command. Restores the old directory afterwards. STRING
HIGH3rd/gtest/googletest/scripts/upload.py173Uses ClientLogin to authenticate the user, returning an auth token. Args: email: The user's email address STRING
HIGH3rd/gtest/googlemock/scripts/upload.py173Uses ClientLogin to authenticate the user, returning an auth token. Args: email: The user's email address STRING
Cross-Language Confusion3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH3rd/gtest/googletest/scripts/gen_gtest_pred_impl.py537 } else if (!expected_to_finish_ && finished_) {CODE
HIGHscripts/update_res_common.py1337 result += ' return_value_if_fail(theme != NULL && am != NULL, RET_BAD_PARAMS);\n\n'CODE
HIGHscripts/update_res_common.py1360 result += ' return_value_if_fail(am != NULL && name != NULL, RET_BAD_PARAMS);\n'CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH3rd/gtest/googletest/test/gtest_color_test.py0sets the env variable to 'value'; unsets it when 'value' is none.STRING
HIGH3rd/gtest/googletest/test/gtest_filter_unittest.py0sets the env variable to 'value'; unsets it when 'value' is none.STRING
HIGH3rd/gtest/googletest/test/gtest_env_var_test.py0sets the env variable to 'value'; unsets it when 'value' is none.STRING
Structural Annotation Overuse5 hits · 11 pts
SeverityFileLineSnippetContext
LOW⚡src/hal/windows/network_interface_windows.c460 // Step 1: Initialize COM.COMMENT
LOW⚡src/hal/windows/network_interface_windows.c468 // Step 2: Set general COM security levelsCOMMENT
LOW⚡src/hal/windows/network_interface_windows.c487 // Step 3: Obtain the initial locator to WMICOMMENT
LOW⚡src/hal/windows/network_interface_windows.c496 // 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.c506 // Step 5: Set security levels for the proxyCOMMENT
Slop Phrases6 hits · 10 pts
SeverityFileLineSnippetContext
LOW3rd/nanovg_plus/gl/nanovg_plus_gl.c105// don't forget to also update the fragment shader source!COMMENT
LOW3rd/mbedtls/include/mbedtls/blowfish.h40#define MBEDTLS_BLOWFISH_ROUNDS 16 /**< Rounds to use. When increasing this value, make sure to extend the COMMENT
LOW3rd/SDL/src/render/direct3d11/SDL_render_d3d11.c543 * Don't forget to declare your application's minimum required feature level in itsCOMMENT
MEDIUM3rd/sokol/sokol_fetch.h733 Here's a simple example of sending 4 requests without upfront bufferCODE
LOW3rd/nanovg/gl/nanovg_gl.h207// don't forget to also update the fragment shader source!COMMENT
LOWsrc/charset/impl/wchar.h267 * If you add some encoding don't forget to checkCOMMENT
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOW3rd/gtest/googletest/test/gtest_filter_unittest.py68# Check if this platform can unset environment variables in child processes.COMMENT
LOW3rd/SDL/build-scripts/ltmain.sh2593 # Check if any of the arguments is a wrapper script.COMMENT
LOW3rd/SDL/build-scripts/ltmain.sh8379 # Loop over the list of objects to be linked.COMMENT
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOW3rd/gtest/googletest/test/gtest_output_test.py198CODE
LOW3rd/gtest/googlemock/test/gmock_output_test.py73CODE