Repository Analysis

RT-Thread/rt-thread

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

9.5 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of RT-Thread/rt-thread, a C project with 12,104 GitHub stars. SynthScan v2.0 examined 10,583,513 lines of code across 24352 source files, recording 134405 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 9.5 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

9.5
Adjusted Score
9.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
12.1K
Stars
C
Language
10.6M
Lines of Code
24.4K
Files
134.4K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 4HIGH 118MEDIUM 115LOW 134168

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 134405 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block133748 hits · 98634 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_UINT32_MAX UINT32_MAX /**< Maximum number of UINT32 */COMMENT
LOWinclude/rtdef.h201/* init after mount fs */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
133688 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 Comments54 hits · 162 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
Unused Imports136 hits · 136 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
76 more matches not shown…
Deep Nesting106 hits · 106 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/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.py392CODE
LOWtools/targets/eclipse.py529CODE
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.py330CODE
LOWtools/targets/iar.py80CODE
LOWtools/targets/iar.py97CODE
LOWtools/targets/ua.py42CODE
LOWtools/ci/format_ignore.py28CODE
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
LOWtools/ci/bsp_buildings.py177CODE
LOWtools/ci/bsp_buildings.py313CODE
LOWtools/ci/clang_format_check.py151CODE
46 more matches not shown…
Excessive Try-Catch Wrapping73 hits · 102 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
LOWtools/targets/rt_studio.py265 except Exception as e:CODE
LOWtools/targets/rt_studio.py279 except Exception as e:CODE
LOWtools/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
13 more matches not shown…
Hyper-Verbose Identifiers61 hits · 67 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.py170def 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
LOWtools/targets/rt_studio.py270def gen_org_eclipse_core_runtime_prefs(output_file_path):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
LOW…ls/ci/scheduled-ci-trigger/trigger_workflows_direct.py8def trigger_workflow_directly(workflow_name, github_token, repo):CODE
LOWtools/ci/scheduled-ci-trigger/wait_for_workflows.py9def wait_for_workflows_to_appear(github_token, repo, workflow_names, start_time, max_wait=300):CODE
LOWtools/release/run-clang-format.py123def run_clang_format_diff_wrapper(args, file):CODE
LOWtools/docs/构建系统技术原理.md460def generate_compile_commands(env, project):CODE
LOWtools/docs/构建系统技术原理.md480def _generate_compile_command(env, src, group):CODE
LOWtools/docs/构建系统技术原理.md573def dependency_resolution_flow():CODE
LOWtools/testcases/test_preprocessor.py80def test_building_integration():STRING
LOWbsp/nxp/imx/imxrt/tools/sdk_dist.py7def update_kconfig_library_path(dist_dir):CODE
LOWbsp/nxp/imx/imxrt/tools/sdk_dist.py22def update_sconstruct_library_path(dist_dir):CODE
LOWbsp/tm4c129x/libraries/driverlib/epi.c1498//! with the function EPINonBlockingReadConfigure(). Once this function isCOMMENT
LOW…21/sam_d2x_asflib/common2/services/gfx_mono/gfx_mono.h181 * \def gfx_mono_draw_horizontal_line(x, y, length, color)COMMENT
LOW…21/sam_d2x_asflib/common2/services/gfx_mono/gfx_mono.h191 * \def gfx_mono_draw_vertical_line(x, y, length, color)COMMENT
LOW…21/sam_d2x_asflib/common2/services/gfx_mono/gfx_mono.h223 * \def gfx_mono_draw_filled_rect(x, y, width, height, color)COMMENT
LOW…21/sam_d2x_asflib/common2/services/gfx_mono/gfx_mono.h254 * \def gfx_mono_draw_filled_circle(x, y, radius, color, quadrant_mask)COMMENT
LOWbsp/hc32/tools/sdk_dist.py9def update_dist_project_paths(dist_dir):CODE
LOW…p432e401y-LaunchPad/libraries/msp432e4/driverlib/epi.c1430//! with the function EPINonBlockingReadConfigure(). Once this function isCOMMENT
LOWbsp/hpmicro/tools/sdk_dist.py23def update_dist_project_paths(dist_dir):CODE
LOW…ibraries/TivaWare_C_series/tm4c123_driverlib/src/epi.c1498//! with the function EPINonBlockingReadConfigure(). Once this function isCOMMENT
LOWbsp/at32/tools/sdk_dist.py9def bsp_update_kconfig_library(dist_dir):CODE
LOWbsp/allwinner/tools/sdk_dist.py9def update_kconfig_library_path(dist_dir):CODE
LOWbsp/lm3s8962/Libraries/driverlib/epi.c562//! with the function EPINonBlockingReadConfigure(). Once this function isCOMMENT
LOWbsp/ft32/tools/sdk_dist.py9def update_dist_project_paths(dist_dir):CODE
LOWbsp/nuvoton/tools/sdk_dist.py7def dist_modify_relative_path(board_kconfig_path):CODE
LOWbsp/lm3s9b9x/Libraries/driverlib/epi.c562//! with the function EPINonBlockingReadConfigure(). Once this function isCOMMENT
LOWbsp/ht32/tools/sdk_dist.py10def bsp_update_kconfig_library(dist_dir):CODE
LOWbsp/phytium/libraries/tools/auto_test/auto_compile.py59def run_commands_in_directory(target_dir, env_script, first_commands):CODE
LOWbsp/lm4f232/Libraries/driverlib/epi.c562//! with the function EPINonBlockingReadConfigure(). Once this function isCOMMENT
LOWbsp/bouffalo_lab/bl808/d0/merge_rtsmart.py6def create_flash_default_data(length):CODE
LOWbsp/novosns/ns800/tools/sdk_dist.py8def update_kconfig_library_path(dist_dir):CODE
LOWcomponents/rust/tools/build_support.py184def ensure_rust_target_installed(target: str):CODE
LOWcomponents/rust/tools/feature_config_component.py8def setup_all_component_features():CODE
LOWcomponents/rust/tools/feature_config_examples.py8def setup_all_example_features():CODE
LOWcomponents/rust/tools/build_component.py15def check_component_dependencies(component_dir, required_dependencies):CODE
LOWcomponents/rust/tools/build_component.py52def collect_component_features(has_func, component_dir=None):CODE
1 more matches not shown…
Hallucination Indicators4 hits · 60 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.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
MEDIUMtools/ng/integration_example.py47# =============================================================================COMMENT
MEDIUMtools/ng/integration_example.py49# =============================================================================COMMENT
MEDIUMtools/ng/integration_example.py59# =============================================================================COMMENT
MEDIUMtools/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
LOWbsp/avr32/at32uc3b0256/README.md52### Step 1: download the RT-Thread codebase and navigate to bsp/avr32uc3b0.COMMENT
LOWbsp/avr32/at32uc3b0256/README.md58### Step 2: buildCOMMENT
LOWbsp/avr32/at32uc3b0256/README.md65### Step 3: flashCOMMENT
LOWbsp/avr32/at32uc3a0256/README.md116### Step 1: download the RT-Thread codebase and navigate to bsp/avr32uc3a0.COMMENT
LOWbsp/avr32/at32uc3a0256/README.md122### Step 2: buildCOMMENT
LOWbsp/avr32/at32uc3a0256/README.md129### Step 3: flashCOMMENT
LOWbsp/raspberry-pico/RP2040/README.md34### Step 1: download pico sdkCOMMENT
LOWbsp/raspberry-pico/RP2040/README.md40### Step 2: buildCOMMENT
LOWbsp/raspberry-pico/RP2040/README.md49### Step 3: flashCOMMENT
LOWbsp/raspberry-pico/RP2350/README.md31### Step 1: 下载sdkCOMMENT
LOWbsp/raspberry-pico/RP2350/README.md38### Step 2: 编译COMMENT
LOWbsp/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 Data23 hits · 30 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…nesas/ra8p1-titan-board/ra/fsp/src/r_ospi_b/r_ospi_b.c1373 volatile uint64_t dummy_value = 0;CODE
LOW…nesas/ra8p1-titan-board/ra/fsp/src/r_ospi_b/r_ospi_b.c1377 dummy_value = *((volatile uint64_t *) *p_read_address);CODE
LOW…nesas/ra8p1-titan-board/ra/fsp/src/r_ospi_b/r_ospi_b.c1381 FSP_PARAMETER_NOT_USED(dummy_value);CODE
AI Slop Vocabulary12 hits · 28 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.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 · 27 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
LOWbsp/renesas/tools/startup_check.py46 # Check if Git is installed, if not, try to install itCOMMENT
LOWbsp/renesas/tools/startup_check.py51 # Check if Git is installed after the installation attemptCOMMENT
LOWbsp/renesas/tools/startup_check.py56 # Check if the file has changesCOMMENT
LOWcomponents/rust/tools/build_usrapp.py39 # Check if there's a specific Kconfig option for this appCOMMENT
LOWcomponents/rust/tools/build_usrapp.py72 # Check if all required dependencies are presentCOMMENT
LOWcomponents/rust/tools/build_usrapp.py99 # Check if this RT-Thread configuration is enabledCOMMENT
LOWcomponents/rust/tools/build_usrapp.py296 # Check if this application should be built based on KconfigCOMMENT
LOWcomponents/rust/tools/build_component.py40 # Check if all required dependencies are presentCOMMENT
LOWcomponents/rust/tools/build_component.py67 # 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
HIGHbsp/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 Phrases7 hits · 13 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.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
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/targets/vsc.py232CODE