AI Slop Code RIsk Monitor

RT-Thread/rt-thread

RT-Thread is an open source IoT Real-Time Operating System (RTOS). https://rt-thread.github.io/rt-thread/

9.4 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for RT-Thread/rt-thread, a C project with 12,269 GitHub stars. SynthScan examined 10,831,599 lines of code across 25205 source files, recording 136600 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 9.4 (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.

9.4
Adjusted Signal
9.4
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
12.3K
Stars
C
Language
10.8M
Lines of Code
25.2K
Files
136.6K
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 37.5/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 47.0/100 · MEDIUM

Which changes need focused human review? 136600 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 6HIGH 142MEDIUM 120LOW 136332

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 136600 distinct pattern matches across 22 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 Block135826 hits · 100372 pts
SeverityFileLineSnippetContext
LOWdocumentation/3.kernel/thread/thread.md141Each thread is one execution scenario. Error codes are closely related to the execution environment, so each thread is eCOMMENT
LOWdocumentation/6.components/device-driver/pin/pin.md301 * The routine exports the pin_beep_sample command to the control terminalCOMMENT
LOW…ntation/6.components/device-driver/framework/device.md181COMMENT
LOWdocumentation/6.components/device-driver/ofw/dtc.md61#define MMIO_BASE 0x10000COMMENT
LOWdocumentation/6.components/device-driver/uart/uart.md181COMMENT
LOWdocumentation/6.components/device-driver/uart/uart.md201#define DATA_BITS_7 7COMMENT
LOWtools/package.py1#COMMENT
LOWtools/options.py1#COMMENT
LOWtools/llvm_arm.py1#COMMENT
LOWtools/building.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/mkromfs.py161 @propertyCOMMENT
LOWtools/sconsui.py1#! /usr/bin/env pythonCOMMENT
LOWtools/cscope.py1#COMMENT
LOWtools/preprocessor.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/mkdist.py1#COMMENT
LOWtools/compile_commands.py1#COMMENT
LOWtools/win32spawn.py1#COMMENT
LOWtools/wizard.py1#! /usr/bin/env pythonCOMMENT
LOWtools/utils.py1#COMMENT
LOWtools/gcc.py1#COMMENT
LOWtools/targets/vs2012.py1#COMMENT
LOWtools/targets/vsc.py1#COMMENT
LOWtools/targets/codelite.py1#COMMENT
LOWtools/targets/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWtools/targets/eclipse.py1#COMMENT
LOWtools/targets/codeblocks.py1#COMMENT
LOWtools/targets/cdk.py1#COMMENT
LOWtools/targets/vs.py1#COMMENT
LOWtools/targets/makefile.py1#COMMENT
LOWtools/targets/keil.py1#COMMENT
LOWtools/targets/iar.py1#COMMENT
LOWtools/targets/ua.py1#COMMENT
LOWtools/ci/install.sh1#!/bin/bashCOMMENT
LOWtools/ci/bsp_detail.py1# COMMENT
LOWtools/ci/bsp_detail.py181 except Exception as e:COMMENT
LOWtools/release/stm32_update.py1# Copyright (c) 2006-2022, RT-Thread Development TeamCOMMENT
LOWtools/docs/构建系统技术原理.md241#ifndef RT_CONFIG_H__COMMENT
LOWtools/testcases/test_preprocessor.py1#!/usr/bin/env python3COMMENT
LOWinclude/rttypes.h21#include <sys/errno.h>COMMENT
LOWinclude/rttypes.h181struct rt_spinlockCOMMENT
LOWinclude/rtdef.h101#define RT_UINT16_MAX UINT16_MAX /**< Maximum number of UINT16 */COMMENT
LOWinclude/rtdef.h221#define RT_MM_PAGE_SIZE 4096COMMENT
LOWinclude/rtdef.h521/**@{*/COMMENT
LOWinclude/rtdef.h541#define RT_TIMER_CTRL_GET_REMAIN_TIME 0x5 /**< get the remaining hang time */COMMENT
LOWinclude/rtdef.h621#define RT_SIGNAL_COMMON_WAKEUP_MASK 0x02COMMENT
LOWinclude/rtdef.h661#ifdef RT_USING_SMPCOMMENT
LOWinclude/rtdef.h1281 * device flags definitionsCOMMENT
LOWinclude/rtdef.h1301#define RT_DEVICE_OFLAG_CLOSE 0x000 /**< device is closed */COMMENT
LOWinclude/rtdbg.h41#define DBG_ENABLECOMMENT
LOWinclude/rtdbg.h61/* DEBUG level */COMMENT
LOWinclude/rtdbg.h121 _DBG_LOG_X_END; \COMMENT
LOWinclude/rtdbg.h141#define LOG_I(...)COMMENT
LOWinclude/rthw.h21#define __RT_HW_H__COMMENT
LOWinclude/rthw.h241#ifndef RT_USING_CACHECOMMENT
LOWinclude/rtcompiler.h21#elseCOMMENT
LOWinclude/rtcompiler.h41#define __RT_STRINGIFY(x...) #xCOMMENT
LOWinclude/rtcompiler.h61#define rt_always_inline rt_inlineCOMMENT
LOWinclude/rtcompiler.h81#elseCOMMENT
LOWinclude/rtcompiler.h101#define rt_packed(declare) declare __packed__COMMENT
LOWinclude/rtm.h41COMMENT
135766 more matches not shown…
Synthetic Comment Markers109 hits · 829 pts
SeverityFileLineSnippetContext
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/i2c2_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/mlb_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/gpio1_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGH…nxp/imx/imx6sx/cortex-a9/board/flexcan2_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/mmdc_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/gpio6_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/esai_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/eim_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/epit_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/sjc_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/ecspi_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/gpmi_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/i2c3_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGH…p/nxp/imx/imx6sx/cortex-a9/board/audmux_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/gpio2_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/gpio5_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGH…nxp/imx/imx6sx/cortex-a9/board/flexcan1_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/dcic_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/gpio4_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/ccm_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/spdif_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/usdhc_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/wdog_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/gpio_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/uart_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGH…/nxp/imx/imx6sx/cortex-a9/board/flexcan_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGH…p/nxp/imx/imx6sx/cortex-a9/board/usdhc1_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/wdog1_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/i2c_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/ipu_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/enet_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/uart2_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/uart3_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/pwm4_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/pwm_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/ipu1_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/uart4_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6sx/cortex-a9/board/pwm3_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGH…p/nxp/imx/imx6sx/cortex-a9/board/ecspi1_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGH…p/nxp/imx/imx6sx/cortex-a9/board/usdhc3_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6ul/drivers/iomux/iomux_config.h21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6ul/drivers/iomux/uart_iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/nxp/imx/imx6ul/drivers/iomux/iomux_config.c21 * This code was generated by a tool.COMMENT
HIGHbsp/tm4c129x/libraries/driverlib/comp.c179 // Set the voltage reference voltage as requested.COMMENT
HIGHbsp/tm4c129x/libraries/driverlib/onewire.c597 // Disable the DMA features as requested.COMMENT
HIGHbsp/tm4c129x/libraries/driverlib/sysctl.c1202 // Enable peripheral clock gating as requested.COMMENT
HIGHbsp/tm4c129x/libraries/driverlib/sysctl.c1216 // Enable peripheral clock gating as requested.COMMENT
HIGHbsp/tm4c129x/libraries/driverlib/gpio.c498//! pad is configured as requested, but the only real effect on the inputCOMMENT
HIGHbsp/tm4c129x/libraries/driverlib/tiva_timer.c443 // Set the output levels as requested.COMMENT
HIGHbsp/tm4c129x/libraries/driverlib/tiva_timer.c506 // Set the trigger output as requested.COMMENT
HIGHbsp/tm4c129x/libraries/driverlib/tiva_timer.c507 // Set the ADC trigger output as requested.COMMENT
HIGHbsp/tm4c129x/libraries/driverlib/uart.c1003 // Set the flow control mode as requested.COMMENT
HIGHbsp/tm4c129x/libraries/driverlib/uart.c1359 // Set the break condition as requested.COMMENT
HIGH…432e401y-LaunchPad/libraries/msp432e4/driverlib/comp.c176 // Set the voltage reference voltage as requested.COMMENT
HIGH…e401y-LaunchPad/libraries/msp432e4/driverlib/onewire.c586 // Disable the DMA features as requested.COMMENT
HIGH…32e401y-LaunchPad/libraries/msp432e4/driverlib/timer.c387 // Set the output levels as requested.COMMENT
HIGH…32e401y-LaunchPad/libraries/msp432e4/driverlib/timer.c446 // Set the trigger output as requested.COMMENT
HIGH…32e401y-LaunchPad/libraries/msp432e4/driverlib/timer.c447 // Set the ADC trigger output as requested.COMMENT
HIGH…2e401y-LaunchPad/libraries/msp432e4/driverlib/sysctl.c1111 // Enable peripheral clock gating as requested.COMMENT
49 more matches not shown…
Self-Referential Comments55 hits · 165 pts
SeverityFileLineSnippetContext
MEDIUMtools/package.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/options.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/llvm_arm.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/building.py4# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/sconsui.py6# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/cscope.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/preprocessor.py4# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/mkdist.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/compile_commands.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/win32spawn.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/wizard.py6# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/utils.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/gcc.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/env_package.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/targets/vs2012.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/targets/vsc.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/targets/codelite.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/targets/__init__.py4# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/targets/codeblocks.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/targets/cdk.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/targets/vs.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/targets/makefile.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/targets/keil.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/targets/iar.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/targets/ua.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUMtools/testcases/test_preprocessor.py5# This file is part of RT-Thread RTOSCOMMENT
MEDIUMbsp/mm32/tools/upgrade.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUM…samd21/sam_d2x_asflib/common/services/spi/spi_master.h180 * -# Define the SPI device configuration struct to describe which pin theCOMMENT
MEDIUM…samd21/sam_d2x_asflib/common/services/spi/spi_master.h222 * -# Create a buffer for data to be sent/received on the SPI bus, in this caseCOMMENT
MEDIUM…samd21/sam_d2x_asflib/common/services/spi/spi_master.h228 * -# Define the SPI device configuration struct to describe which pin theCOMMENT
MEDIUMbsp/samd21/sam_d2x_asflib/common/services/fifo/fifo.h568 * -# Create a FIFO buffer of FIFO_BUFFER_LENGTH elements, capableCOMMENT
MEDIUMbsp/samd21/sam_d2x_asflib/common/services/fifo/fifo.h571 * -# Create a FIFO buffer descriptor that contains information about theCOMMENT
MEDIUMbsp/samd21/sam_d2x_asflib/common/services/fifo/fifo.h590 * -# Create a variable to hold the return status from the FIFO:COMMENT
MEDIUMbsp/samd21/sam_d2x_asflib/common/services/fifo/fifo.h592 * -# Create a variable to hold the pulled value from the FIFO:COMMENT
MEDIUMbsp/samd21/sam_d2x_asflib/common/services/fifo/fifo.h630 * -# Create a FIFO buffer of FIFO_BUFFER_LENGTH elements, capableCOMMENT
MEDIUMbsp/samd21/sam_d2x_asflib/common/services/fifo/fifo.h633 * -# Create a FIFO buffer descriptor that containing information about theCOMMENT
MEDIUMbsp/samd21/sam_d2x_asflib/common/services/fifo/fifo.h653 * -# Create a variable to hold the return status from the FIFO:COMMENT
MEDIUMbsp/samd21/sam_d2x_asflib/common/services/fifo/fifo.h655 * -# Create a variable to hold the pulled value from the FIFO:COMMENT
MEDIUM…/samd21/sam_d2x_asflib/common/services/ioport/ioport.h472 * -# Define a boolean variable for state storage:COMMENT
MEDIUM…/samd21/sam_d2x_asflib/common/services/ioport/ioport.h536 * -# Define a variable for port date storage:COMMENT
MEDIUMbsp/w60x/makeimg.py120 # Create the output directoryCOMMENT
MEDIUMbsp/ft32/tools/upgrade.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUM…T_CY8CKIT-062S4/config/GeneratedSource/qspi_config.cfg5# This file contains a SMIF Bank layout for use with OpenOCD.COMMENT
MEDIUM…KIT-062-WIFI-BT/config/GeneratedSource/qspi_config.cfg5# This file contains a SMIF Bank layout for use with OpenOCD.COMMENT
MEDIUMbsp/Infineon/tools/upgrade.py3# This file is part of RT-Thread RTOSCOMMENT
MEDIUM…KIT-062S2-43012/config/GeneratedSource/qspi_config.cfg5# This file contains a SMIF Bank layout for use with OpenOCD.COMMENT
MEDIUM…P_KIT_XMC72_EVK/config/GeneratedSource/qspi_config.cfg5# This file contains a SMIF Bank layout for use with OpenOCD.COMMENT
MEDIUM…KIT-062S2-43012/config/GeneratedSource/qspi_config.cfg5# This file contains a SMIF Bank layout for use with OpenOCD.COMMENT
MEDIUM…C71_EVK_LITE_V2/config/GeneratedSource/qspi_config.cfg5# This file contains a SMIF Bank layout for use with OpenOCD.COMMENT
MEDIUM…ARGET_RTT-062S2/config/GeneratedSource/qspi_config.cfg5# This file contains a SMIF Bank layout for use with OpenOCD.COMMENT
MEDIUM…it_modus/libs/psoc6make/make/scripts/genresources.bash174# Create the resource headerCOMMENT
MEDIUM…P_KIT_XMC72_EVK/config/GeneratedSource/qspi_config.cfg5# This file contains a SMIF Bank layout for use with OpenOCD.COMMENT
MEDIUM…CY8CKIT-062-BLE/config/GeneratedSource/qspi_config.cfg5# This file contains a SMIF Bank layout for use with OpenOCD.COMMENT
MEDIUM…OTO-062S3-4343W/config/GeneratedSource/qspi_config.cfg5# This file contains a SMIF Bank layout for use with OpenOCD.COMMENT
MEDIUMbsp/renesas/ra6w1-ek/scripts/gen_rrq61_flash_image.py17# The following code is taken from mkimage_new_header.py (slightly modified):COMMENT
Unused Imports141 hits · 141 pts
SeverityFileLineSnippetContext
LOWtools/package.py29CODE
LOWtools/options.py26CODE
LOWtools/llvm_arm.py26CODE
LOWtools/building.py33CODE
LOWtools/building.py37CODE
LOWtools/building.py39CODE
LOWtools/building.py40CODE
LOWtools/building.py1120CODE
LOWtools/mkromfs.py8CODE
LOWtools/dtc.py13CODE
LOWtools/preprocessor.py25CODE
LOWtools/mkdist.py32CODE
LOWtools/compile_commands.py26CODE
LOWtools/compile_commands.py27CODE
LOWtools/env_utility.py361CODE
LOWtools/WCS.py5CODE
LOWtools/attachconfig.py2CODE
LOWtools/attachconfig.py6CODE
LOWtools/ng/adapter.py14CODE
LOWtools/ng/__init__.py9CODE
LOWtools/ng/__init__.py10CODE
LOWtools/ng/__init__.py11CODE
LOWtools/ng/__init__.py12CODE
LOWtools/ng/__init__.py12CODE
LOWtools/ng/__init__.py13CODE
LOWtools/ng/__init__.py14CODE
LOWtools/ng/generator.py11CODE
LOWtools/ng/generator.py13CODE
LOWtools/ng/utils.py11CODE
LOWtools/ng/environment.py10CODE
LOWtools/ng/environment.py11CODE
LOWtools/ng/building_ng.py15CODE
LOWtools/ng/project.py11CODE
LOWtools/targets/vs2012.py27CODE
LOWtools/targets/ses.py4CODE
LOWtools/targets/codelite.py27CODE
LOWtools/targets/codelite.py28CODE
LOWtools/targets/cmake.py27CODE
LOWtools/targets/zigbuild.py7CODE
LOWtools/targets/__init__.py26CODE
LOWtools/targets/__init__.py27CODE
LOWtools/targets/__init__.py28CODE
LOWtools/targets/__init__.py29CODE
LOWtools/targets/__init__.py30CODE
LOWtools/targets/__init__.py31CODE
LOWtools/targets/__init__.py32CODE
LOWtools/targets/__init__.py33CODE
LOWtools/targets/__init__.py34CODE
LOWtools/targets/__init__.py35CODE
LOWtools/targets/__init__.py36CODE
LOWtools/targets/__init__.py37CODE
LOWtools/targets/__init__.py38CODE
LOWtools/targets/__init__.py39CODE
LOWtools/targets/__init__.py40CODE
LOWtools/targets/__init__.py41CODE
LOWtools/targets/__init__.py42CODE
LOWtools/targets/eclipse.py22CODE
LOWtools/targets/eclipse.py23CODE
LOWtools/targets/codeblocks.py27CODE
LOWtools/targets/codeblocks.py28CODE
81 more matches not shown…
Hyper-Verbose Identifiers126 hits · 122 pts
SeverityFileLineSnippetContext
LOWtools/building.py90def _apply_exec_path_override(env, exec_path):CODE
LOWtools/building.py110def _normalize_armclang_flags_for_host(env):CODE
LOWtools/building.py138def _check_invalid_option_dashes():CODE
LOWtools/preprocessor.py73 def create_preprocessor_instance(self):CODE
LOWtools/preprocessor.py85def create_preprocessor_instance():CODE
LOWtools/mkdist.py115def bsp_update_kconfig_testcases(dist_dir):CODE
LOWtools/mkdist.py145def bsp_update_kconfig_library(dist_dir):CODE
LOWtools/mkdist.py176def bsp_copy_hal_sdk_package_libraries(bsp_root, dist_dir):CODE
LOWtools/compile_commands.py72def generate_compile_commands(env):CODE
LOWtools/env_utility.py359def kconfiglib_check_installed():CODE
LOWtools/env_package.py176def _get_existing_libraries_path(root):CODE
LOWtools/env_package.py201def find_libraries_path_upward(bsp_root):CODE
LOWtools/env_package.py219def is_hal_sdk_package_bridge(package_path):CODE
LOWtools/ng/adapter.py43def inject_environment_methods(env) -> None:CODE
LOWtools/ng/generator.py349 def _register_default_generators(self) -> None:CODE
LOWtools/ng/toolchain.py345 def _register_default_toolchains(self) -> None:CODE
LOWtools/targets/vsc.py38def find_first_node_with_two_children(tree):CODE
LOWtools/targets/vsc.py137def limit_excludes_to_root_dirs(root_path, names):CODE
LOWtools/targets/vsc.py150def generate_code_workspace_file(source_dirs,command_json_path,root_path):CODE
LOWtools/targets/vsc.py190def command_json_to_workspace(root_path,command_json_path):CODE
LOW⚡tools/targets/rt_studio.py270def gen_org_eclipse_core_runtime_prefs(output_file_path):CODE
LOWtools/ci/test_issue_claim.py94 def test_assignability_is_checked_for_specific_issue(self):CODE
LOWtools/ci/test_issue_claim.py116 def test_comment_creation_disables_automatic_retries(self):CODE
LOWtools/ci/test_issue_claim.py129 def test_comment_pagination_reads_past_five_hundred(self):CODE
LOWtools/ci/test_issue_claim.py147 def test_accepts_only_standalone_commands(self):CODE
LOWtools/ci/test_issue_claim.py161 def test_filters_pull_requests_bots_and_other_actions(self):CODE
LOWtools/ci/test_issue_claim.py175 def test_only_admin_and_maintain_roles_are_maintainers(self):CODE
LOWtools/ci/test_issue_claim.py188 def test_unclaim_targets_self_or_all_for_maintainer(self):CODE
LOWtools/ci/test_issue_claim.py207 def test_claim_requires_open_unassigned_issue(self):CODE
LOWtools/ci/test_issue_claim.py220 def test_duplicate_marker_must_come_from_a_bot(self):CODE
LOWtools/ci/test_issue_claim.py235 def test_last_bot_state_marker_controls_logical_claim(self):CODE
LOWtools/ci/test_issue_claim.py252 def test_unclaim_marker_only_clears_the_matching_logical_claim(self):CODE
LOWtools/ci/test_issue_claim.py267 def test_successful_claim_rechecks_and_confirms_state(self):CODE
LOWtools/ci/test_issue_claim.py294 def test_unassignable_user_is_tracked_by_comment_and_label(self):CODE
LOWtools/ci/test_issue_claim.py312 def test_existing_logical_claim_blocks_another_user(self):CODE
LOWtools/ci/test_issue_claim.py328 def test_concurrent_claim_is_rejected_before_mutation(self):CODE
LOWtools/ci/test_issue_claim.py339 def test_post_assignment_race_rolls_back_actor(self):CODE
LOWtools/ci/test_issue_claim.py356 def test_non_assignee_cannot_unclaim(self):CODE
LOWtools/ci/test_issue_claim.py363 def test_assignee_can_unclaim_and_remove_existing_progress_label(self):CODE
LOWtools/ci/test_issue_claim.py384 def test_logical_claimant_can_unclaim_without_being_an_assignee(self):CODE
LOWtools/ci/test_issue_claim.py409 def test_actual_assignee_unclaim_does_not_clear_another_logical_claim(self):CODE
LOWtools/ci/test_issue_claim.py433 def test_logical_unclaim_preserves_an_unrelated_actual_assignee(self):CODE
LOWtools/ci/test_issue_claim.py460 def test_duplicate_event_does_not_read_or_mutate_issue(self):CODE
LOWtools/ci/test_issue_labeler.py47 def test_maps_only_structured_allowlisted_values(self):CODE
LOWtools/ci/test_issue_labeler.py75 def test_unknown_and_no_response_values_are_ignored(self):STRING
LOW⚡tools/ci/test_issue_labeler.py90 def test_headings_and_values_are_case_insensitive(self):STRING
LOW⚡tools/ci/test_issue_labeler.py99 def test_accepts_supported_issue_actions(self):STRING
LOW⚡tools/ci/test_issue_labeler.py103 def test_rejects_pull_requests_and_other_actions(self):STRING
LOW⚡tools/ci/test_issue_labeler.py113 def test_adds_only_existing_labels_and_preserves_current_labels(self):STRING
LOWtools/ci/test_issue_labeler.py135 def test_replaces_stale_vendor_and_architecture_labels(self):STRING
LOWtools/ci/test_issue_labeler.py175 def test_dry_run_reports_without_mutating(self):STRING
LOWtools/ci/similar_issues.py444def format_claim_hint_comment():CODE
LOWtools/ci/issue_claim.py356def has_maintainer_permission(permission):CODE
LOWtools/ci/manual_bsp_build_all.py202def check_command_availability(cmd):CODE
LOWtools/ci/bsp_buildings.py57def contains_scons_fatal_error(output):CODE
LOWtools/ci/bsp_buildings.py313def get_details_and_dependencies(details, projects, seen=None):CODE
LOWtools/ci/clang_format_check.py96def parse_changed_line_ranges(diff_text):CODE
LOWtools/ci/clang_format_check.py151def is_ignored_by_clang_format(root, file_path):CODE
LOWtools/ci/test_similar_issues.py64 def test_ignores_issue_form_metadata(self):CODE
LOWtools/ci/test_similar_issues.py82 def test_search_terms_prioritize_identifiers(self):STRING
66 more matches not shown…
Empty Error Handlers24 hits · 120 pts
SeverityFileLineSnippetContext
HIGHtools/building.py133except (AttributeError, UnicodeDecodeError):CODE
HIGHtools/mkdist.py361except:CODE
HIGHtools/env_package.py186except OSError:CODE
HIGHtools/ng/config.py160except ValueError:CODE
HIGHtools/ng/utils.py249except OSError:CODE
HIGHtools/ci/issue_claim.py155except ValueError:CODE
HIGHtools/ci/issue_claim.py148except (TypeError, ValueError, OverflowError):CODE
HIGHtools/release/run-clang-format.py330except AttributeError:CODE
HIGHbsp/xuantie/xiaohui/c920/rtconfig.py78except FileNotFoundError:CODE
HIGHbsp/xuantie/xiaohui/r908/rtconfig.py78except FileNotFoundError:CODE
HIGHbsp/xuantie/xiaohui/r910/rtconfig.py78except FileNotFoundError:CODE
HIGHbsp/xuantie/xiaohui/r920/rtconfig.py78except FileNotFoundError:CODE
HIGHbsp/xuantie/xiaohui/c908x/rtconfig.py78except FileNotFoundError:CODE
HIGHbsp/xuantie/xiaohui/c907/rtconfig.py78except FileNotFoundError:CODE
HIGHbsp/simulator/rtconfig.py50except:CODE
HIGH…uvoton/numaker-hmi-ma35d1/nuwriter_scripts/nuwriter.py1204except (IOError, OSError):CODE
HIGH…uvoton/numaker-hmi-ma35d1/nuwriter_scripts/nuwriter.py1257except (IOError, OSError):CODE
HIGH…uvoton/numaker-hmi-ma35d1/nuwriter_scripts/nuwriter.py1328except (IOError, OSError):CODE
HIGH…uvoton/numaker-hmi-ma35d1/nuwriter_scripts/nuwriter.py1606except (IOError, OSError):CODE
HIGH…uvoton/numaker-iot-ma35d1/nuwriter_scripts/nuwriter.py1204except (IOError, OSError):CODE
HIGH…uvoton/numaker-iot-ma35d1/nuwriter_scripts/nuwriter.py1257except (IOError, OSError):CODE
HIGH…uvoton/numaker-iot-ma35d1/nuwriter_scripts/nuwriter.py1328except (IOError, OSError):CODE
HIGH…uvoton/numaker-iot-ma35d1/nuwriter_scripts/nuwriter.py1606except (IOError, OSError):CODE
HIGHbsp/renesas/ra6w1-ek/scripts/rrq61_fw_version.py18except:CODE
Excessive Try-Catch Wrapping84 hits · 118 pts
SeverityFileLineSnippetContext
LOWtools/building.py269 except Exception as e:CODE
MEDIUMtools/building.py1069 print ("Error: the toolchain path (" + rtconfig.EXEC_PATH + ") is not exist, please check 'EXEC_PATH' in patCODE
LOWtools/compile_commands.py109 except Exception as e:CODE
LOWtools/compile_commands.py167 except Exception as e:CODE
MEDIUMtools/compile_commands.py168 print(f"Error parsing compile_commands.json: {str(e)}")CODE
LOWtools/win32spawn.py36 except Exception as e:CODE
MEDIUMtools/win32spawn.py37 print('Error removing file: ' + e)CODE
LOWtools/win32spawn.py55 except Exception as e:CODE
MEDIUMtools/win32spawn.py56 print('Error in calling command:' + cmdline.split(' ')[0])CODE
MEDIUMtools/WCS.py212 print("Error data is missing in fxn dictionary {}".format(d))CODE
LOWtools/attachconfig.py73 except Exception as e:CODE
LOWtools/env_package.py238 except Exception:CODE
MEDIUMtools/ng/adapter.py173 print("Error: Build context not initialized")CODE
LOWtools/ng/adapter.py193 except Exception as e:CODE
MEDIUMtools/ng/adapter.py194 print(f"Error generating {target} project: {e}")CODE
LOWtools/ng/environment.py239 except Exception as e:CODE
LOWtools/ng/toolchain.py61 except Exception as e:CODE
LOWtools/ng/building_ng.py106 except Exception as e:CODE
LOWtools/targets/vsc.py435 except Exception as e:CODE
MEDIUMtools/targets/vsc.py436 print('Error reading workspace file, skip generating.')CODE
LOWtools/targets/zigbuild.py23 except Exception:CODE
MEDIUMtools/targets/zigbuild.py15def get_zig_version():CODE
LOW⚡tools/targets/rt_studio.py265 except Exception as e:CODE
LOW⚡tools/targets/rt_studio.py279 except Exception as e:CODE
LOW⚡tools/targets/rt_studio.py289 except Exception as e:CODE
LOWtools/targets/rt_studio.py327 except Exception as e:CODE
LOWtools/targets/rt_studio.py340 except Exception as e:CODE
LOWtools/targets/rt_studio.py356 except Exception as e:CODE
MEDIUMtools/targets/rt_studio.py256def gen_makefile_targets(output_file_path):CODE
MEDIUMtools/targets/rt_studio.py270def gen_org_eclipse_core_runtime_prefs(output_file_path):CODE
MEDIUMtools/targets/rt_studio.py331def gen_project_file(output_file_path):CODE
MEDIUMtools/targets/rt_studio.py344def gen_projcfg_ini_file(chip_name, project_name, output_file_path):CODE
LOWtools/ci/format_ignore.py46 except Exception as e:CODE
LOWtools/ci/format_ignore.py68 except Exception as e:CODE
MEDIUMtools/ci/git_diff_show.py59 print(f"Error executing git diff: {e.output.decode(self.encoding)}")CODE
MEDIUMtools/ci/git_diff_show.py118 print(f"Error executing git merge-base: {e.output.decode(self.encoding)}")CODE
LOWtools/ci/manual_bsp_build_all.py174 except Exception as e:CODE
LOWtools/ci/bsp_buildings.py442 except Exception as e:CODE
LOWtools/ci/bsp_detail.py181 except Exception as e:CODE
MEDIUMtools/ci/bsp_detail.py174def get_git_user_name():CODE
LOW…ls/ci/scheduled-ci-trigger/trigger_workflows_direct.py44 except Exception as e:CODE
LOWtools/ci/scheduled-ci-trigger/monitor_workflows.py58 except Exception as e:CODE
MEDIUMtools/ci/scheduled-ci-trigger/monitor_workflows.py59 print(f"Error monitoring {workflow_name}: {str(e)}")CODE
MEDIUMtools/ci/scheduled-ci-trigger/monitor_workflows.py115 print(f"Error getting run status: {response.status_code}")CODE
LOWtools/ci/scheduled-ci-trigger/monitor_workflows.py185 except Exception as e:CODE
MEDIUMtools/ci/scheduled-ci-trigger/monitor_workflows.py186 print(f"Error getting failure logs: {e}")CODE
MEDIUMtools/ci/scheduled-ci-trigger/generate_report.py16 print(f"Error loading monitoring_results.json: {e}")CODE
LOWtools/ci/scheduled-ci-trigger/generate_report.py131 except Exception as e:CODE
MEDIUMtools/ci/scheduled-ci-trigger/generate_report.py132 print(f"Error writing report: {e}")CODE
LOWtools/release/buildbot.py53 except Exception as e:CODE
LOWtools/release/run-clang-format.py129 except Exception as e:CODE
MEDIUMtools/release/run-clang-format.py123def run_clang_format_diff_wrapper(args, file):CODE
MEDIUMtools/docs/SConscript编写指南.md367 print('Error: RT_SERIAL_USING_DMA requires RT_USING_SERIAL!')STRING
MEDIUMtools/docs/SConscript编写指南.md441 print('Error: libfoo not found at', lib_path)STRING
MEDIUMtools/docs/SConscript编写指南.md540 print('Error: %s requires %s' % ('MyComponent', dep))STRING
MEDIUMtools/docs/SConscript编写指南.md571 print('Error: Missing required file:', f)STRING
LOWtools/testcases/test_preprocessor.py76 except Exception as e:STRING
LOWtools/testcases/test_preprocessor.py100 except Exception as e:CODE
MEDIUMbsp/cvitek/cv18xx_risc-v/gen_ld.py9 print('Error: file', input, 'not found')CODE
MEDIUMbsp/qemu-virt64-aarch64/qemu.py155 print("Error: Invalid -el {}".format(q_el))STRING
24 more matches not shown…
Deep Nesting110 hits · 110 pts
SeverityFileLineSnippetContext
LOWtools/package.py41CODE
LOWtools/llvm_arm.py45CODE
LOWtools/vscpyocd.py73CODE
LOWtools/building.py167CODE
LOWtools/building.py562CODE
LOWtools/building.py844CODE
LOWtools/building.py925CODE
LOWtools/building.py1015CODE
LOWtools/building.py1075CODE
LOWtools/mkdist.py104CODE
LOWtools/mkdist.py145CODE
LOWtools/compile_commands.py118CODE
LOWtools/env_utility.py54CODE
LOWtools/env_utility.py261CODE
LOWtools/env_utility.py461CODE
LOWtools/WCS.py51CODE
LOWtools/WCS.py102CODE
LOWtools/utils.py173CODE
LOWtools/utils.py250CODE
LOWtools/utils.py313CODE
LOWtools/gcc.py141CODE
LOWtools/attachconfig.py9CODE
LOWtools/attachconfig.py54CODE
LOWtools/ng/config.py42CODE
LOWtools/ng/utils.py220CODE
LOWtools/ng/utils.py304CODE
LOWtools/ng/toolchain.py369CODE
LOWtools/targets/vs2012.py178CODE
LOWtools/targets/vsc.py85CODE
LOWtools/targets/vsc.py234CODE
LOWtools/targets/vsc.py321CODE
LOWtools/targets/vsc.py367CODE
LOWtools/targets/cmake.py33CODE
LOWtools/targets/zigbuild.py31CODE
LOWtools/targets/eclipse.py178CODE
LOWtools/targets/eclipse.py395CODE
LOWtools/targets/eclipse.py532CODE
LOWtools/targets/vs.py90CODE
LOWtools/targets/esp_idf.py6CODE
LOWtools/targets/makefile.py48CODE
LOWtools/targets/keil.py61CODE
LOWtools/targets/keil.py106CODE
LOWtools/targets/keil.py147CODE
LOWtools/targets/keil.py219CODE
LOWtools/targets/keil.py332CODE
LOWtools/targets/iar.py80CODE
LOWtools/targets/iar.py97CODE
LOWtools/targets/ua.py42CODE
LOWtools/ci/format_ignore.py28CODE
LOWtools/ci/issue_claim.py396CODE
LOWtools/ci/issue_claim.py77CODE
LOWtools/ci/git_diff_show.py132CODE
LOWtools/ci/git_diff_show.py157CODE
LOWtools/ci/git_diff_show.py286CODE
LOWtools/ci/git_diff_show.py43CODE
LOWtools/ci/manual_bsp_build_all.py66CODE
LOWtools/ci/manual_bsp_build_all.py156CODE
LOWtools/ci/manual_bsp_build_all.py180CODE
LOWtools/ci/manual_bsp_build_all.py266CODE
LOWtools/ci/compile_bsp_with_drivers.py58CODE
50 more matches not shown…
Hallucination Indicators6 hits · 90 pts
SeverityFileLineSnippetContext
CRITICAL…mponents/net/lwip/lwip-2.0.3/src/apps/snmp/snmp_core.c238 * device a > 1.3.6.1.4.1.XXX(ent-oid).1(devices).1(device a)COMMENT
CRITICAL…mponents/net/lwip/lwip-2.0.3/src/apps/snmp/snmp_core.c239 * device b > 1.3.6.1.4.1.XXX(ent-oid).1(devices).2(device b)COMMENT
CRITICAL…mponents/net/lwip/lwip-2.2.1/src/apps/snmp/snmp_core.c258 * device a > 1.3.6.1.4.1.XXX(ent-oid).1(devices).1(device a)COMMENT
CRITICAL…mponents/net/lwip/lwip-2.2.1/src/apps/snmp/snmp_core.c259 * device b > 1.3.6.1.4.1.XXX(ent-oid).1(devices).2(device b)COMMENT
CRITICAL…mponents/net/lwip/lwip-2.1.2/src/apps/snmp/snmp_core.c255 * device a > 1.3.6.1.4.1.XXX(ent-oid).1(devices).1(device a)COMMENT
CRITICAL…mponents/net/lwip/lwip-2.1.2/src/apps/snmp/snmp_core.c256 * device b > 1.3.6.1.4.1.XXX(ent-oid).1(devices).2(device b)COMMENT
Decorative Section Separators18 hits · 56 pts
SeverityFileLineSnippetContext
MEDIUMtools/ng/integration_example.py8# =============================================================================COMMENT
MEDIUMtools/ng/integration_example.py10# =============================================================================COMMENT
MEDIUMtools/ng/integration_example.py28# =============================================================================COMMENT
MEDIUMtools/ng/integration_example.py30# =============================================================================COMMENT
MEDIUM⚡tools/ng/integration_example.py47# =============================================================================COMMENT
MEDIUM⚡tools/ng/integration_example.py49# =============================================================================COMMENT
MEDIUM⚡tools/ng/integration_example.py59# =============================================================================COMMENT
MEDIUM⚡tools/ng/integration_example.py61# =============================================================================COMMENT
MEDIUMtools/ng/integration_example.py79# =============================================================================COMMENT
MEDIUMtools/ng/integration_example.py81# =============================================================================COMMENT
MEDIUMtools/ng/integration_example.py97# =============================================================================COMMENT
MEDIUMtools/ng/integration_example.py99# =============================================================================COMMENT
MEDIUMtools/ng/integration_example.py125# =============================================================================COMMENT
MEDIUMtools/ng/integration_example.py127# =============================================================================COMMENT
MEDIUMtools/ng/integration_example.py157# =============================================================================STRING
MEDIUMtools/ng/integration_example.py159# =============================================================================STRING
MEDIUM…tek/drivers/libraries/cv180x/cv180x_pinlist_swconfig.h1//##==============================================================================COMMENT
MEDIUM…tek/drivers/libraries/cv180x/cv180x_pinlist_swconfig.h4//##==============================================================================COMMENT
Structural Annotation Overuse16 hits · 33 pts
SeverityFileLineSnippetContext
LOW⚡bsp/avr32/at32uc3b0256/README.md52### Step 1: download the RT-Thread codebase and navigate to bsp/avr32uc3b0.COMMENT
LOW⚡bsp/avr32/at32uc3b0256/README.md58### Step 2: buildCOMMENT
LOW⚡bsp/avr32/at32uc3b0256/README.md65### Step 3: flashCOMMENT
LOW⚡bsp/avr32/at32uc3a0256/README.md116### Step 1: download the RT-Thread codebase and navigate to bsp/avr32uc3a0.COMMENT
LOW⚡bsp/avr32/at32uc3a0256/README.md122### Step 2: buildCOMMENT
LOW⚡bsp/avr32/at32uc3a0256/README.md129### Step 3: flashCOMMENT
LOW⚡bsp/raspberry-pico/RP2040/README.md34### Step 1: download pico sdkCOMMENT
LOW⚡bsp/raspberry-pico/RP2040/README.md40### Step 2: buildCOMMENT
LOW⚡bsp/raspberry-pico/RP2040/README.md49### Step 3: flashCOMMENT
LOW⚡bsp/raspberry-pico/RP2350/README.md31### Step 1: 下载sdkCOMMENT
LOW⚡bsp/raspberry-pico/RP2350/README.md38### Step 2: 编译COMMENT
LOW⚡bsp/raspberry-pico/RP2350/README.md47### Step 3: 烧写COMMENT
LOW.github/copilot-instructions.md57#### Step 1: PR Title Check / 步骤 1:PR 标题检查COMMENT
LOW.github/copilot-instructions.md95#### Step 2: PR Description Check / 步骤 2:PR 内容检查COMMENT
LOW.github/copilot-instructions.md125#### Step 3: PR File Modification Check / 步骤 3:PR 修改文件检查COMMENT
LOW.github/copilot-instructions.md150#### Step 4: PR Commit Check / 步骤 4:PR Commit 检查COMMENT
Fake / Example Data25 hits · 32 pts
SeverityFileLineSnippetContext
LOW…x_asflib/common/services/spi/sam_usart_spi/usart_spi.c176 uint32_t dummy_data;CODE
LOW…x_asflib/common/services/spi/sam_usart_spi/usart_spi.c180 usart_getchar(p_usart, &dummy_data);CODE
LOW…raries/VangoV85xx_standard_peripheral/Source/lib_spi.c24 __IO uint32_t dummy_data = 0UL;CODE
LOW…raries/VangoV85xx_standard_peripheral/Source/lib_spi.c35 dummy_data = SPIx->RXDAT;CODE
LOW…raries/VangoV85xx_standard_peripheral/Source/lib_spi.c36 dummy_data += 1;CODE
LOW⚡…raries/VangoV85xx_standard_peripheral/Source/lib_rtc.c176 __IO uint32_t dummy_data = 0;CODE
LOW⚡…raries/VangoV85xx_standard_peripheral/Source/lib_rtc.c182 dummy_data = RTC->LOAD;CODE
LOW⚡…raries/VangoV85xx_standard_peripheral/Source/lib_rtc.c183 dummy_data += 1;CODE
LOW⚡…aries/VangoV85xx_standard_peripheral/Source/lib_uart.c30 __IO uint32_t dummy_data = 0UL;CODE
LOW⚡…aries/VangoV85xx_standard_peripheral/Source/lib_uart.c36 dummy_data = UARTx->DATA;CODE
LOW⚡…aries/VangoV85xx_standard_peripheral/Source/lib_uart.c37 dummy_data += 1;CODE
LOW…aries/VangoV85xxP_standard_peripheral/Source/lib_spi.c24 __IO uint32_t dummy_data = 0UL;CODE
LOW…aries/VangoV85xxP_standard_peripheral/Source/lib_spi.c35 dummy_data = SPIx->RXDAT;CODE
LOW…aries/VangoV85xxP_standard_peripheral/Source/lib_spi.c36 dummy_data += 1;CODE
LOW⚡…aries/VangoV85xxP_standard_peripheral/Source/lib_rtc.c199 __IO uint32_t dummy_data = 0;CODE
LOW⚡…aries/VangoV85xxP_standard_peripheral/Source/lib_rtc.c208 dummy_data = RTC->LOAD;CODE
LOW⚡…aries/VangoV85xxP_standard_peripheral/Source/lib_rtc.c209 dummy_data += 1;CODE
LOW⚡…ries/VangoV85xxP_standard_peripheral/Source/lib_uart.c30 __IO uint32_t dummy_data = 0UL;CODE
LOW⚡…ries/VangoV85xxP_standard_peripheral/Source/lib_uart.c36 dummy_data = UARTx->DATA;CODE
LOW⚡…ries/VangoV85xxP_standard_peripheral/Source/lib_uart.c37 dummy_data += 1;CODE
LOW⚡…s/ra8p1-titan-board/m85/ra/fsp/src/r_ospi_b/r_ospi_b.c1373 volatile uint64_t dummy_value = 0;CODE
LOW⚡…s/ra8p1-titan-board/m85/ra/fsp/src/r_ospi_b/r_ospi_b.c1377 dummy_value = *((volatile uint64_t *) *p_read_address);CODE
LOW⚡…s/ra8p1-titan-board/m85/ra/fsp/src/r_ospi_b/r_ospi_b.c1381 FSP_PARAMETER_NOT_USED(dummy_value);CODE
LOWbsp/renesas/ra6w1-ek/ra/fsp/inc/instances/r_qspi_w.h342 qspi_w_dummy_value_t dummy_value : 1; ///< Define the value that is transferred on the SPI bus during the phaseCODE
LOWbsp/renesas/ra6w1-ek/ra/fsp/src/r_qspi_w/r_qspi_w.c850 p_read_status_instr_cfg->dummy_value);CODE
AI Slop Vocabulary13 hits · 29 pts
SeverityFileLineSnippetContext
MEDIUMtools/targets/cmake.py207 # generic macro (commonly a string), ensure robust string conversionCOMMENT
MEDIUMbsp/apollo2/libraries/drivers/hal/am_hal_flash.h141 // Essentially these are recovery options.COMMENT
MEDIUMbsp/apollo2/libraries/drivers/hal/am_hal_flash.c94 // Essentially these are recovery options.COMMENT
MEDIUMbsp/tm4c129x/libraries/driverlib/emac.c528//! - \b EMAC_PHY_INT_ROBUST_MDIX enables robust auto MDI-X resolution (sets theCOMMENT
MEDIUM…432e401y-LaunchPad/libraries/msp432e4/driverlib/emac.c524//! - \b EMAC_PHY_INT_ROBUST_MDIX enables robust auto MDI-X resolution (sets theCOMMENT
MEDIUM…braries/TivaWare_C_series/tm4c123_driverlib/src/emac.c528//! - \b EMAC_PHY_INT_ROBUST_MDIX enables robust auto MDI-X resolution (sets theCOMMENT
MEDIUM…s/bl_mcu_sdk/drivers/soc/bl808/std/src/bl808_uhs_phy.c1288 set_uhs_latency_r(uhs_latency); //got a good robust uhs_latencyCODE
LOWcomponents/net/sal/include/sal_socket.h66#define SO_DONTROUTE 0x0010 /* Unimplemented: just use interface addresses */COMMENT
LOW…ponents/net/lwip/lwip-2.0.3/src/include/lwip/sockets.h180#define SO_DONTROUTE 0x0010 /* Unimplemented: just use interface addresses */COMMENT
LOW…ponents/net/lwip/lwip-2.2.1/src/include/lwip/sockets.h214#define SO_DONTROUTE 0x0010 /* Unimplemented: just use interface addresses */COMMENT
LOW…ponents/net/lwip/lwip-2.1.2/src/include/lwip/sockets.h205#define SO_DONTROUTE 0x0010 /* Unimplemented: just use interface addresses */COMMENT
LOW…ponents/net/lwip/lwip-1.4.1/src/include/lwip/sockets.h83#define SO_DONTROUTE 0x0010 /* Unimplemented: just use interface addresses */COMMENT
LOW…ponents/net/lwip/lwip-1.4.1/src/include/ipv4/lwip/ip.h101/*#define SOF_DONTROUTE 0x10U Unimplemented: just use interface addresses */COMMENT
Redundant / Tautological Comments16 hits · 28 pts
SeverityFileLineSnippetContext
LOWtools/env_utility.py354 # Check if LANG is set and its value is not in the supported localesCOMMENT
LOWtools/utils.py314 # Check if the path directly points to an existing file.COMMENT
LOWtools/ng/generator.py317 # Write fileCOMMENT
LOWbsp/nuvoton/tools/sdk_dist.py18 # Write the file out againCOMMENT
LOWbsp/renesas/tools/startup_check.py7 # Check if Git is installedCOMMENT
LOW⚡bsp/renesas/tools/startup_check.py46 # Check if Git is installed, if not, try to install itCOMMENT
LOW⚡bsp/renesas/tools/startup_check.py51 # Check if Git is installed after the installation attemptCOMMENT
LOW⚡bsp/renesas/tools/startup_check.py56 # Check if the file has changesCOMMENT
LOWcomponents/rust/tools/build_usrapp.py74 # Check if there's a specific Kconfig option for this appCOMMENT
LOW⚡components/rust/tools/build_usrapp.py118 # Check if all required dependencies are presentCOMMENT
LOWcomponents/rust/tools/build_usrapp.py164 # Check if this RT-Thread configuration is enabledCOMMENT
LOWcomponents/rust/tools/build_usrapp.py426 # Check if this application should be built based on KconfigCOMMENT
LOW⚡components/rust/tools/build_component.py149 # Check if all required dependencies are presentCOMMENT
LOWcomponents/rust/tools/build_component.py176 # Check if this RT-Thread configuration is enabledCOMMENT
LOW.github/workflows/auto_assign_reviewers.yml92 # Check if response is valid JSONCOMMENT
LOW.github/workflows/auto_assign_reviewers.yml434 # Check if response is valid JSONCOMMENT
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippetContext
HIGH…2/stm32l475-atk-pandora/board/ports/lcd/drv_lcd_font.h0,2*/ 0x00,0x00,0x00,0x12,0x12,0x16,0x7f,0x24,0x24,0xfe,0x28,0x48,0x48,0x00,0x00,0x00,/*"#",3*/ 0x00,0x00,0x08,0x08,0x3e,STRING
HIGH…/stm32/stm32l431-BearPi/board/ports/lcd/drv_lcd_font.h0,2*/ 0x00,0x00,0x00,0x12,0x12,0x16,0x7f,0x24,0x24,0xfe,0x28,0x48,0x48,0x00,0x00,0x00,/*"#",3*/ 0x00,0x00,0x08,0x08,0x3e,STRING
HIGHbsp/stm32/stm32h750-artpi/board/port/drv_lcd_font.h0,2*/ 0x00,0x00,0x00,0x12,0x12,0x16,0x7f,0x24,0x24,0xfe,0x28,0x48,0x48,0x00,0x00,0x00,/*"#",3*/ 0x00,0x00,0x08,0x08,0x3e,STRING
HIGH…tm32/stm32f407-rt-spark/board/ports/lcd/drv_lcd_font.h0,2*/ 0x00,0x00,0x00,0x12,0x12,0x16,0x7f,0x24,0x24,0xfe,0x28,0x48,0x48,0x00,0x00,0x00,/*"#",3*/ 0x00,0x00,0x08,0x08,0x3e,STRING
Cross-Language Confusion4 hits · 19 pts
SeverityFileLineSnippetContext
HIGHtools/ng/generator.py182 "command": "scons -c && scons",CODE
HIGHtools/targets/zigbuild.py95 zig_file.write(" .root_source_file = null,\n")CODE
HIGH⚡bsp/qemu-virt64-aarch64/qemu.py174 print("Error: VirtIO Sound is not in this version: {}".format(qemu_version.toString()))STRING
HIGHbsp/amebaz/gen_bin.py100exec_cmd4 = exec_checksum + ' image2_all_ota1.bin || true'CODE
Slop Phrases8 hits · 14 pts
SeverityFileLineSnippetContext
LOWbsp/nuvoton/numaker-iot-m467/board/board_dev.c138 Don't forget to switch SPIM pins to QSPI0 pins on board.CODE
LOWbsp/nuvoton/numaker-m467hj/board/board_dev.c138 Don't forget to switch SPIM pins to QSPI0 pins on NuMaker-M467HJ V1.0 board.CODE
MEDIUM…libraries/HK32F0xx_StdPeriph_Driver/src/hk32f0xx_dma.c32 (#) To control DMA events you can use one of the following two methods:CODE
MEDIUM…28379d/common/include/F2837xD_SWPrioritizedIsrLevels.h71// real application. This is for demonstration purposes only!!!COMMENT
MEDIUM…28379d/common/include/F2837xD_SWPrioritizedIsrLevels.h123// real application. This is for demonstration purposes only!!!COMMENT
LOWcomponents/net/lwip/lwip-2.0.3/src/core/netif.c241 * IPv6: Don't forget to call netif_create_ip6_linklocal_address() afterCOMMENT
LOWcomponents/net/lwip/lwip-2.2.1/src/core/netif.c287 * IPv6: Don't forget to call netif_create_ip6_linklocal_address() afterCOMMENT
LOWcomponents/net/lwip/lwip-2.1.2/src/core/netif.c276 * IPv6: Don't forget to call netif_create_ip6_linklocal_address() afterCOMMENT
Modern Structural Boilerplate10 hits · 10 pts
SeverityFileLineSnippetContext
LOWtools/ng/__init__.py17__all__ = [CODE
LOWtools/ng/core.py65 def set_current(cls, context: Optional['BuildContext']) -> None:CODE
LOWtools/ng/building_ng.py114__all__ = ['PrepareBuilding', 'DefineGroup', 'GetDepend', 'DoBuilding'] + \CODE
LOWtools/targets/__init__.py45__all__ = [CODE
LOW…nuvoton/numaker-hmi-ma35d1/nuwriter_scripts/xusbcom.py41 def set_media(self, media) -> None:CODE
LOW…nuvoton/numaker-hmi-ma35d1/nuwriter_scripts/xusbcom.py62 def set_id(self, i) -> None:CODE
LOW…nuvoton/numaker-hmi-ma35d1/nuwriter_scripts/xusbcom.py69 def set_align(nand, spinand) -> None:CODE
LOW…nuvoton/numaker-iot-ma35d1/nuwriter_scripts/xusbcom.py41 def set_media(self, media) -> None:CODE
LOW…nuvoton/numaker-iot-ma35d1/nuwriter_scripts/xusbcom.py62 def set_id(self, i) -> None:CODE
LOW…nuvoton/numaker-iot-ma35d1/nuwriter_scripts/xusbcom.py69 def set_align(nand, spinand) -> None:CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/klibc/rt_vsnprintf_std.c92// possibly hundreds of characters, potentially overflowing your buffers. In this implementation,COMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…uvoton/numaker-hmi-ma35d1/nuwriter_scripts/nuwriter.py1213def do_stuff(cfg_file) -> None:CODE
LOW…uvoton/numaker-iot-ma35d1/nuwriter_scripts/nuwriter.py1213def do_stuff(cfg_file) -> None:CODE
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOWcomponents/net/lwip/lwip-2.2.1/src/apps/mdns/mdns.c614 * comparison. So if we get passed the class and type comparison we need to check if theCOMMENT
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/targets/vsc.py232CODE