AI Slop Code Risk Monitor

tianocore/edk2

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

EDK II

4.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for tianocore/edk2, a C project with 6,378 GitHub stars. SynthScan examined 2,667,593 lines of code across 6751 source files, recording 9933 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 4.0 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

4.0
Adjusted Signal
4.0
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
6.4K
Stars
C
Language
2.7M
Lines of Code
6.8K
Files
9.9K
Pattern Hits
2026-10-31
Scan Date
0.03
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 15.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.4/100 · LOW

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

Agent Over-Engineering Ratio 2.2/100 · LOW

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

PR Review Velocity Impact 19.5/100 · LOW

Which changes need focused human review? 9933 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 1HIGH 201MEDIUM 298LOW 9433

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 9933 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 Block7611 hits · 6966 pts
SeverityFileLineSnippetContext
LOWpip-requirements.txt1## @fileCOMMENT
LOWedksetup.sh1#COMMENT
LOWPcAtChipsetPkg/PcAtChipsetPkg.ci.yaml1## @fileCOMMENT
LOWPcAtChipsetPkg/HpetTimerDxe/HpetTimer.c161 TimerDriverGenerateSoftInterruptCOMMENT
LOWPcAtChipsetPkg/HpetTimerDxe/HpetTimer.c201///COMMENT
LOWPcAtChipsetPkg/HpetTimerDxe/HpetTimer.c301 // Count number of ticksCOMMENT
LOWPcAtChipsetPkg/HpetTimerDxe/HpetTimer.c321COMMENT
LOWPcAtChipsetPkg/HpetTimerDxe/HpetTimer.c361 HpetEnable (TRUE);COMMENT
LOWPcAtChipsetPkg/HpetTimerDxe/HpetTimer.c541 //COMMENT
LOWPcAtChipsetPkg/HpetTimerDxe/HpetTimer.c621 // Save the new timer periodCOMMENT
LOWPcAtChipsetPkg/HpetTimerDxe/HpetTimer.c701 Tpl = gBS->RaiseTPL (TPL_HIGH_LEVEL);COMMENT
LOWPcAtChipsetPkg/HpetTimerDxe/HpetTimer.c781 // Make sure the Timer Architectural Protocol is not already installed in the systemCOMMENT
LOWPcAtChipsetPkg/HpetTimerDxe/HpetTimer.c901 }COMMENT
LOWPcAtChipsetPkg/HpetTimerDxe/HpetTimer.c921 // Configure the selected HPET Timer with settings common to both MSI mode and I/O APIC modeCOMMENT
LOWPcAtChipsetPkg/Include/Register/IoApic.h21#define IO_APIC_IDENTIFICATION_REGISTER_INDEX 0x00COMMENT
LOWPcAtChipsetPkg/Include/Register/Hpet.h21///COMMENT
LOWPcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h1/** @fileCOMMENT
LOWPcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeController.h21#include <Library/MemoryAllocationLib.h>COMMENT
LOWPcAtChipsetPkg/Library/AcpiTimerLib/AcpiTimerLib.c61COMMENT
LOWPcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c1/** @fileCOMMENT
LOWPcAtChipsetPkg/Library/SerialIoLib/SerialPortLib.c21#define IR_CONTROL_OFFSET 0x02COMMENT
LOWPcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c421 // or RTC clock won't "tick" -- time won't incrementCOMMENT
LOWPcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.h21#include <Library/DebugLib.h>COMMENT
LOWPcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.h41extern PC_RTC_MODULE_GLOBALS mModuleGlobal;COMMENT
LOWPcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.h61// Date and time initial values.COMMENT
LOW…yptoPkg/Test/UnitTest/Library/BaseCryptLib/HashTests.c21//COMMENT
LOW…/Library/BaseCryptLib/Pkcs7AttachedContentSignatures.h1/** @fileCOMMENT
LOW…ptoPkg/Test/UnitTest/Library/BaseCryptLib/MlDsaTests.c21COMMENT
LOW…ptoPkg/Test/UnitTest/Library/BaseCryptLib/MlDsaTests.c181 // Test MlDsaSetPrivKey with wrong sizeCOMMENT
LOW…ptoPkg/Test/UnitTest/Library/BaseCryptLib/EdDsaTests.c201 //COMMENT
LOW…toPkg/Test/UnitTest/Library/BaseCryptLib/SlhDsaTests.c21**/COMMENT
LOW…yptoPkg/Test/UnitTest/Library/BaseCryptLib/X509Tests.c21// openssl req -nodes -newkey rsa:2048 -keyout end_responder.key -out end_responder.req -sha256 -batch -subj "/CN=intel COMMENT
LOW…/Test/UnitTest/Library/BaseCryptLib/BlockCipherTests.c281 // These are commented out as these functions have been deprecated, but they have been left in for future referenceCOMMENT
LOW…/Test/UnitTest/Library/BaseCryptLib/TestBaseCryptLib.h1/** @fileCOMMENT
LOWCryptoPkg/Include/Library/BaseCryptLib.h21// HashCOMMENT
LOWCryptoPkg/Include/Library/BaseCryptLib.h41// Symmetric ciphers usable with Pkcs7Encrypt.COMMENT
LOWCryptoPkg/Include/Library/BaseCryptLib.h61///COMMENT
LOW…toPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyCommon.c101COMMENT
LOW…toPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyCommon.c321COMMENT
LOW…toPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyCommon.c901COMMENT
LOWCryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c121 }COMMENT
LOWCryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c981 // tbsCertificate TBSCertificate,COMMENT
LOWCryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c21//COMMENT
LOWCryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c101/// serialNumber INTEGER,COMMENT
LOWCryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c321 goto _Exit;COMMENT
LOWCryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticode.c141 ContentSize = (UINTN)(Asn1Byte & 0x7F);COMMENT
LOWCryptoPkg/Library/BaseCryptLib/Pk/CryptAuthenticode.c161 //COMMENT
LOW…kg/Library/BaseCryptLib/SysCall/RuntimeMemAllocation.c21// Definitions for Runtime Memory OperationsCOMMENT
LOWCryptoPkg/Library/Include/CrtLibSupport.h21#define ENGINESDIR ""COMMENT
LOWCryptoPkg/Library/Include/CrtLibSupport.h41// With GCC we would normally use SIXTY_FOUR_BIT_LONG, but MSVC needsCOMMENT
LOWCryptoPkg/Library/Include/CrtLibSupport.h61//COMMENT
LOWCryptoPkg/Library/Include/CrtLibSupport.h81//COMMENT
LOWCryptoPkg/Library/Include/CrtLibSupport.h101//COMMENT
LOWCryptoPkg/Library/Include/CrtLibSupport.h461COMMENT
LOWCryptoPkg/Library/Include/CrtLibSupport.h481#define _byteswap_ushort SwapBytes16COMMENT
LOWCryptoPkg/Library/Include/CrtLibSupport.h501#ifndef UINT64_MAXCOMMENT
LOWCryptoPkg/Library/TlsLib/InternalTlsLib.h21#include <Library/PcdLib.h>COMMENT
LOW…kg/Library/MbedTlsLib/Include/mbedtls/mbedtls_config.h381// #define MBEDTLS_AES_ALTCOMMENT
LOW…kg/Library/MbedTlsLib/Include/mbedtls/mbedtls_config.h441 * enabled, then the deterministic ECDH signature functions pass theCOMMENT
LOW…kg/Library/MbedTlsLib/Include/mbedtls/mbedtls_config.h761/* Short Weierstrass curves (supporting ECP, ECDH, ECDSA) */COMMENT
7551 more matches not shown…
Self-Referential Comments236 hits · 698 pts
SeverityFileLineSnippetContext
MEDIUMBaseTools/Source/Python/GenFds/__init__.py4# This file is required to make Python interpreter treat the directoryCOMMENT
MEDIUMBaseTools/Source/Python/AmlToC/AmlToC.py35 # Define the possible arguments.STRING
MEDIUM…ls/Source/Python/FirmwareStorageFormat/PECOFFHeader.py2# This file is used to define the PECOFF Header C Struct.COMMENT
MEDIUM…eTools/Source/Python/FirmwareStorageFormat/__init__.py2# This file is used to define the Firmware Storage Format.COMMENT
MEDIUM…Tools/Source/Python/FirmwareStorageFormat/UPLHeader.py2# This file is used to define the UPL Header C Struct.COMMENT
MEDIUMBaseTools/Source/Python/FirmwareStorageFormat/Common.py2# This file is used to define the common C struct and functions.COMMENT
MEDIUM…eTools/Source/Python/FirmwareStorageFormat/FvHeader.py2# This file is used to define the FV Header C Struct.COMMENT
MEDIUM…s/Source/Python/FirmwareStorageFormat/FfsFileHeader.py2# This file is used to define the Ffs Header C Struct.COMMENT
MEDIUM…s/Source/Python/FirmwareStorageFormat/SectionHeader.py2# This file is used to define the Section Header C Struct.COMMENT
MEDIUMBaseTools/Source/Python/UPT/BuildVersion.py3# This file is for build version number auto generationCOMMENT
MEDIUMBaseTools/Source/Python/UPT/UPT.py3# This file is the main entry for UPTCOMMENT
MEDIUM…ols/Source/Python/UPT/UnitTest/InfBinarySectionTest.py262 # Create a temp file for test.COMMENT
MEDIUMBaseTools/Source/Python/UPT/Core/DependencyRules.py2# This file is for installed package information database operationsCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Core/DependencyRules.py35# This class represents the dependency rule check mechanismCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Core/__init__.py4# This file is required to make Python interpreter treat the directoryCOMMENT
MEDIUM…ols/Source/Python/UPT/Core/DistributionPackageClass.py2# This file is used to define a class object to describe a distribution packageCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Core/IpiDb.py2# This file is for installed package information database operationsCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Core/IpiDb.py28# This class represents the installed package information databaseCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Core/IpiDb.py62 # Create a dummy table, if already existed,COMMENT
MEDIUMBaseTools/Source/Python/UPT/Logger/StringTable.py2# This file is used to define strings used in the UPT toolCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Logger/Log.py2# This file implements the log mechanism for Python tools.COMMENT
MEDIUMBaseTools/Source/Python/UPT/Logger/__init__.py4# This file is required to make Python interpreter treat the directoryCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Library/Misc.py147# This method is used to save file only when its content is changed. This isCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Library/GlobalData.py2# This file is used to define common static strings and global data used by UPTCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Library/Parsing.py2# This file is used to define common parsing related functions used in parsingCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Library/StringUtils.py2# This file is used to define common string related functions used in parsingCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Library/StringUtils.py188# Create a normal pathCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Library/__init__.py4# This file is required to make Python interpreter treat the directoryCOMMENT
MEDIUM…eTools/Source/Python/UPT/Library/ExpressionValidate.py2# This file is used to check PCD logical expressionCOMMENT
MEDIUM…seTools/Source/Python/UPT/Library/CommentGenerating.py2# This file is used to define comment generating interfaceCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Library/DataType.py2# This file is used to define class for data type structureCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Library/CommentParsing.py2# This file is used to define comment parsing interfaceCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Library/Xml/XmlRoutines.py23## Create a element of XMLCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Library/Xml/__init__.py4# This file is required to make Python interpreter treat the directoryCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/__init__.py4# This file is required to make Python interpreter treat the directoryCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/InfAsBuiltProcess.py2# This file is used to provide method for process AsBuilt INF file. It will consumed by InfParserCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParserMisc.py2# This file is used to define helper class and function for DEC parserCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py2# This file is used to parse DEC file. It will consumed by DecParserCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/InfSectionParser.py218 # Initialize all objects that an INF file will generated.COMMENT
MEDIUMBaseTools/Source/Python/UPT/Xml/XmlParserMisc.py2# This file is used to parse a xml file of .PKG fileCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Xml/CommonXml.py2# This file is used to parse a PCD file of .PKG fileCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Xml/PcdXml.py2# This file is used to parse a PCD file of .PKG fileCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Xml/__init__.py4# This file is required to make Python interpreter treat the directoryCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Xml/GuidProtocolPpiXml.py2# This file is used to parse a xml file of .PKG fileCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Xml/ModuleSurfaceAreaXml.py2# This file is used to parse a Module file of .PKG fileCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Xml/XmlParser.py2# This file is used to parse a xml file of .PKG fileCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Xml/IniToXml.py2# This file is for converting package information data file to xml file.COMMENT
MEDIUM…seTools/Source/Python/UPT/Xml/PackageSurfaceAreaXml.py2# This file is used to parse a Package file of .PKG fileCOMMENT
MEDIUM…seTools/Source/Python/UPT/Xml/PackageSurfaceAreaXml.py155 # Create a package objectCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Object/__init__.py4# This file is required to make Python interpreter treat the directoryCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Object/POM/CommonObject.py2# This file is used to define common items of class objectCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Object/POM/__init__.py4# This file is required to make Python interpreter treat the directoryCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Object/POM/ModuleObject.py2# This file is used to define a class object to describe a moduleCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Object/POM/PackageObject.py2# This file is used to define a class object to describe a packageCOMMENT
MEDIUMBaseTools/Source/Python/UPT/Object/Parser/DecObject.py2# This file is used to define class objects for DEC file. It will consumed byCOMMENT
MEDIUM…Tools/Source/Python/UPT/Object/Parser/InfGuidObject.py2# This file is used to define class objects of INF file [Guids] section.COMMENT
MEDIUM…ols/Source/Python/UPT/Object/Parser/InfCommonObject.py2# This file is used to define common class objects for INF file.COMMENT
MEDIUM…ols/Source/Python/UPT/Object/Parser/InfSoucesObject.py2# This file is used to define class objects of INF file [Sources] section.COMMENT
MEDIUM…eTools/Source/Python/UPT/Object/Parser/InfPcdObject.py2# This file is used to define class objects of INF file [Pcds] section.COMMENT
MEDIUM…ols/Source/Python/UPT/Object/Parser/InfDefineObject.py2# This file is used to define class objects of [Defines] section for INF file.COMMENT
176 more matches not shown…
Deep Nesting792 hits · 674 pts
SeverityFileLineSnippetContext
LOWCryptoPkg/Library/OpensslLib/configure.py149CODE
LOWCryptoPkg/Library/OpensslLib/configure.py289CODE
LOWCryptoPkg/Library/OpensslLib/configure.py344CODE
LOWBaseTools/Edk2ToolsBuild.py145CODE
LOWBaseTools/Source/Python/GenFds/Capsule.py50CODE
LOWBaseTools/Source/Python/GenFds/DepexSection.py34CODE
LOWBaseTools/Source/Python/GenFds/DepexSection.py72CODE
LOWBaseTools/Source/Python/GenFds/Region.py76CODE
LOWBaseTools/Source/Python/GenFds/Region.py284CODE
LOWBaseTools/Source/Python/GenFds/FvImageSection.py50CODE
LOWBaseTools/Source/Python/GenFds/OptionRom.py43CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py152CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py496CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py558CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py686CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py874CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py1788CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py1973CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py2606CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py2701CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py2774CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py2976CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py3041CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py3099CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py3246CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py3608CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py3769CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py4012CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py4054CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py4207CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py4304CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py4326CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py4349CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py4371CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py4412CODE
LOWBaseTools/Source/Python/GenFds/GuidSection.py53CODE
LOWBaseTools/Source/Python/GenFds/FfsFileStatement.py50CODE
LOWBaseTools/Source/Python/GenFds/Section.py110CODE
LOWBaseTools/Source/Python/GenFds/DataSection.py47CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py852CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py125CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py198CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py435CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py536CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py804CODE
LOWBaseTools/Source/Python/GenFds/Fv.py74CODE
LOWBaseTools/Source/Python/GenFds/Fv.py245CODE
LOWBaseTools/Source/Python/GenFds/Fv.py273CODE
LOWBaseTools/Source/Python/GenFds/FfsInfStatement.py77CODE
LOWBaseTools/Source/Python/GenFds/FfsInfStatement.py103CODE
LOWBaseTools/Source/Python/GenFds/FfsInfStatement.py179CODE
LOWBaseTools/Source/Python/GenFds/FfsInfStatement.py638CODE
LOWBaseTools/Source/Python/GenFds/FfsInfStatement.py759CODE
LOWBaseTools/Source/Python/GenFds/FfsInfStatement.py943CODE
LOWBaseTools/Source/Python/GenFds/AprioriSection.py49CODE
LOWBaseTools/Source/Python/GenFds/EfiSection.py52CODE
LOWBaseTools/Source/Python/GenFds/GenFds.py106CODE
LOWBaseTools/Source/Python/GenFds/GenFds.py556CODE
LOWBaseTools/Source/Python/GenFds/GenFds.py637CODE
LOWBaseTools/Source/Python/GenFds/Fd.py43CODE
732 more matches not shown…
Unused Imports576 hits · 564 pts
SeverityFileLineSnippetContext
LOWCryptoPkg/Library/OpensslLib/configure.py7CODE
LOWCryptoPkg/Library/OpensslLib/configure.py8CODE
LOWBaseTools/Source/Python/GenFds/Capsule.py13CODE
LOWBaseTools/Source/Python/GenFds/Ffs.py12CODE
LOWBaseTools/Source/Python/GenFds/DepexSection.py12CODE
LOWBaseTools/Source/Python/GenFds/DepexSection.py19CODE
LOWBaseTools/Source/Python/GenFds/DepexSection.py21CODE
LOWBaseTools/Source/Python/GenFds/CapsuleData.py12CODE
LOWBaseTools/Source/Python/GenFds/CapsuleData.py17CODE
LOWBaseTools/Source/Python/GenFds/CompressSection.py12CODE
LOWBaseTools/Source/Python/GenFds/CompressSection.py15CODE
LOWBaseTools/Source/Python/GenFds/CompressSection.py19CODE
LOWBaseTools/Source/Python/GenFds/Region.py12CODE
LOWBaseTools/Source/Python/GenFds/Region.py13CODE
LOWBaseTools/Source/Python/GenFds/Region.py16CODE
LOWBaseTools/Source/Python/GenFds/Region.py18CODE
LOWBaseTools/Source/Python/GenFds/Region.py20CODE
LOWBaseTools/Source/Python/GenFds/FvImageSection.py12CODE
LOWBaseTools/Source/Python/GenFds/FvImageSection.py16CODE
LOWBaseTools/Source/Python/GenFds/FvImageSection.py22CODE
LOWBaseTools/Source/Python/GenFds/FvImageSection.py23CODE
LOWBaseTools/Source/Python/GenFds/OptionRom.py12CODE
LOWBaseTools/Source/Python/GenFds/OptionRom.py14CODE
LOWBaseTools/Source/Python/GenFds/OptionRom.py19CODE
LOWBaseTools/Source/Python/GenFds/OptionRom.py21CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py13CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py14CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py15CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py18CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py21CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py23CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py24CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py28CODE
LOWBaseTools/Source/Python/GenFds/RuleComplexFile.py12CODE
LOWBaseTools/Source/Python/GenFds/RuleComplexFile.py13CODE
LOWBaseTools/Source/Python/GenFds/GuidSection.py13CODE
LOWBaseTools/Source/Python/GenFds/GuidSection.py15CODE
LOWBaseTools/Source/Python/GenFds/GuidSection.py21CODE
LOWBaseTools/Source/Python/GenFds/GuidSection.py23CODE
LOWBaseTools/Source/Python/GenFds/GuidSection.py26CODE
LOWBaseTools/Source/Python/GenFds/FfsFileStatement.py12CODE
LOWBaseTools/Source/Python/GenFds/UiSection.py12CODE
LOWBaseTools/Source/Python/GenFds/UiSection.py13CODE
LOWBaseTools/Source/Python/GenFds/UiSection.py15CODE
LOWBaseTools/Source/Python/GenFds/UiSection.py20CODE
LOWBaseTools/Source/Python/GenFds/Section.py12CODE
LOWBaseTools/Source/Python/GenFds/Section.py15CODE
LOWBaseTools/Source/Python/GenFds/Section.py17CODE
LOWBaseTools/Source/Python/GenFds/Section.py18CODE
LOWBaseTools/Source/Python/GenFds/DataSection.py12CODE
LOWBaseTools/Source/Python/GenFds/DataSection.py15CODE
LOWBaseTools/Source/Python/GenFds/DataSection.py19CODE
LOWBaseTools/Source/Python/GenFds/DataSection.py21CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py12CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py13CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py34CODE
LOWBaseTools/Source/Python/GenFds/Fv.py12CODE
LOWBaseTools/Source/Python/GenFds/Fv.py14CODE
LOWBaseTools/Source/Python/GenFds/Fv.py16CODE
LOWBaseTools/Source/Python/GenFds/Fv.py22CODE
516 more matches not shown…
Cross-File Repetition106 hits · 530 pts
SeverityFileLineSnippetContext
HIGHBaseTools/Edk2ToolsBuild.py0return tuple containing scopes that should be active for this processSTRING
HIGHOvmfPkg/PlatformCI/PlatformBuildLib.py0return tuple containing scopes that should be active for this processSTRING
HIGHUefiPayloadPkg/PlatformCI/PlatformBuild.py0return tuple containing scopes that should be active for this processSTRING
HIGHEmulatorPkg/PlatformCI/PlatformBuild.py0return tuple containing scopes that should be active for this processSTRING
HIGH.pytool/CISettings.py0return tuple containing scopes that should be active for this processSTRING
HIGHArmVirtPkg/PlatformCI/PlatformBuildLib.py0return tuple containing scopes that should be active for this processSTRING
HIGHBaseTools/Edk2ToolsBuild.py0get the logging level for a given type base == lowest logging level supported con == screen logging txt == plain text fiSTRING
HIGHOvmfPkg/PlatformCI/PlatformBuildLib.py0get the logging level for a given type base == lowest logging level supported con == screen logging txt == plain text fiSTRING
HIGHUefiPayloadPkg/PlatformCI/PlatformBuild.py0get the logging level for a given type base == lowest logging level supported con == screen logging txt == plain text fiSTRING
HIGHEmulatorPkg/PlatformCI/PlatformBuild.py0get the logging level for a given type base == lowest logging level supported con == screen logging txt == plain text fiSTRING
HIGHArmVirtPkg/PlatformCI/PlatformBuildLib.py0get the logging level for a given type base == lowest logging level supported con == screen logging txt == plain text fiSTRING
HIGHBaseTools/Source/Python/Common/VpdInfoFile.py0## @file # # this is auto-generated file by build tools and please do not make modification. # # this file lists all vpdSTRING
HIGHBaseTools/Source/Python/BPDG/StringTable.py0## @file # # this is auto-generated file by build tools and please do not make modification. # # this file lists all vpdSTRING
HIGHIntelFsp2Pkg/Tools/GenCfgOpt.py0## @file # # this is auto-generated file by build tools and please do not make modification. # # this file lists all vpdSTRING
HIGHBaseTools/Source/Python/Table/TableIdentifier.py0insert into %s values(%s, %s, '%s', '%s', %s, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %s)STRING
HIGHBaseTools/Source/Python/Table/TableReport.py0insert into %s values(%s, %s, '%s', '%s', %s, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %s)STRING
HIGHBaseTools/Source/Python/Table/TableFunction.py0insert into %s values(%s, %s, '%s', '%s', %s, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %s)STRING
HIGHBaseTools/Source/Python/Table/TableDsc.py0insert into %s values(%s, %s, '%s', '%s', %s, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %s)STRING
HIGHBaseTools/Source/Python/Table/TableDec.py0insert into %s values(%s, %s, '%s', '%s', %s, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %s)STRING
HIGHBaseTools/Source/Python/Table/TablePcd.py0insert into %s values(%s, %s, '%s', '%s', %s, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %s)STRING
HIGHBaseTools/Source/Python/Table/TableFdf.py0insert into %s values(%s, %s, '%s', '%s', %s, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %s)STRING
HIGHBaseTools/Source/Python/Table/TableInf.py0insert into %s values(%s, %s, '%s', '%s', %s, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %s)STRING
HIGHBaseTools/Source/Python/Table/TableEotReport.py0insert into %s values(%s, %s, '%s', '%s', %s, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %s)STRING
HIGHBaseTools/Source/Python/Table/TableDsc.py0create table if not exists %s (id integer primary key, model integer not null, value1 varchar not null, value2 varchar, STRING
HIGHBaseTools/Source/Python/Table/TableDec.py0create table if not exists %s (id integer primary key, model integer not null, value1 varchar not null, value2 varchar, STRING
HIGHBaseTools/Source/Python/Table/TableFdf.py0create table if not exists %s (id integer primary key, model integer not null, value1 varchar not null, value2 varchar, STRING
HIGHBaseTools/Source/Python/Table/TableInf.py0create table if not exists %s (id integer primary key, model integer not null, value1 varchar not null, value2 varchar, STRING
HIGHBaseTools/Source/Python/Table/TableDsc.py0select id, value1, value2, value3, scope1, scope2, belongstoitem, belongstofile, startline from %s where model = %s and STRING
HIGHBaseTools/Source/Python/Table/TableDec.py0select id, value1, value2, value3, scope1, scope2, belongstoitem, belongstofile, startline from %s where model = %s and STRING
HIGHBaseTools/Source/Python/Table/TableInf.py0select id, value1, value2, value3, scope1, scope2, belongstoitem, belongstofile, startline from %s where model = %s and STRING
HIGHBaseTools/Source/Python/Table/TableFdf.py0select id, value1, value2, value3, scope1, scope2, belongstoitem, belongstofile, startline from %s where model = %s and STRING
HIGHOvmfPkg/PlatformCI/BhyveBuild.py0common settings for this platform. define static data here and use for the different parts of stuartSTRING
HIGHOvmfPkg/PlatformCI/IntelTdxBuild.py0common settings for this platform. define static data here and use for the different parts of stuartSTRING
HIGHOvmfPkg/PlatformCI/CloudHvBuild.py0common settings for this platform. define static data here and use for the different parts of stuartSTRING
HIGHOvmfPkg/PlatformCI/MicrovmBuild.py0common settings for this platform. define static data here and use for the different parts of stuartSTRING
HIGHOvmfPkg/PlatformCI/AmdSevBuild.py0common settings for this platform. define static data here and use for the different parts of stuartSTRING
HIGHOvmfPkg/PlatformCI/XenBuild.py0common settings for this platform. define static data here and use for the different parts of stuartSTRING
HIGHOvmfPkg/PlatformCI/QemuBuild.py0common settings for this platform. define static data here and use for the different parts of stuartSTRING
HIGHOvmfPkg/PlatformCI/PlatformBuild.py0common settings for this platform. define static data here and use for the different parts of stuartSTRING
HIGHUefiPayloadPkg/PlatformCI/PlatformBuild.py0common settings for this platform. define static data here and use for the different parts of stuartSTRING
HIGHEmulatorPkg/PlatformCI/PlatformBuild.py0common settings for this platform. define static data here and use for the different parts of stuartSTRING
HIGHArmVirtPkg/PlatformCI/CloudHvBuild.py0common settings for this platform. define static data here and use for the different parts of stuartSTRING
HIGHArmVirtPkg/PlatformCI/QemuKernelBuild.py0common settings for this platform. define static data here and use for the different parts of stuartSTRING
HIGHArmVirtPkg/PlatformCI/QemuBuild.py0common settings for this platform. define static data here and use for the different parts of stuartSTRING
HIGHArmVirtPkg/PlatformCI/KvmToolBuild.py0common settings for this platform. define static data here and use for the different parts of stuartSTRING
HIGHOvmfPkg/PlatformCI/BhyveBuild.py0return the dsc given the architectures requested. archcsv: csv string containing all architectures to buildSTRING
HIGHOvmfPkg/PlatformCI/IntelTdxBuild.py0return the dsc given the architectures requested. archcsv: csv string containing all architectures to buildSTRING
HIGHOvmfPkg/PlatformCI/CloudHvBuild.py0return the dsc given the architectures requested. archcsv: csv string containing all architectures to buildSTRING
HIGHOvmfPkg/PlatformCI/MicrovmBuild.py0return the dsc given the architectures requested. archcsv: csv string containing all architectures to buildSTRING
HIGHOvmfPkg/PlatformCI/AmdSevBuild.py0return the dsc given the architectures requested. archcsv: csv string containing all architectures to buildSTRING
HIGHOvmfPkg/PlatformCI/XenBuild.py0return the dsc given the architectures requested. archcsv: csv string containing all architectures to buildSTRING
HIGHOvmfPkg/PlatformCI/QemuBuild.py0return the dsc given the architectures requested. archcsv: csv string containing all architectures to buildSTRING
HIGHOvmfPkg/PlatformCI/PlatformBuild.py0return the dsc given the architectures requested. archcsv: csv string containing all architectures to buildSTRING
HIGHOvmfPkg/PlatformCI/PlatformBuildLib.py0return iterable of edk2 packages supported by this build. these should be edk2 workspace relative pathsSTRING
HIGHUefiPayloadPkg/PlatformCI/PlatformBuild.py0return iterable of edk2 packages supported by this build. these should be edk2 workspace relative pathsSTRING
HIGHEmulatorPkg/PlatformCI/PlatformBuild.py0return iterable of edk2 packages supported by this build. these should be edk2 workspace relative pathsSTRING
HIGH.pytool/CISettings.py0return iterable of edk2 packages supported by this build. these should be edk2 workspace relative pathsSTRING
HIGHArmVirtPkg/PlatformCI/PlatformBuildLib.py0return iterable of edk2 packages supported by this build. these should be edk2 workspace relative pathsSTRING
HIGHOvmfPkg/PlatformCI/PlatformBuildLib.py0return iterable of edk2 architectures supported by this buildSTRING
HIGHUefiPayloadPkg/PlatformCI/PlatformBuild.py0return iterable of edk2 architectures supported by this buildSTRING
46 more matches not shown…
Empty Error Handlers60 hits · 300 pts
SeverityFileLineSnippetContext
HIGHBaseTools/Edk2ToolsBuild.py385except:CODE
HIGHBaseTools/Source/Python/UPT/MkPkg.py220except OSError:CODE
HIGHBaseTools/Source/Python/UPT/RmPkg.py91except OSError:CODE
HIGH…eTools/Source/Python/UPT/UnitTest/DecParserUnitTest.py379except:CODE
HIGH…eTools/Source/Python/UPT/UnitTest/DecParserUnitTest.py385except:CODE
HIGH…ols/Source/Python/UPT/UnitTest/InfBinarySectionTest.py308except Logger.FatalError:CODE
HIGH…ols/Source/Python/UPT/UnitTest/InfBinarySectionTest.py335except:CODE
HIGH…ols/Source/Python/UPT/UnitTest/InfBinarySectionTest.py367except:CODE
HIGH…s/Source/Python/UPT/UnitTest/CommentParsingUnitTest.py689except Logger.FatalError:CODE
HIGH…s/Source/Python/UPT/UnitTest/CommentParsingUnitTest.py829except Logger.FatalError:CODE
HIGHBaseTools/Source/Python/UPT/UnitTest/DecParserTest.py139except:CODE
HIGHBaseTools/Source/Python/UPT/Core/FileHook.py135except EnvironmentError:CODE
HIGHBaseTools/Source/Python/UPT/Library/StringUtils.py731except:CODE
HIGH…eTools/Source/Python/UPT/PomAdapter/DecPomAlignment.py860except BaseException:CODE
HIGHBaseTools/Source/Python/Workspace/DscBuildData.py244except:CODE
HIGHBaseTools/Source/Python/Workspace/DscBuildData.py248except:CODE
HIGHBaseTools/Source/Python/Workspace/MetaFileParser.py1707except:CODE
HIGHBaseTools/Source/Python/Common/Expression.py176except:CODE
HIGHBaseTools/Source/Python/Common/Expression.py410except BadExpression:CODE
HIGHBaseTools/Source/Python/Common/Expression.py907except ValueError:CODE
HIGHBaseTools/Source/Python/Common/Expression.py987except:CODE
HIGHBaseTools/Source/Python/Common/Expression.py991except:CODE
HIGHBaseTools/Source/Python/Common/Expression.py1010except:CODE
HIGH…/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py1178except EvaluationException as Excpt:CODE
HIGH…/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py1973except Exception:CODE
HIGHBaseTools/Source/Python/AutoGen/AutoGenWorker.py33except Empty:CODE
HIGHBaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py509except Exception:CODE
HIGHBaseTools/Source/Python/Pkcs7Sign/Pkcs7Sign.py103except:CODE
HIGHBaseTools/Source/Python/Eot/Parser.py413except Exception:CODE
HIGHBaseTools/Source/Python/Eot/EotMain.py1091except EOFError:CODE
HIGHBaseTools/Source/Python/Eot/EotMain.py752except:CODE
HIGHBaseTools/Source/Python/Eot/EotMain.py773except:CODE
HIGHBaseTools/Source/Python/Eot/Report.py438except EOFError:CODE
HIGH…ols/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py192except:CODE
HIGH…s/Source/Python/Rsa2048Sha256Sign/Rsa2048Sha256Sign.py86except:CODE
HIGH…s/Source/Python/Rsa2048Sha256Sign/Rsa2048Sha256Sign.py165except:CODE
HIGH…/Python/Rsa2048Sha256Sign/Rsa2048Sha256GenerateKeys.py65except:CODE
HIGH…/Python/Rsa2048Sha256Sign/Rsa2048Sha256GenerateKeys.py146except:CODE
HIGH…/Python/Rsa2048Sha256Sign/Rsa2048Sha256GenerateKeys.py163except:CODE
HIGHBaseTools/Source/C/Makefiles/NmakeSubdirs.py50except:CODE
HIGHBaseTools/Tests/CheckUnicodeSourceFiles.py73except Exception:CODE
HIGHBaseTools/Tests/TestGenFvXip.py394except (FileNotFoundError, subprocess.TimeoutExpired):CODE
HIGH…s/Plugin/BuildToolsReport/BuildToolsReportGenerator.py36except ImportError:CODE
HIGHBaseTools/Scripts/efi_debugging.py999except ValueError:CODE
HIGHBaseTools/Scripts/efi_debugging.py1680except ValueError:CODE
HIGHBaseTools/Scripts/efi_debugging.py792except ValueError:CODE
HIGHBaseTools/Scripts/SetupGit.py199except (ConfigParser.NoSectionError, ConfigParser.NoOptionError):CODE
HIGHBaseTools/Scripts/RunMakefile.py124except:CODE
HIGHBaseTools/Scripts/PatchCheck.py881except ValueError:CODE
HIGHBaseTools/Scripts/PatchCheck.py700except:CODE
HIGHBaseTools/Scripts/efi_gdb.py913except gdb.error:CODE
HIGH…iscVVirt/Feature/Capsule/GenerateCapsule/GenCapsule.py272except:CODE
HIGH…iscVVirt/Feature/Capsule/GenerateCapsule/GenCapsule.py316except:CODE
HIGH…iscVVirt/Feature/Capsule/GenerateCapsule/GenCapsule.py320except:CODE
HIGH.github/scripts/validate_pr_formatting.py98except Exception:CODE
HIGH.pytool/CISettings.py29except ImportError:CODE
HIGH.pytool/CISettings.py49except NameError:CODE
HIGH.pytool/CISettings.py57except NameError:CODE
HIGH.pytool/CISettings.py178except NameError:CODE
HIGHIntelFsp2Pkg/Tools/ConfigEditor/ConfigEditor.py1130except Exception:CODE
Cross-Language Confusion28 hits · 150 pts
SeverityFileLineSnippetContext
HIGHBaseTools/Source/Python/Workspace/DscBuildData.py2171 CApp = CApp + ' memcpy (&%s, Value, (FieldSize > 0 && FieldSize <= %d) ? FieldSize : %d);\n' % (indSTRING
HIGHBaseTools/Source/Python/Workspace/DscBuildData.py2336 CApp = CApp + ' memcpy (&%s, Value, (FieldSize > 0 && FieldSize <= %d) ? FieldSize : %d);\n' % STRING
HIGHBaseTools/Source/Python/Workspace/DscBuildData.py2405 CApp = CApp + ' memcpy (&Pcd->%s, Value, (FieldSize > 0 && FieldSize <= %d) ? FieldSize : %d);\n' %STRING
HIGHBaseTools/Source/Python/Workspace/DscBuildData.py2474 CApp = CApp + ' memcpy (&Pcd->%s, Value, (FieldSize > 0 && FieldSize <= %d) ? FieldSize : %d);\STRING
HIGHBaseTools/Source/Python/Workspace/DscBuildData.py2542 CApp = CApp + ' memcpy (&Pcd->%s, Value, (FieldSize > 0 && FieldSize <= %d) ? FieldSize : %d);\n' %STRING
HIGH⚡BaseTools/Source/Python/Common/RangeExpression.py251 rangeContainer.push(RangeObject(0, 0, True))CODE
HIGH⚡BaseTools/Source/Python/Common/RangeExpression.py254 rangeContainer.push(RangeObject(0, 0, True))CODE
HIGH⚡BaseTools/Source/Python/Common/RangeExpression.py257 rangeContainer.push(RangeObject(end1, end1))CODE
HIGH⚡BaseTools/Source/Python/Common/RangeExpression.py260 rangeContainer.push(RangeObject(start2, end1))CODE
HIGH⚡BaseTools/Source/Python/Common/RangeExpression.py263 rangeContainer.push(RangeObject(start2, end2))CODE
HIGH⚡BaseTools/Source/Python/Common/RangeExpression.py297 rangeContainer.push(RangeObject(0, MAX_VAL_TYPE[self.PcdDataType]))CODE
HIGH⚡BaseTools/Source/Python/Common/RangeExpression.py300 rangeContainer.push(RangeObject(0, rangeobj.start - 1))CODE
HIGH⚡BaseTools/Source/Python/Common/RangeExpression.py302 rangeContainer.push(RangeObject(rangeobj.end + 1, MAX_VAL_TYPE[self.PcdDataType]))CODE
HIGH⚡BaseTools/Source/Python/Common/RangeExpression.py308 rangeContainer.push(RangeObject(0, MAX_VAL_TYPE[self.PcdDataType]))CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py100 rangeContainer.push(RangeObject(0, int(Operand) - 1))CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py101 rangeContainer.push(RangeObject(int(Operand) + 1, MAX_VAL_TYPE[DataType]))CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py114 rangeContainer.push(RangeObject(0, int(Operand)))CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py126 rangeContainer.push(RangeObject(0, int(Operand) - 1))CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py139 rangeContainer.push(RangeObject(int(Operand), MAX_VAL_TYPE[DataType]))CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py152 rangeContainer.push(RangeObject(int(Operand) + 1, MAX_VAL_TYPE[DataType]))CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py165 rangeContainer.push(RangeObject(int(Operand), int(Operand)))CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py220 rangeContainer.push(RangeObject(start, end))CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py276 rangeContainer.push(rangeobj)CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py278 rangeContainer.push(rangeobj)CODE
HIGHBaseTools/Source/Python/AutoGen/GenMake.py165 POSIX_PLATFORM : "test -e %(dir)s && cd %(dir)s"STRING
HIGH.github/scripts/validate_pr_formatting.py15# - Ensures the PR body is not empty, null, or whitespace-onlyCOMMENT
HIGHIntelFsp2Pkg/Tools/PatchFv.py59 if not OffsetList[0] or not OffsetList[1]: # If 'FSPH' or 'FSPP' is missing, it will return falseCODE
HIGHIntelFsp2Pkg/Tools/PatchFv.py69 return False # If FSP v1.1 or greater without 'FSPE', then return falseCODE
Excessive Try-Catch Wrapping136 hits · 147 pts
SeverityFileLineSnippetContext
MEDIUMBaseTools/Source/Python/GenFds/FdfParser.py1312def ParseFile(self):CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py891 except Exception as Excpt:CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py1775 except Exception:CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py726 except Exception as X:CODE
LOWBaseTools/Source/Python/GenFds/FfsInfStatement.py164 except Exception:CODE
LOWBaseTools/Source/Python/Split/Split.py71 except Exception as e:STRING
LOWBaseTools/Source/Python/Split/Split.py89 except Exception as e:STRING
LOWBaseTools/Source/Python/Split/Split.py145 except Exception as e:STRING
LOWBaseTools/Source/Python/Split/Split.py176 except Exception as e:STRING
LOWBaseTools/Source/Python/Split/Split.py203 except Exception as e:STRING
LOWBaseTools/Source/Python/AmlToC/AmlToC.py132 except Exception as e:STRING
LOWBaseTools/Source/Python/UPT/UPT.py307 except Exception:CODE
LOWBaseTools/Source/Python/UPT/TestInstall.py70 except Exception as x:CODE
LOWBaseTools/Source/Python/UPT/Library/StringUtils.py742 except Exception:CODE
LOWBaseTools/Source/Python/Capsule/GenerateCapsule.py682 except Exception as Msg:CODE
LOWBaseTools/Source/Python/Capsule/GenerateCapsule.py729 except Exception as Msg:CODE
LOWBaseTools/Source/Python/Capsule/GenerateCapsule.py813 except Exception as Msg:CODE
LOWBaseTools/Source/Python/Capsule/GenerateCapsule.py937 except Exception as Msg:CODE
LOWBaseTools/Source/Python/Capsule/GenerateCapsule.py953 except Exception as Msg:CODE
LOWBaseTools/Source/Python/Capsule/GenerateCapsule.py990 except Exception as Msg:CODE
MEDIUMBaseTools/Source/Python/Capsule/GenerateCapsule.py288def ValidateUnsignedInteger (Argument):CODE
LOWBaseTools/Source/Python/FMMT/FMMT.py156 except Exception as e:STRING
LOWBaseTools/Source/Python/FMMT/core/GuidTools.py47 except Exception as msg:CODE
LOWBaseTools/Source/Python/FMMT/core/GuidTools.py80 except Exception as msg:CODE
LOWBaseTools/Source/Python/Workspace/DscBuildData.py2160 except Exception:STRING
LOWBaseTools/Source/Python/Workspace/DscBuildData.py2325 except Exception:STRING
LOWBaseTools/Source/Python/Workspace/DscBuildData.py2394 except Exception:STRING
LOWBaseTools/Source/Python/Workspace/DscBuildData.py2463 except Exception:STRING
LOWBaseTools/Source/Python/Workspace/DscBuildData.py2531 except Exception:STRING
LOWBaseTools/Source/Python/Workspace/MetaFileTable.py61 except Exception as Exc:CODE
LOWBaseTools/Source/Python/Workspace/MetaFileTable.py271 except Exception as Exc:STRING
MEDIUMBaseTools/Source/Python/Workspace/MetaFileParser.py1513def __RetrievePcdValue(self):CODE
LOWBaseTools/Source/Python/Workspace/MetaFileParser.py1721 except Exception:CODE
LOWBaseTools/Source/Python/tests/Split/test_split.py37 except Exception as e:CODE
LOWBaseTools/Source/Python/tests/Split/test_split.py74 except Exception as e:CODE
LOWBaseTools/Source/Python/tests/Split/test_split.py107 except Exception as e:CODE
LOWBaseTools/Source/Python/Trim/Trim.py304 except Exception:CODE
LOWBaseTools/Source/Python/Trim/Trim.py311 except Exception as e:CODE
LOWBaseTools/Source/Python/Common/EdkLogger.py96 except Exception:CODE
LOWBaseTools/Source/Python/Common/Misc.py1109 except Exception as X:CODE
LOWBaseTools/Source/Python/Common/Misc.py1748 except Exception:CODE
LOWBaseTools/Source/Python/Common/VpdInfoFile.py243 except Exception as X:CODE
LOWBaseTools/Source/Python/Common/Expression.py347 except Exception as Excpt:CODE
LOWBaseTools/Source/Python/Common/Expression.py1086 except Exception as Ex:CODE
LOWBaseTools/Source/Python/TargetTool/TargetTool.py251 except Exception as e:CODE
LOW…s/Source/Python/Ecc/MetaFileWorkspace/MetaDataTable.py96 except Exception as e:CODE
MEDIUM…s/Source/Python/Ecc/MetaFileWorkspace/MetaDataTable.py97 print("An error occurred when Drop a table:", e.args[0])CODE
LOW…/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py1973 except Exception:CODE
LOWBaseTools/Source/Python/Ecc/Xml/XmlRoutines.py166 except Exception as X:CODE
MEDIUMBaseTools/Source/Python/Ecc/Xml/XmlRoutines.py129def XmlElement(Dom, String):CODE
LOWBaseTools/Source/Python/AutoGen/GenPcdDb.py1145 except Exception:STRING
LOWBaseTools/Source/Python/AutoGen/AutoGenWorker.py127 except Exception:CODE
LOWBaseTools/Source/Python/AutoGen/AutoGenWorker.py300 except Exception as e:CODE
MEDIUMBaseTools/Source/Python/AutoGen/AutoGenWorker.py106def run(self):CODE
MEDIUMBaseTools/Source/Python/AutoGen/AutoGenWorker.py167def GetPlatformMetaFile(self,filepath,root):CODE
LOWBaseTools/Source/Python/AutoGen/IncludesAutoGen.py72 except Exception as e:STRING
LOWBaseTools/Source/Python/AutoGen/IncludesAutoGen.py124 except Exception as e:CODE
LOWBaseTools/Source/Python/AutoGen/IncludesAutoGen.py296 except Exception as e:CODE
LOWBaseTools/Source/Python/AutoGen/IncludesAutoGen.py325 except Exception as e:CODE
LOWBaseTools/Source/Python/AutoGen/ModuleAutoGen.py1848 except Exception as e:STRING
76 more matches not shown…
Redundant / Tautological Comments87 hits · 126 pts
SeverityFileLineSnippetContext
LOWBaseTools/Source/Python/GenFds/FdfParser.py2953 # Check if file exists or not:COMMENT
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py404 ## Check if the input files are newer than output filesCOMMENT
LOWBaseTools/Source/Python/GenFds/FfsInfStatement.py111 # Check if current INF module has DEPEXCOMMENT
LOWBaseTools/Source/Python/UPT/MkPkg.py51# Check if there is a same name DP file existingCOMMENT
LOWBaseTools/Source/Python/UPT/RmPkg.py37# Check if the Depex is satisfiedCOMMENT
LOWBaseTools/Source/Python/UPT/InstallPkg.py347# Check if protocol CName is redefinedCOMMENT
LOWBaseTools/Source/Python/UPT/InstallPkg.py363# Check if Ppi CName is redefinedCOMMENT
LOWBaseTools/Source/Python/UPT/InstallPkg.py378# Check if Guid CName is redefinedCOMMENT
LOWBaseTools/Source/Python/UPT/InstallPkg.py394# Check if PcdName is redefinedCOMMENT
LOWBaseTools/Source/Python/UPT/InstallPkg.py418# Check if any Protocol/Ppi/Guid and Pcd name is redefined in its dependent DEC filesCOMMENT
LOWBaseTools/Source/Python/UPT/UnitTest/DecParserTest.py61 # Close fileCOMMENT
LOWBaseTools/Source/Python/UPT/Core/FileHook.py145 # Check if path needs to be hookedCOMMENT
LOWBaseTools/Source/Python/UPT/Core/PackageFile.py243 ## Close fileCOMMENT
LOWBaseTools/Source/Python/UPT/Library/Misc.py239## Check if given file exists or notCOMMENT
LOW⚡BaseTools/Source/Python/UPT/Library/Misc.py926 # Check if the suffix is one of the '.uni', '.UNI', '.Uni'COMMENT
LOW⚡BaseTools/Source/Python/UPT/Library/Misc.py935 # Check if '..' in the file name(without suffix)COMMENT
LOW⚡BaseTools/Source/Python/UPT/Library/Misc.py944 # Check if the file name is valid according to the DEC and INF specificationCOMMENT
LOWBaseTools/Source/Python/UPT/Library/UniClassObject.py484 # Check if single line has correct '"'COMMENT
LOWBaseTools/Source/Python/UPT/Library/Parsing.py70# Check if PcdTokenInfo is following <TokenSpaceGuidCName>.<PcdCName>COMMENT
LOWBaseTools/Source/Python/UPT/Library/StringUtils.py313# Check if the Filename is including ExtNameCOMMENT
LOWBaseTools/Source/Python/UPT/Library/StringUtils.py340# Check if the file existsCOMMENT
LOWBaseTools/Source/Python/UPT/Library/StringUtils.py502## Check if the string is HexDgit and its integer value within limit of UINT32COMMENT
LOWBaseTools/Source/Python/UPT/Library/StringUtils.py697## Check if two arches matched?COMMENT
LOW…eTools/Source/Python/UPT/Library/ExpressionValidate.py21# Check if String is comprised by whitespace(0x20), !(0x21), 0x23 - 0x7ECOMMENT
LOWBaseTools/Source/Python/UPT/Library/ParserValidate.py174# Check if pattern string matches total tokenCOMMENT
LOWBaseTools/Source/Python/UPT/Library/ParserValidate.py185# Check if path existCOMMENT
LOWBaseTools/Source/Python/UPT/Library/ParserValidate.py236# Check if an install path valid or not.COMMENT
LOWBaseTools/Source/Python/UPT/Library/ParserValidate.py262# Check if GUID format has the from of {8,4,4,{2,2,2,2,2,2,2,2}}COMMENT
LOWBaseTools/Source/Python/UPT/Library/ParserValidate.py305 # Check if string can be converted to integerCOMMENT
LOWBaseTools/Source/Python/UPT/Parser/InfParser.py451 # Check if the ModuleType is validCOMMENT
LOWBaseTools/Source/Python/UPT/Parser/DecParserMisc.py134# Check if Token is NumValUint8: <NumValUint8> ::= {<ShortNum>} {<UINT8>} {<Expression>}COMMENT
LOWBaseTools/Source/Python/UPT/Parser/DecParserMisc.py162# Check if Value has the format of <NumValUint8> ["," <NumValUint8>]{0,}COMMENT
LOW⚡BaseTools/Source/Python/UPT/Parser/DecParser.py375 # Check if this comment belongs to tail commentCOMMENT
LOWBaseTools/Source/Python/UPT/Xml/XmlParserMisc.py59# Check if a required XML section item/attribue is NULLCOMMENT
LOWBaseTools/Source/Python/UPT/Xml/XmlParser.py58 # Check if any required item is missing in DistributionPackageCOMMENT
LOWBaseTools/Source/Python/UPT/Xml/XmlParser.py318# Check if any required item is missing in ModuleSurfaceAreaCOMMENT
LOWBaseTools/Source/Python/UPT/Xml/XmlParser.py330# Check if any required item is missing in ModuleSurfaceAreaCOMMENT
LOWBaseTools/Source/Python/UPT/Xml/XmlParser.py453# Check if any required item is missing in ModuleSurfaceAreaCOMMENT
LOWBaseTools/Source/Python/UPT/Xml/XmlParser.py622# Check if any required item is missing in ModuleSurfaceAreaCOMMENT
LOWBaseTools/Source/Python/UPT/Xml/XmlParser.py920# Check if any required item is missing in PackageSurfaceAreaCOMMENT
LOWBaseTools/Source/Python/UPT/Xml/IniToXml.py144 # Check if all elements in this section are emptyCOMMENT
LOWBaseTools/Source/Python/FMMT/core/BiosTreeNode.py345 # Check if Data is validCOMMENT
LOWBaseTools/Source/Python/FMMT/core/BiosTreeNode.py374 # Check if Data is validCOMMENT
LOWBaseTools/Source/Python/Workspace/DscBuildData.py2887 # Check if the StructuredPcdsData.json exists or notSTRING
LOWBaseTools/Source/Python/Workspace/MetaFileParser.py316 # Check if the section name is validCOMMENT
LOWBaseTools/Source/Python/Common/Parsing.py284# Check if PcdTokenInfo is following <TokenSpaceGuidCName>.<PcdCName>COMMENT
LOWBaseTools/Source/Python/Common/StringUtils.py623# Check if the Filename is including ExtNameCOMMENT
LOWBaseTools/Source/Python/Common/StringUtils.py650# Check if the file existsCOMMENT
LOWBaseTools/Source/Python/Common/Expression.py244 # Check if current token matches the operators given from parameterCOMMENT
LOW…Source/Python/Common/Uefi/Capsule/CapsuleDependency.py191 # Check if priority of current operater is greater than pervious opCOMMENT
LOWBaseTools/Source/Python/Ecc/Configuration.py184 # Check if there is no trailing white space in one line.COMMENT
LOWBaseTools/Source/Python/Ecc/Configuration.py360 # Check if the EFI_SMM_COMMUNICATION_PROTOCOL parameter buffer type is Reserved / ACPI NVS or UEFI RT code/dataCOMMENT
LOWBaseTools/Source/Python/Ecc/Check.py46 # Check if SMM communication function has correct parameter typeCOMMENT
LOWBaseTools/Source/Python/Ecc/Check.py224 # Check if there is no trailing white space in one line.COMMENT
LOWBaseTools/Source/Python/Ecc/config.ini69# Check if there is no trailing white space in one line.COMMENT
LOWBaseTools/Source/Python/Ecc/config.ini260# Check if the EFI_SMM_COMMUNICATION_PROTOCOL parameter buffer type is Reserved / ACPI NVS or UEFI RT code/dataCOMMENT
LOWBaseTools/Source/Python/AutoGen/UniClassObject.py284 # Read fileCOMMENT
LOWBaseTools/Source/Python/AutoGen/GenMake.py955 # Check if header files are listed in metafileCOMMENT
LOWBaseTools/Source/Python/AutoGen/GenMake.py997 # Check if a module dependency header file is missing from the module's MetaFileCOMMENT
LOWBaseTools/Source/Python/AutoGen/ModuleAutoGen.py399 ## Check if the module is library or notSTRING
27 more matches not shown…
Hyper-Verbose Identifiers98 hits · 98 pts
SeverityFileLineSnippetContext
LOWBaseTools/Source/Python/FMMT/core/FvHandler.py821 def _rebase_subsequent_ffs_in_current_fv(self):CODE
LOWBaseTools/Source/Python/Ecc/CParser4/CParser.py1326 def struct_or_union_specifier(self):CODE
LOWBaseTools/Source/Python/Ecc/CParser4/CParser.py1556 def struct_or_union_specifier(self):CODE
LOWBaseTools/Source/Python/Ecc/CParser4/CParser.py2986 def direct_abstract_declarator(self):CODE
LOWBaseTools/Source/Python/Ecc/CParser4/CParser.py3053 def abstract_declarator_suffix(self, i:int=None):CODE
LOWBaseTools/Source/Python/Ecc/CParser4/CParser.py3074 def direct_abstract_declarator(self):CODE
LOWBaseTools/Source/Python/Ecc/CParser4/CParser.py3147 def abstract_declarator_suffix(self):CODE
LOWBaseTools/Source/Python/Ecc/CParser4/CParser.py3412 def multiplicative_expression(self, i:int=None):CODE
LOWBaseTools/Source/Python/Ecc/CParser4/CParser.py3505 def multiplicative_expression(self):CODE
LOWBaseTools/Source/Python/Eot/CParser3/CParser.py1486 def struct_or_union_specifier(self, ):CODE
LOWBaseTools/Source/Python/Eot/CParser3/CParser.py4234 def direct_abstract_declarator(self, ):CODE
LOWBaseTools/Source/Python/Eot/CParser3/CParser.py4585 def abstract_declarator_suffix(self, ):CODE
LOWBaseTools/Source/Python/Eot/CParser3/CParser.py5027 def multiplicative_expression(self, ):CODE
LOWBaseTools/Source/Python/Eot/CParser4/CParser.py1478 def struct_or_union_specifier(self):CODE
LOWBaseTools/Source/Python/Eot/CParser4/CParser.py1724 def struct_or_union_specifier(self):CODE
LOWBaseTools/Source/Python/Eot/CParser4/CParser.py3248 def direct_abstract_declarator(self):CODE
LOWBaseTools/Source/Python/Eot/CParser4/CParser.py3320 def abstract_declarator_suffix(self, i:int=None):CODE
LOWBaseTools/Source/Python/Eot/CParser4/CParser.py3347 def direct_abstract_declarator(self):CODE
LOWBaseTools/Source/Python/Eot/CParser4/CParser.py3425 def abstract_declarator_suffix(self):CODE
LOWBaseTools/Source/Python/Eot/CParser4/CParser.py3704 def multiplicative_expression(self, i:int=None):CODE
LOWBaseTools/Source/Python/Eot/CParser4/CParser.py3808 def multiplicative_expression(self):CODE
LOWBaseTools/Source/C/Makefiles/GnuMakeUtils.py188def _get_mingw_target_architecture():CODE
LOWBaseTools/Tests/MetaFileParserTests.py112 def _assert_component_private_records(self, parser, architecture):CODE
LOWBaseTools/Tests/MetaFileParserTests.py155 def test_private_records_use_expanded_component_architecture(self):CODE
LOWBaseTools/Tests/MetaFileParserTests.py167 def test_macro_architecture_is_independent_of_active_architecture(self):CODE
LOWBaseTools/Tests/MetaFileParserTests.py208 def test_literal_component_architecture_is_unchanged(self):CODE
LOWBaseTools/Tests/MetaFileParserTests.py220 def test_unresolved_component_architecture_macro_is_unchanged(self):CODE
LOWBaseTools/Tests/MetaFileParserTests.py232 def test_nested_include_private_records_use_expanded_architecture(self):CODE
LOWBaseTools/Tests/MetaFileParserTests.py245 def test_top_level_include_scope_is_not_expanded(self):CODE
LOWBaseTools/Tests/MetaFileParserTests.py268 def test_reprocessing_does_not_reuse_component_owner_mapping(self):CODE
LOWBaseTools/Tests/MetaFileParserTests.py308 def test_private_subsection_include_keeps_expanded_architecture(self):CODE
LOWBaseTools/Tests/MetaFileParserTests.py330 def test_multi_architecture_private_records_keep_matching_owners(self):CODE
LOWBaseTools/Tests/MetaFileParserTests.py343 def test_repeated_macro_sections_keep_private_records_with_their_owner(self):CODE
LOWBaseTools/Tests/FMMTTests.py102 def test_replace_multiple_matches_uses_independent_ffs_trees(self):CODE
LOWBaseTools/Tests/FMMTTests.py164 def test_smaller_replacement_creates_free_space_node(self):CODE
LOWBaseTools/Tests/FMMTTests.py186 def test_growing_nested_fv_preserves_final_ffs(self):CODE
LOWBaseTools/Tests/FMMTTests.py216 def test_block_aligned_growth_of_only_ffs_does_not_crash(self):CODE
LOWBaseTools/Tests/FMMTTests.py231 def test_block_aligned_growth_preserves_ffs_order(self):CODE
LOWBaseTools/Tests/FMMTTests.py256 def test_growing_ancestor_fv_preserves_final_ffs(self):CODE
LOW⚡BaseTools/Tests/TestRegularExpression.py15 def test_simple_byte_array_matches_legacy_parser(self):CODE
LOW⚡BaseTools/Tests/TestRegularExpression.py20 def test_nested_simple_byte_array_uses_legacy_parser(self):CODE
LOW⚡BaseTools/Tests/TestRegularExpression.py25 def test_multiline_byte_array_uses_legacy_parser(self):CODE
LOW⚡BaseTools/Tests/TestRegularExpression.py30 def test_non_dsc_whitespace_uses_legacy_parser(self):CODE
LOW⚡BaseTools/Tests/TestRegularExpression.py35 def test_structured_array_uses_legacy_parser(self):CODE
LOW⚡BaseTools/Tests/TestRegularExpression.py40 def test_trailing_comma_uses_legacy_parser(self):CODE
LOWBaseTools/Tests/TestFmmtExit.py28 def test_view_missing_file_exits_nonzero(self):CODE
LOWBaseTools/Tests/TestGenFvXip.py162 def test_determine_xip_enabled(self) -> None:CODE
LOWBaseTools/Tests/TestMultipleWorkspace.py44 def test_workspace_takes_precedence(self) -> None:CODE
LOWBaseTools/Tests/TestMultipleWorkspace.py57 def test_quoted_paths_with_spaces(self) -> None:CODE
LOWBaseTools/Tests/TestMultipleWorkspace.py75 def test_opposite_quote_inside_quoted_path(self) -> None:CODE
LOWBaseTools/Tests/TestMultipleWorkspace.py85 def test_first_existing_package_path_wins(self) -> None:CODE
LOWBaseTools/Tests/TestMultipleWorkspace.py96 def test_later_package_path_is_searched(self) -> None:CODE
LOWBaseTools/Tests/TestMultipleWorkspace.py106 def test_missing_path_stays_workspace_relative(self) -> None:CODE
LOWBaseTools/Tests/TestMultipleWorkspace.py124 def test_no_macro_is_unchanged(self) -> None:CODE
LOWBaseTools/Tests/TestMultipleWorkspace.py130 def test_multiple_options_preserve_whitespace_and_quotes(self) -> None:CODE
LOWBaseTools/Tests/TestMultipleWorkspace.py144 def test_windows_backslashes_are_preserved(self) -> None:CODE
LOWBaseTools/Plugin/DebugMacroCheck/DebugMacroCheck.py368def check_macros_in_directory(directory: PurePath,CODE
LOWBaseTools/Plugin/DebugMacroCheck/DebugMacroCheck.py421 def _show_file_discovered_message(file_count: int,CODE
LOWBaseTools/Plugin/DebugMacroCheck/DebugMacroCheck.py600def _module_invocation_check_macros_in_directory_wrapper() -> int:CODE
LOWBaseTools/Plugin/CodeQL/CodeQlVersionUpdate.py98def fetch_latest_codeql_version() -> str:CODE
38 more matches not shown…
Verbosity Indicators64 hits · 94 pts
SeverityFileLineSnippetContext
LOW⚡NetworkPkg/Library/DxeNetLib/DxeNetLib.c3379 // Step 1: Skip over formatted section.COMMENT
LOW⚡NetworkPkg/Library/DxeNetLib/DxeNetLib.c3384 // Step 2: Skip over unformatted string section.COMMENT
LOWNetworkPkg/TcpDxe/TcpInput.c49 // Step 1: Three duplicate ACKs and not in fast recoveryCOMMENT
LOWNetworkPkg/TcpDxe/TcpInput.c64 // Step 2: Entering fast retransmissionCOMMENT
LOWNetworkPkg/TcpDxe/TcpInput.c83 // Step 3: Fast Recovery,COMMENT
LOWUefiCpuPkg/Library/MtrrLib/MtrrLib.c846 // So, we need to check if TME is enabled and adjust the PA size accordingly.COMMENT
LOWMdePkg/Include/Library/UnitTestLib.h112 skipped. The purpose of this function is to clean up any global state orCODE
LOWMdePkg/Include/Library/UnitTestLib.h139 The purpose of this function is to set up any global state or test data.CODE
LOWMdePkg/Include/Library/UnitTestLib.h153 The purpose of this function is to clean up any global state or test data.CODE
LOWRedfishPkg/RedfishHttpDxe/RedfishHttpOperation.c298 // Step 1: build the HTTP headers.COMMENT
LOWRedfishPkg/RedfishHttpDxe/RedfishHttpOperation.c453 // Step 2: build the rest of HTTP request info.COMMENT
LOWRedfishPkg/RedfishHttpDxe/RedfishHttpOperation.c464 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c764 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c773 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c956 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c965 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1356 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1365 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c474 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c502 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c514 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c529 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c555 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c669 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c716 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c728 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c869 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c908 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c920 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1068 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1111 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1122 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1138 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1151 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1174 // Step 6: Parsing the HttpHeader to retrieve the X-Auth-Token if the HTTP StatusCode is correct.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1280 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1324 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1336 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW.github/scripts/RequestPrReviewers.py46 # Step 1: Get the GitHub created PR commit SHA (contains all changes in a single commit)COMMENT
LOW⚡.github/scripts/RequestPrReviewers.py60 # Step 2: Fetch only the PR commit to get the files changed in the PRCOMMENT
LOW⚡.github/scripts/RequestPrReviewers.py63 # Step 3: Get the list of reviewers for the PRCOMMENT
LOW.github/scripts/RequestPrReviewers.py76 # Step 4: Add the reviewers to the PRCOMMENT
LOW⚡SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.c158 // Step 0: Sanity check for input argumentCOMMENT
LOW⚡SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.c164 // Step 1: Grab the common buffer headerCOMMENT
LOW⚡SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.c171 // Step 2: Grab one that is large enough to hold TPM_NVS_MM_COMM_BUFFER, the IPL one should be sufficientCOMMENT
LOWSecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.c191 // Step 3: Start to populate contentsCOMMENT
LOW⚡SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.c204 // Step 4: Locate the protocol and signal Mmi.COMMENT
LOW⚡SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.c214 // Step 5: If everything goes well, populate the channel numberCOMMENT
LOW⚡…/Library/SecureBootVariableLib/SecureBootVariableLib.c624 // Step 1: Notify that a PK update is coming shortly...COMMENT
LOW⚡…/Library/SecureBootVariableLib/SecureBootVariableLib.c633 // Step 2: Attempt to delete the PK.COMMENT
LOW…/Library/SecureBootVariableLib/SecureBootVariableLib.c649 // Step 3: Attempt to delete remaining keys/databases...COMMENT
LOWMdeModulePkg/Core/Dxe/Mem/HeapGuard.c907 The purpose of this function is to keep the shared Guard page with adjacentCODE
LOWMdeModulePkg/Core/Dxe/Mem/HeapGuard.h256 The purpose of this function is to keep the shared Guard page with adjacentCODE
LOWMdeModulePkg/Core/PiSmmCore/HeapGuard.c818 The purpose of this function is to keep the shared Guard page with adjacentCODE
LOWMdeModulePkg/Core/PiSmmCore/HeapGuard.h216 The purpose of this function is to keep the shared Guard page with adjacentCODE
LOW⚡MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c1657 // Step 1: Skip over formatted section.COMMENT
LOW⚡MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c1662 // Step 2: Skip over unformatted string section.COMMENT
LOWMdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c2180 // Step 1:COMMENT
LOWMdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c2197 // Step 2:COMMENT
LOW…odulePkg/Library/VariablePolicyLib/VariablePolicyLib.c244 // Step 1: If the GUID doesn't match, we're done. No need to evaluate anything else.COMMENT
4 more matches not shown…
Decorative Section Separators21 hits · 90 pts
SeverityFileLineSnippetContext
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py294 #======================================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py296 #======================================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py302 #======================================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py304 #======================================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py309 #==============================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py311 #==============================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py319 #==============================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py321 #==============================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py326 #==========================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py328 #==========================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py338 #==============================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py340 #==============================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py344 #==============================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py346 #==============================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py355 #==========================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py358 #==========================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py374 #==========================================================COMMENT
MEDIUM⚡BaseTools/Source/Python/UPT/Parser/DecParser.py376 #==========================================================COMMENT
MEDIUMBaseTools/Tests/TestGenFvXip.py773 # ===================================================================COMMENT
MEDIUMBaseTools/Tests/TestGenFvXip.py775 # ===================================================================COMMENT
MEDIUMIntelFsp2Pkg/Tools/ConfigEditor/SingleSign.py18 # =================================================================COMMENT
Structural Annotation Overuse58 hits · 89 pts
SeverityFileLineSnippetContext
LOWArmPkg/Library/FmpDevicePsaFwuLib/FmpDevicePsaFwuLib.c582 // NOTE: This method of using a PCD can only be used for the system firmwareCOMMENT
LOWArmPkg/Library/FmpDevicePsaFwuLib/FmpDevicePsaFwuLib.c631 // NOTE: This method of using a PCD can only be used for the system firmwareCOMMENT
LOWArmPkg/Library/FmpDevicePsaFwuLib/FmpDevicePsaFwuLib.c675 // NOTE: This method of using a PCD can only be used for the system firmwareCOMMENT
LOW⚡NetworkPkg/Library/DxeNetLib/DxeNetLib.c3379 // Step 1: Skip over formatted section.COMMENT
LOW⚡NetworkPkg/Library/DxeNetLib/DxeNetLib.c3384 // Step 2: Skip over unformatted string section.COMMENT
LOWNetworkPkg/TcpDxe/TcpInput.c49 // Step 1: Three duplicate ACKs and not in fast recoveryCOMMENT
LOWNetworkPkg/TcpDxe/TcpInput.c64 // Step 2: Entering fast retransmissionCOMMENT
LOWNetworkPkg/TcpDxe/TcpInput.c83 // Step 3: Fast Recovery,COMMENT
LOWNetworkPkg/TcpDxe/TcpInput.c104 // Step 5 - Full ACK:COMMENT
LOWNetworkPkg/TcpDxe/TcpInput.c120 // Step 5 - Partial ACK:COMMENT
LOWBaseTools/Source/C/VfrCompile/Pccts/antlr/gen.c3913 /* ###WARNING: This will have to change when SetWordSize changes */COMMENT
LOWBaseTools/Source/C/VfrCompile/Pccts/antlr/gen.c4127 /* ###WARNING: This will have to change when SetWordSize changes */COMMENT
LOWRedfishPkg/RedfishHttpDxe/RedfishHttpOperation.c298 // Step 1: build the HTTP headers.COMMENT
LOWRedfishPkg/RedfishHttpDxe/RedfishHttpOperation.c453 // Step 2: build the rest of HTTP request info.COMMENT
LOWRedfishPkg/RedfishHttpDxe/RedfishHttpOperation.c464 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c764 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c773 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c956 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c965 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1356 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1365 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c474 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c502 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c514 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c529 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c555 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c669 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c716 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c728 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c869 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c908 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c920 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1068 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1111 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1122 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1138 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1151 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1174 // Step 6: Parsing the HttpHeader to retrieve the X-Auth-Token if the HTTP StatusCode is correct.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1280 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1324 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1336 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW.github/scripts/RequestPrReviewers.py46 # Step 1: Get the GitHub created PR commit SHA (contains all changes in a single commit)COMMENT
LOW⚡.github/scripts/RequestPrReviewers.py60 # Step 2: Fetch only the PR commit to get the files changed in the PRCOMMENT
LOW⚡.github/scripts/RequestPrReviewers.py63 # Step 3: Get the list of reviewers for the PRCOMMENT
LOW.github/scripts/RequestPrReviewers.py76 # Step 4: Add the reviewers to the PRCOMMENT
LOW⚡SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.c158 // Step 0: Sanity check for input argumentCOMMENT
LOW⚡SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.c164 // Step 1: Grab the common buffer headerCOMMENT
LOW⚡SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.c171 // Step 2: Grab one that is large enough to hold TPM_NVS_MM_COMM_BUFFER, the IPL one should be sufficientCOMMENT
LOWSecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.c191 // Step 3: Start to populate contentsCOMMENT
LOW⚡SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.c204 // Step 4: Locate the protocol and signal Mmi.COMMENT
LOW⚡SecurityPkg/Tcg/Tcg2Acpi/Tcg2Acpi.c214 // Step 5: If everything goes well, populate the channel numberCOMMENT
LOW⚡…/Library/SecureBootVariableLib/SecureBootVariableLib.c624 // Step 1: Notify that a PK update is coming shortly...COMMENT
LOW⚡…/Library/SecureBootVariableLib/SecureBootVariableLib.c633 // Step 2: Attempt to delete the PK.COMMENT
LOW…/Library/SecureBootVariableLib/SecureBootVariableLib.c649 // Step 3: Attempt to delete remaining keys/databases...COMMENT
LOW⚡MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c1657 // Step 1: Skip over formatted section.COMMENT
LOW⚡MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c1662 // Step 2: Skip over unformatted string section.COMMENT
LOW…odulePkg/Library/VariablePolicyLib/VariablePolicyLib.c244 // Step 1: If the GUID doesn't match, we're done. No need to evaluate anything else.COMMENT
LOW…ry/ImagePropertiesRecordLib/ImagePropertiesRecordLib.c1043 // Step 1: record whole regionCOMMENT
AI Slop Vocabulary18 hits · 40 pts
SeverityFileLineSnippetContext
MEDIUMBaseTools/Source/Python/GenFds/FdfParser.py124 # helper functions to facilitate consistency in warningsCOMMENT
LOWBaseTools/Source/Python/GenFds/GenFds.py190 # Get alternate Conf location, if it is absolute, then just use the absolute directory nameCOMMENT
LOW…eTools/Source/Python/UPT/PomAdapter/InfPomAlignment.py265 # Only one define section, so just call once.COMMENT
LOWBaseTools/Source/Python/FMMT/core/FMMTParser.py35 # If current node do not have Header, just add Data.COMMENT
LOWBaseTools/Source/Python/FMMT/core/FMMTParser.py51 # If current node do not have Child and ExtHeader, just add its Header and Data.COMMENT
LOWBaseTools/Source/Python/Workspace/WorkspaceDatabase.py98 # if it's generated before, just return the cached oneCOMMENT
MEDIUMBaseTools/Source/Python/Common/EdkLogger.py15# not be used in advertising or publicity pertaining to distributionCOMMENT
LOWBaseTools/Source/Python/Common/TargetTxtClassObject.py170 # Get alternate Conf location, if it is absolute, then just use the absolute directory nameCOMMENT
LOWBaseTools/Source/Python/AutoGen/ModuleAutoGenHelper.py71 # if it exists, just return it directlyCOMMENT
LOWBaseTools/Source/Python/AutoGen/AutoGen.py41 # if it exists, just return it directlyCOMMENT
MEDIUMBaseTools/Source/C/VfrCompile/Pccts/h/ATokPtr.h41// robust in that an unused ANTLRTokenPtr can point to NULL.COMMENT
MEDIUMBaseTools/Plugin/ClangToolChain/ClangToolChain.py4# This plugin works in conjunction with the tools_defCOMMENT
LOWBaseTools/Scripts/efi_gdb.py253 # then we could just use uuid.UUID() to convertCOMMENT
MEDIUM…tInfoLibAcpiBoardInfo/PciSegmentInfoLibAcpiBoardInfo.c75 // mPciSegments is global data that will be updated with the pPciSegments for caller to utilize. (size depends on numbCOMMENT
MEDIUMMdePkg/Include/Protocol/WiFi.h361 /// robust management frames.COMMENT
MEDIUMSecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12Tis.c546 // Some other program might leverage this function to check the existence of TPM chip.COMMENT
MEDIUM…ry/ImagePropertiesRecordLib/ImagePropertiesRecordLib.c524 // If we didn't utilize all the extra allocated descriptor slots, set the physical address of the unused slotsCOMMENT
MEDIUM…ary/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.c30 // discovered base address in a global), and the most robust way to dealCOMMENT
AI Structural Patterns28 hits · 28 pts
SeverityFileLineSnippetContext
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py435CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py577CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py609CODE
LOWBaseTools/Source/Python/UPT/Library/Misc.py312CODE
LOWBaseTools/Source/Python/Capsule/GenerateCapsule.py526CODE
LOWBaseTools/Source/Python/Workspace/BuildClassObject.py49CODE
LOWBaseTools/Source/Python/Workspace/BuildClassObject.py272CODE
LOWBaseTools/Source/Python/Workspace/MetaFileTable.py111CODE
LOWBaseTools/Source/Python/Workspace/MetaFileTable.py163CODE
LOWBaseTools/Source/Python/Workspace/MetaFileTable.py206CODE
LOWBaseTools/Source/Python/Workspace/MetaFileTable.py332CODE
LOWBaseTools/Source/Python/Workspace/MetaFileTable.py392CODE
LOWBaseTools/Source/Python/Common/Misc.py1437CODE
LOWBaseTools/Source/Python/Table/TableEotReport.py58CODE
LOW…s/Source/Python/Ecc/MetaFileWorkspace/MetaFileTable.py82CODE
LOW…s/Source/Python/Ecc/MetaFileWorkspace/MetaFileTable.py165CODE
LOW…s/Source/Python/Ecc/MetaFileWorkspace/MetaFileTable.py246CODE
LOWBaseTools/Source/Python/CommonDataClass/DataClass.py216CODE
LOWBaseTools/Source/Python/CommonDataClass/DataClass.py270CODE
LOWBaseTools/Source/Python/CommonDataClass/DataClass.py316CODE
LOWBaseTools/Source/Python/CommonDataClass/DataClass.py357CODE
LOWBaseTools/Source/Python/CommonDataClass/CommonClass.py32CODE
LOWBaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py62CODE
LOWBaseTools/Source/Python/Eot/EotMain.py1111CODE
LOWBaseTools/Scripts/efi_debugging.py1964CODE
LOWIntelFsp2Pkg/Tools/FspDscBsf2Yaml.py99CODE
LOWIntelFsp2Pkg/Tools/ConfigEditor/GenYamlCfg.py1598CODE
LOWIntelFsp2Pkg/Tools/ConfigEditor/CommonUtility.py173CODE
Synthetic Comment Markers4 hits · 25 pts
SeverityFileLineSnippetContext
HIGHBaseTools/Source/Python/AutoGen/ModuleAutoGen.py914 ## Return the list of auto-generated code fileSTRING
HIGHOvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.c101 // The I/O operations are carried out exactly as requested. The callerCOMMENT
HIGHOvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.c181 // The I/O operations are carried out exactly as requested. The callerCOMMENT
HIGHMdePkg/Include/Protocol/MpService.h638/// whenever the APs are disabled or the APs are not executing code as requestedCOMMENT
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHBaseTools/Plugin/DebugMacroCheck/DebugMacroCheck.py610Returns the absolute path if the path is a directory." Args: dir_path (str): A directory file systeSTRING
HIGHBaseTools/Plugin/DebugMacroCheck/DebugMacroCheck.py628Returns the absolute path if the path is a file." Args: file_path (str): A file path. RaisSTRING
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALEmulatorPkg/Unix/lldbefi.py381 frame.thread.process.target.debugger.HandleCommand("process handle SIGALRM -n false")CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHTcgTpmPkg/Library/TpmLib/Ossl/BnToOsslMath.c16// This function converts an OpenSSL BIGNUM to a TPM bigNum. In this implementationCOMMENT
Dead Code3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…Tools/plugins/EdkPlugins/edk2/model/doxygengen_spec.py383CODE
MEDIUM…Tools/plugins/EdkPlugins/edk2/model/doxygengen_spec.py384CODE
MEDIUMIntelFsp2Pkg/Tools/ConfigEditor/CommonUtility.py165CODE
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWBaseTools/Source/Python/AutoGen/__init__.py11__all__ = ["AutoGen"]CODE
LOWBaseTools/Plugin/CodeQL/integration/stuart_codeql.py67def set_audit_only_mode(uefi_builder: UefiBuilder) -> None:CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWBaseTools/Scripts/efi_debugging.py47# debugger python to make sure you are in sync.COMMENT