AI Slop Code Risk Monitor

CloverHackyColor/CloverBootloader

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

Bootloader for macOS, Windows and Linux in UEFI and in legacy mode

3.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for CloverHackyColor/CloverBootloader, a C project with 5,151 GitHub stars. SynthScan examined 3,794,277 lines of code across 8662 source files, recording 13584 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 3.7 (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.

3.7
Adjusted Signal
3.7
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
5.2K
Stars
C
Language
3.8M
Lines of Code
8.7K
Files
13.6K
Pattern Hits
2026-10-31
Scan Date
0.01
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 14.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.8/100 · LOW

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

Agent Over-Engineering Ratio 2.1/100 · LOW

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

PR Review Velocity Impact 18.3/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 0HIGH 102MEDIUM 621LOW 12861

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 13584 distinct pattern matches across 20 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 Block11292 hits · 10260 pts
SeverityFileLineSnippetContext
LOWbuildnasm.sh1#!/bin/bashCOMMENT
LOWbuild_gcc16.sh1#!/bin/bashCOMMENT
LOWbuild_gcc16.sh41 export ISL_VERSION=${ISL_VERSION:-isl-0.24}COMMENT
LOWhebuild.sh1#!/bin/bashCOMMENT
LOWhebuild.sh61# if [[ "$TOOLCHAIN" == XCLANG ]]; thenCOMMENT
LOWedksetup.sh1#COMMENT
LOWebuild.sh1#!/bin/bashCOMMENT
LOWebuild.sh61# if [[ "$TOOLCHAIN" == XCLANG ]]; thenCOMMENT
LOWebuild.sh541# echo "old revision ${builtedRev}" >echo.txtCOMMENT
LOWbuildExtras.sh1#!/bin/bashCOMMENT
LOWbuildgettext.sh1#!/bin/bashCOMMENT
LOW…ConfigPlistValidator/Include/poolprint-test-cpp_conf.h1COMMENT
LOW…gPlistValidator/Include/poolprintfloat-test-cpp_conf.h1COMMENT
LOW…CloverConfigPlistValidator/old/poolprintfloat-test.cpp1//COMMENT
LOW…onfigPlistValidator/old/poolprintfloat-test-cpp_conf.h1COMMENT
LOWXcode/CloverConfigPlistValidator/src/Platform.cpp1//COMMENT
LOWXcode/CloverConfigPlistValidator/src/main.cpp1//COMMENT
LOWXcode/CloverMacOsApp/Include/poolprint-test-cpp_conf.h1COMMENT
LOW…/CloverMacOsApp/Include/poolprintfloat-test-cpp_conf.h1COMMENT
LOWXcode/CloverMacOsApp/old/poolprintfloat-test.cpp1//COMMENT
LOWXcode/CloverMacOsApp/old/poolprintfloat-test-cpp_conf.h1COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp1//COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp21COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp41extern bool gEnableCloverLog;COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp61//COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp81// return EFI_SUCCESS;COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp101// Status = GetUserSettings(*dict, *settings);COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp121// COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp141// if ( enableLog ) printf("\n");COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp161//// if ( nbError == 0 )COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp181//// }COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp201//{COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp221//COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp241//COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp261// COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp281// EFI_STATUS Status;COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp301// return EFI_SUCCESS;COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp321//// printf("GetEarlyUserSettings returns %s\n", efiStrError(Status));COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp341// xmlLiteParser.init(source, newLen);COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp361// nbStructuralProblem += 1;COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp381// settings3.takeValueFrom(configPlist);COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp401// if ( source8.contains("<key>Boot</key>"_XS8) || source8.contains("<key>KernelAndKextPatches</key>"_XS8) || sourcCOMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp421// // fprintf(stderr, "\n");COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp441//// TestEq t1;COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp461// while ((entry = readdir(dir)) != NULL)COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp481// if ( ! iterate_test_file(fullpath) ) return false;COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp501COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp521//// test1_file("config-small.plist", true, true);COMMENT
LOWXcode/CloverMacOsApp/src/main_compare_settings.cpp541// if ( stat(file.c_str(), &st_stat) != 0 ) {COMMENT
LOWXcode/CloverMacOsApp/src/main_fixbiosdsdt.cpp1//COMMENT
LOWXcode/CloverMacOsApp/src/main_fixbiosdsdt.cpp21COMMENT
LOWXcode/CloverMacOsApp/src/Platform.cpp1//COMMENT
LOWXcode/CloverMacOsApp/src/main_read_config.plist.cpp1//COMMENT
LOWXcode/CloverMacOsApp/src/main.cpp1////COMMENT
LOWXcode/CloverMacOsApp/src/main.cpp21//// xcode_utf_fixed_tests();COMMENT
LOWXcode/CloverMacOsApp/src/main.cpp41#include <locale.h>COMMENT
LOWXcode/CloverMacOsApp/src/main.cpp61//COMMENT
LOWXcode/cpp_tests/old/poolprintfloat-test.cpp1//COMMENT
LOWXcode/cpp_tests/old/poolprintfloat-test-cpp_conf.h1COMMENT
LOWXcode/cpp_tests/src/BaseLib.c1//COMMENT
11232 more matches not shown…
Decorative Section Separators327 hits · 1082 pts
SeverityFileLineSnippetContext
MEDIUMCloverPackage/package/buildpkg.sh97# =================COMMENT
MEDIUMCloverPackage/package/buildpkg.sh137# =================COMMENT
MEDIUMCloverPackage/package/buildpkg.sh1519 # ------------------------------------------------------COMMENT
MEDIUMCloverPackage/package/buildpkg.sh1523 # ------------------------------------------------------COMMENT
MEDIUMCloverPackage/package/buildpkg.sh1536 # ------------------------------------------------------COMMENT
MEDIUMCloverPackage/package/buildpkg.sh1538 # ------------------------------------------------------COMMENT
MEDIUMCloverPackage/package/buildpkg.sh1555 # ------------------------------------------------------COMMENT
MEDIUMCloverPackage/package/buildpkg.sh1558 # ------------------------------------------------------COMMENT
MEDIUMCloverPackage/package/bin/po4a/lib/Locale/Po4a/Man.pm2347# ============COMMENT
MEDIUMCloverPackage/package/bin/po4a/lib/Locale/Po4a/Man.pm2381 # ==================COMMENT
MEDIUMCloverPackage/package/bin/po4a/lib/Locale/Po4a/Man.pm2432 # ====================COMMENT
MEDIUMCloverPackage/package/bin/po4a/lib/Locale/Po4a/Man.pm2442 # ===================COMMENT
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
MEDIUM…brary/OpensslLib/openssl/crypto/md5/asm/md5-sparcv9.pl10# ====================================================================COMMENT
MEDIUM…brary/OpensslLib/openssl/crypto/md5/asm/md5-sparcv9.pl17# ====================================================================COMMENT
MEDIUMLibrary/OpensslLib/openssl/crypto/rc4/asm/rc4-586.pl10# ====================================================================COMMENT
MEDIUMLibrary/OpensslLib/openssl/crypto/rc4/asm/rc4-586.pl15# ====================================================================COMMENT
MEDIUMLibrary/OpensslLib/openssl/crypto/rc4/asm/rc4-parisc.pl10# ====================================================================COMMENT
MEDIUMLibrary/OpensslLib/openssl/crypto/rc4/asm/rc4-parisc.pl15# ====================================================================COMMENT
MEDIUMLibrary/OpensslLib/openssl/crypto/rc4/asm/rc4-s390x.pl10# ====================================================================COMMENT
MEDIUMLibrary/OpensslLib/openssl/crypto/rc4/asm/rc4-s390x.pl15# ====================================================================COMMENT
MEDIUM…rary/OpensslLib/openssl/crypto/rc4/asm/rc4-c64xplus.pl10# ====================================================================COMMENT
MEDIUM…rary/OpensslLib/openssl/crypto/rc4/asm/rc4-c64xplus.pl15# ====================================================================COMMENT
MEDIUMLibrary/OpensslLib/openssl/crypto/rc4/asm/rc4-x86_64.pl10# ====================================================================COMMENT
MEDIUMLibrary/OpensslLib/openssl/crypto/rc4/asm/rc4-x86_64.pl15# ====================================================================COMMENT
MEDIUM⚡…ry/OpensslLib/openssl/crypto/rc4/asm/rc4-md5-x86_64.pl10# ====================================================================COMMENT
MEDIUM⚡…ry/OpensslLib/openssl/crypto/rc4/asm/rc4-md5-x86_64.pl15# ====================================================================COMMENT
MEDIUM…ary/OpensslLib/openssl/crypto/des/asm/dest4-sparcv9.pl10# ====================================================================COMMENT
MEDIUM…ary/OpensslLib/openssl/crypto/des/asm/dest4-sparcv9.pl14# ====================================================================COMMENT
MEDIUM…ary/OpensslLib/openssl/crypto/modes/asm/ghash-alpha.pl10# ====================================================================COMMENT
MEDIUM…ary/OpensslLib/openssl/crypto/modes/asm/ghash-alpha.pl15# ====================================================================COMMENT
MEDIUM…rary/OpensslLib/openssl/crypto/modes/asm/ghash-ia64.pl10# ====================================================================COMMENT
MEDIUM…rary/OpensslLib/openssl/crypto/modes/asm/ghash-ia64.pl15# ====================================================================COMMENT
MEDIUM…ry/OpensslLib/openssl/crypto/modes/asm/ghash-parisc.pl10# ====================================================================COMMENT
MEDIUM…ry/OpensslLib/openssl/crypto/modes/asm/ghash-parisc.pl15# ====================================================================COMMENT
MEDIUM…ary/OpensslLib/openssl/crypto/modes/asm/ghashp8-ppc.pl10# ====================================================================COMMENT
MEDIUM…ary/OpensslLib/openssl/crypto/modes/asm/ghashp8-ppc.pl15# ====================================================================COMMENT
MEDIUM…ry/OpensslLib/openssl/crypto/modes/asm/ghashv8-armx.pl10# ====================================================================COMMENT
MEDIUM…ry/OpensslLib/openssl/crypto/modes/asm/ghashv8-armx.pl15# ====================================================================COMMENT
MEDIUM…/OpensslLib/openssl/crypto/modes/asm/ghash-c64xplus.pl10# ====================================================================COMMENT
MEDIUM…/OpensslLib/openssl/crypto/modes/asm/ghash-c64xplus.pl15# ====================================================================COMMENT
MEDIUM…y/OpensslLib/openssl/crypto/modes/asm/ghash-sparcv9.pl10# ====================================================================COMMENT
MEDIUM…y/OpensslLib/openssl/crypto/modes/asm/ghash-sparcv9.pl15# ====================================================================COMMENT
267 more matches not shown…
Self-Referential Comments235 hits · 716 pts
SeverityFileLineSnippetContext
MEDIUMbuild_gcc16.sh422 # Create the sdk directory and link it to the native sdk directoryCOMMENT
MEDIUMbuild_gcc16.sh466 # Create a new and clean sdk directoryCOMMENT
MEDIUMbuild_gcc16.sh477 # Create a link for ccCOMMENT
MEDIUM⚡CloverPackage/package/buildpkg.sh1655 # Create the Payload file (cpio format)COMMENT
MEDIUM⚡CloverPackage/package/buildpkg.sh1660 # Create the packageCOMMENT
MEDIUMCloverPackage/package/buildpkg.sh1704 # Create the node and standard attributesCOMMENT
MEDIUMCloverPackage/package/buildpkg.sh1779 # Create the Distribution fileCOMMENT
MEDIUMCloverPackage/package/buildpkg.sh1798 # Create the Resources directoryCOMMENT
MEDIUMCloverPackage/package/buildpkg.sh1809 # Create the final packageCOMMENT
MEDIUM…verPackage/package/bin/po4a/lib/Locale/Po4a/Texinfo.pm5# This file is part of po4a.COMMENT
MEDIUMCloverPackage/package/bin/po4a/lib/Locale/Po4a/TeX.pm5# This file is part of po4a.COMMENT
MEDIUM…verPackage/package/bin/po4a/lib/Locale/Po4a/Halibut.pm5# This file is part of po4a.COMMENT
MEDIUMCloverPackage/package/bin/po4a/lib/Locale/Po4a/LaTeX.pm5# This file is part of po4a.COMMENT
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
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.py232# 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
175 more matches not shown…
Deep Nesting751 hits · 601 pts
SeverityFileLineSnippetContext
LOWBaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py51CODE
LOWBaseTools/Source/Python/GenFds/Capsule.py49CODE
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.py1790CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py1975CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py2611CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py2708CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py2781CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py2962CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py3027CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py3085CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py3234CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py3597CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py3758CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py3990CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py4032CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py4185CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py4282CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py4304CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py4327CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py4349CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py4390CODE
LOWBaseTools/Source/Python/GenFds/GuidSection.py53CODE
LOWBaseTools/Source/Python/GenFds/FfsFileStatement.py52CODE
LOWBaseTools/Source/Python/GenFds/Section.py109CODE
LOWBaseTools/Source/Python/GenFds/DataSection.py47CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py853CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py126CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py199CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py436CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py537CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py805CODE
LOWBaseTools/Source/Python/GenFds/Fv.py74CODE
LOWBaseTools/Source/Python/GenFds/Fv.py241CODE
LOWBaseTools/Source/Python/GenFds/Fv.py269CODE
LOWBaseTools/Source/Python/GenFds/FfsInfStatement.py79CODE
LOWBaseTools/Source/Python/GenFds/FfsInfStatement.py151CODE
LOWBaseTools/Source/Python/GenFds/FfsInfStatement.py601CODE
LOWBaseTools/Source/Python/GenFds/FfsInfStatement.py722CODE
LOWBaseTools/Source/Python/GenFds/FfsInfStatement.py906CODE
LOWBaseTools/Source/Python/GenFds/AprioriSection.py49CODE
LOWBaseTools/Source/Python/GenFds/EfiSection.py52CODE
LOWBaseTools/Source/Python/GenFds/GenFds.py107CODE
LOWBaseTools/Source/Python/GenFds/GenFds.py558CODE
LOWBaseTools/Source/Python/GenFds/GenFds.py593CODE
LOWBaseTools/Source/Python/GenFds/GenFds.py674CODE
LOWBaseTools/Source/Python/GenFds/Fd.py43CODE
LOWBaseTools/Source/Python/Split/Split.py95CODE
LOWBaseTools/Source/Python/Split/Split.py117CODE
LOWBaseTools/Source/Python/UPT/MkPkg.py69CODE
691 more matches not shown…
Unused Imports497 hits · 486 pts
SeverityFileLineSnippetContext
LOWBaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py19CODE
LOWBaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py21CODE
LOWBaseTools/Source/Python/GenFds/Capsule.py12CODE
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.py16CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py19CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py22CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py24CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py25CODE
LOWBaseTools/Source/Python/GenFds/FdfParser.py29CODE
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
437 more matches not shown…
Empty Error Handlers40 hits · 200 pts
SeverityFileLineSnippetContext
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.py960except:CODE
HIGH…eTools/Source/Python/UPT/PomAdapter/DecPomAlignment.py860except BaseException:CODE
HIGHBaseTools/Source/Python/Workspace/MetaFileParser.py1692except:CODE
HIGHBaseTools/Source/Python/Common/Expression.py149except:CODE
HIGHBaseTools/Source/Python/Common/Expression.py383except BadExpression:CODE
HIGHBaseTools/Source/Python/Common/Expression.py876except ValueError:CODE
HIGHBaseTools/Source/Python/Common/Expression.py956except:CODE
HIGHBaseTools/Source/Python/Common/Expression.py960except:CODE
HIGHBaseTools/Source/Python/Common/Expression.py979except:CODE
HIGH…/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py1166except EvaluationException as Excpt:CODE
HIGH…/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py1961except 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.py557except Exception:CODE
HIGHBaseTools/Source/Python/Eot/EotMain.py1095except EOFError:CODE
HIGHBaseTools/Source/Python/Eot/EotMain.py753except:CODE
HIGHBaseTools/Source/Python/Eot/EotMain.py774except:CODE
HIGHBaseTools/Source/Python/Eot/Report.py462except 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/Tests/CheckUnicodeSourceFiles.py73except Exception:CODE
HIGHBaseTools/Scripts/SetupGit.py185except (ConfigParser.NoSectionError, ConfigParser.NoOptionError):CODE
HIGHBaseTools/Scripts/RunMakefile.py124except:CODE
HIGHBaseTools/Scripts/PatchCheck.py618except ValueError:CODE
Cross-File Repetition33 hits · 165 pts
SeverityFileLineSnippetContext
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
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
Cross-Language Confusion25 hits · 132 pts
SeverityFileLineSnippetContext
HIGHBaseTools/Source/Python/Workspace/DscBuildData.py2125 CApp = CApp + ' memcpy (&%s, Value, (FieldSize > 0 && FieldSize < %d) ? FieldSize : %d);\n' % (indiSTRING
HIGHBaseTools/Source/Python/Workspace/DscBuildData.py2290 CApp = CApp + ' memcpy (&%s, Value, (FieldSize > 0 && FieldSize < %d) ? FieldSize : %d);\n' % (STRING
HIGHBaseTools/Source/Python/Workspace/DscBuildData.py2359 CApp = CApp + ' memcpy (&Pcd->%s, Value, (FieldSize > 0 && FieldSize < %d) ? FieldSize : %d);\n' % STRING
HIGHBaseTools/Source/Python/Workspace/DscBuildData.py2428 CApp = CApp + ' memcpy (&Pcd->%s, Value, (FieldSize > 0 && FieldSize < %d) ? FieldSize : %d);\nSTRING
HIGHBaseTools/Source/Python/Workspace/DscBuildData.py2496 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.py156 POSIX_PLATFORM : "@test -e %(dir)s && cd %(dir)s"STRING
Redundant / Tautological Comments73 hits · 108 pts
SeverityFileLineSnippetContext
LOWCloverPackage/package/translate.sh73# Check if pot and po files need to be updatedCOMMENT
LOW⚡CloverPackage/package/buildpkg.sh1664 # Add the package to the list of build packagesCOMMENT
LOWCloverPackage/package/buildpkg.sh148# Check if an element is in an arrayCOMMENT
LOWCloverPackage/package/bin/po4a/lib/Locale/Po4a/Sgml.pm1120 # Check if this line of data appear on the same lineCOMMENT
LOWCloverPackage/package/bin/po4a/lib/Locale/Po4a/Sgml.pm1152 # Check if this line of data appear on the same lineCOMMENT
LOWCloverPackage/package/bin/po4a/lib/Locale/Po4a/Man.pm2030# Set stringvar to anything.COMMENT
LOWCloverPackage/package/bin/po4a/lib/Locale/Po4a/Xml.pm797 # Check if there is an internal subset (between []).COMMENT
LOWCloverPackage/package/bin/po4a/lib/Locale/Po4a/Xml.pm1482 # Check if this is closing theCOMMENT
LOWCloverPackage/package/bin/po4a/lib/Locale/Po4a/Xml.pm1531 # Check if text (extracted after the inline tag)COMMENT
LOWBaseTools/Source/Python/GenFds/FdfParser.py2939 # Check if file exists or not:COMMENT
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py405 ## Check if the input files are newer than output filesCOMMENT
LOWBaseTools/Source/Python/GenFds/FfsInfStatement.py87 # 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.py961 # Check if the suffix is one of the '.uni', '.UNI', '.Uni'COMMENT
LOW⚡BaseTools/Source/Python/UPT/Library/Misc.py970 # Check if '..' in the file name(without suffix)COMMENT
LOW⚡BaseTools/Source/Python/UPT/Library/Misc.py979 # Check if the file name is valid according to the DEC and INF specificationCOMMENT
LOWBaseTools/Source/Python/UPT/Library/UniClassObject.py542 # Check if single line has correct '"'COMMENT
LOWBaseTools/Source/Python/UPT/Library/Parsing.py124# Check if PcdTokenInfo is following <TokenSpaceGuidCName>.<PcdCName>COMMENT
LOWBaseTools/Source/Python/UPT/Library/StringUtils.py507# Check if the Filename is including ExtNameCOMMENT
LOWBaseTools/Source/Python/UPT/Library/StringUtils.py534# Check if the file existsCOMMENT
LOWBaseTools/Source/Python/UPT/Library/StringUtils.py710## Check if the string is HexDgitCOMMENT
LOWBaseTools/Source/Python/UPT/Library/StringUtils.py731## Check if the string is HexDgit and its integer value within limit of UINT32COMMENT
LOWBaseTools/Source/Python/UPT/Library/StringUtils.py926## 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.py212# Check if pattern string matches total tokenCOMMENT
LOWBaseTools/Source/Python/UPT/Library/ParserValidate.py223# Check if path existCOMMENT
LOWBaseTools/Source/Python/UPT/Library/ParserValidate.py274# Check if an install path valid or not.COMMENT
LOWBaseTools/Source/Python/UPT/Library/ParserValidate.py300# 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.py343 # Check if string can be converted to integerCOMMENT
LOWBaseTools/Source/Python/UPT/Library/ParserValidate.py720# Check if a UTF16-LE file has a BOM headerCOMMENT
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/Workspace/MetaFileParser.py317 # 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.py217 # 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.py188 # Check if there is no trailing white space in one line.COMMENT
LOWBaseTools/Source/Python/Ecc/Configuration.py368 # Check if the EFI_SMM_COMMUNICATION_PROTOCOL parameter buffer type is Reserved / ACPI NVS or UEFI RT code/dataCOMMENT
13 more matches not shown…
AI Slop Vocabulary34 hits · 98 pts
SeverityFileLineSnippetContext
MEDIUMDrivers/OhciDxe/OhciSched.c401 //check the Keyboard buffer if an error happens, it will be robustCOMMENT
LOWBaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py60 # if we don't need to convert just add to the command lineCOMMENT
MEDIUMBaseTools/Source/Python/GenFds/FdfParser.py124 # helper functions to facilitate consistency in warningsCOMMENT
LOWBaseTools/Source/Python/GenFds/GenFds.py191 # 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/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
MEDIUMrEFIt_UEFI/PlatformEFI/posix/stdint.h41// Jief : Certainly not massively multi platform and multi target ! So far we only compile x86_64 (I think). To be extenCOMMENT
MEDIUMrEFIt_UEFI/refit/main.cpp3968 // not sure for more robust methodCOMMENT
MEDIUMLibrary/OpensslLib/openssl/crypto/x86cpuid.pl211# Essentially there is only one use for this function. Under DJGPP:COMMENT
MEDIUM…rary/OpensslLib/openssl/crypto/perlasm/x86_64-xlate.pl1454# To facilitate composing of .pdata structures, auto-generated "gear"COMMENT
MEDIUM⚡…ry/OpensslLib/openssl/crypto/rc4/asm/rc4-md5-x86_64.pl22# below theoretical maximum, interleaving them would allow to utilizeCOMMENT
MEDIUM…y/OpensslLib/openssl/crypto/chacha/asm/chacha-s390x.pl36# But to harness overheads revert to transliteration of VSX code pathCOMMENT
MEDIUM…y/OpensslLib/openssl/crypto/chacha/asm/chacha-s390x.pl436# On the other hand minimum amount of data it takes to fully utilizeCOMMENT
MEDIUM…pensslLib/openssl/crypto/poly1305/asm/poly1305-mips.pl38# The return value is placed in $a0. Following coding rules facilitateCOMMENT
MEDIUMLibrary/OpensslLib/openssl/crypto/bn/asm/mips-mont.pl40# The return value is placed in $a0. Following coding rules facilitateCOMMENT
MEDIUM…brary/OpensslLib/openssl/crypto/sha/asm/sha512-mips.pl42# The return value is placed in $a0. Following coding rules facilitateCOMMENT
MEDIUM…/OpensslLib/openssl/crypto/sha/asm/keccak1600-armv8.pl35# instructions effectively facilitate parallel hashing, which we don'tCOMMENT
MEDIUM…/OpensslLib/openssl/crypto/sha/asm/sha1-armv4-large.pl730 # this fix-up provides Thumb encoding in conjunction with INSTCOMMENT
MEDIUM⚡…brary/OpensslLib/openssl/crypto/sha/asm/sha1-x86_64.pl25# capacity to fully utilize SHA-1 parallelism. Therefore this freshCOMMENT
MEDIUMLibrary/OpensslLib/openssl/crypto/sha/asm/sha1-mips.pl40# The return value is placed in $a0. Following coding rules facilitateCOMMENT
MEDIUM…y/OpensslLib/openssl/crypto/sha/asm/keccak1600-avx2.pl26# It makes other steps more intricate, but overall, is it a win? To beCOMMENT
MEDIUMLibrary/OpensslLib/openssl/crypto/aes/asm/aesv8-armx.pl3325 // After specially processing, utilize the five blocks processing again.COMMENT
MEDIUM⚡…OpensslLib/openssl/crypto/aes/asm/aesni-sha1-x86_64.pl23# utilize processor resources better and achieve better performance.COMMENT
MEDIUM…OpensslLib/openssl/crypto/aes/asm/aesni-sha1-x86_64.pl65# fully utilize parallelism, so stitching would not give any gainCOMMENT
MEDIUM⚡…ensslLib/openssl/crypto/aes/asm/aesni-sha256-x86_64.pl23# utilize processor resources better and achieve better performance.COMMENT
MEDIUMLibrary/OpensslLib/openssl/crypto/aes/asm/aes-mips.pl53# The return value is placed in $a0. Following coding rules facilitateCOMMENT
MEDIUMLibrary/OpensslLib/openssl/test/run_tests.pl337# If this isn't a TAP::Parser::Aggregator, it's the pre-TAP test harness,COMMENT
MEDIUMLibrary/OpensslLib/openssl/engines/asm/e_padlock-x86.pl619# Essentially this variable belongs in thread local storage.COMMENT
MEDIUMMdePkg/Include/Protocol/WiFi.h362 /// robust management frames.COMMENT
Excessive Try-Catch Wrapping82 hits · 93 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.py1777 except Exception:CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py727 except Exception as X: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.py971 except Exception:CODE
LOWBaseTools/Source/Python/Capsule/GenerateCapsule.py560 except Exception as Msg:CODE
LOWBaseTools/Source/Python/Capsule/GenerateCapsule.py604 except Exception as Msg:CODE
LOWBaseTools/Source/Python/Capsule/GenerateCapsule.py686 except Exception as Msg:CODE
LOWBaseTools/Source/Python/Capsule/GenerateCapsule.py800 except Exception as Msg:CODE
LOWBaseTools/Source/Python/Capsule/GenerateCapsule.py816 except Exception as Msg:CODE
LOWBaseTools/Source/Python/Workspace/DscBuildData.py2114 except Exception:STRING
LOWBaseTools/Source/Python/Workspace/DscBuildData.py2279 except Exception:STRING
LOWBaseTools/Source/Python/Workspace/DscBuildData.py2348 except Exception:STRING
LOWBaseTools/Source/Python/Workspace/DscBuildData.py2417 except Exception:STRING
LOWBaseTools/Source/Python/Workspace/DscBuildData.py2485 except Exception:STRING
LOWBaseTools/Source/Python/Workspace/MetaFileTable.py56 except Exception as Exc:CODE
LOWBaseTools/Source/Python/Workspace/MetaFileTable.py266 except Exception as Exc:STRING
MEDIUMBaseTools/Source/Python/Workspace/MetaFileParser.py1498def __RetrievePcdValue(self):CODE
LOWBaseTools/Source/Python/Workspace/MetaFileParser.py1705 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/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.py320 except Exception as Excpt:CODE
LOWBaseTools/Source/Python/Common/Expression.py1053 except Exception as Ex:CODE
LOWBaseTools/Source/Python/TargetTool/TargetTool.py252 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.py1961 except Exception:CODE
LOWBaseTools/Source/Python/Ecc/Xml/XmlRoutines.py213 except Exception as X:CODE
MEDIUMBaseTools/Source/Python/Ecc/Xml/XmlRoutines.py129def XmlElement(Dom, String):CODE
LOWBaseTools/Source/Python/AutoGen/GenPcdDb.py1166 except Exception:STRING
LOWBaseTools/Source/Python/AutoGen/AutoGenWorker.py127 except Exception:CODE
LOWBaseTools/Source/Python/AutoGen/AutoGenWorker.py297 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.py70 except Exception as e:STRING
LOWBaseTools/Source/Python/AutoGen/IncludesAutoGen.py122 except Exception as e:CODE
LOWBaseTools/Source/Python/AutoGen/IncludesAutoGen.py273 except Exception as e:CODE
LOWBaseTools/Source/Python/AutoGen/IncludesAutoGen.py302 except Exception as e:CODE
LOWBaseTools/Source/Python/AutoGen/ModuleAutoGen.py1902 except Exception as e:STRING
LOWBaseTools/Source/Python/AutoGen/ModuleAutoGen.py1955 except Exception as e:STRING
LOWBaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py509 except Exception:CODE
LOWBaseTools/Source/Python/Eot/Parser.py557 except Exception:CODE
LOWBaseTools/Tests/CheckUnicodeSourceFiles.py73 except Exception:STRING
LOWBaseTools/Tests/CheckPythonSyntax.py26 except Exception as e:CODE
MEDIUMBaseTools/Tests/CheckPythonSyntax.py23def SingleFileTest(self, filename):CODE
LOWBaseTools/Scripts/DetectNotUsedItem.py141 except Exception as err:CODE
MEDIUMBaseTools/Scripts/DetectNotUsedItem.py150 print("Error: Invalid path for '--dirs': %s" % dir)CODE
22 more matches not shown…
Structural Annotation Overuse58 hits · 82 pts
SeverityFileLineSnippetContext
LOW⚡NetworkPkg/Library/DxeNetLib/DxeNetLib.c3276 // Step 1: Skip over formatted section.COMMENT
LOW⚡NetworkPkg/Library/DxeNetLib/DxeNetLib.c3281 // 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
LOWrEFIt_UEFI/Platform/Experimental/README_Integration.md60### Step 1: Add IncludeCOMMENT
LOWrEFIt_UEFI/Platform/Experimental/README_Integration.md68### Step 2: Add Auto-Detection CallCOMMENT
LOWrEFIt_UEFI/Platform/Experimental/README_Integration.md118### Step 3: Add Config OptionCOMMENT
LOWrEFIt_UEFI/Platform/Experimental/README_Integration.md127### Step 4: Compile FlagCOMMENT
LOWLibrary/OpensslLib/openssl/crypto/bn/asm/ppc.pl268# NOTE: The following label name should be changed toCOMMENT
LOWLibrary/OpensslLib/openssl/crypto/bn/asm/ppc.pl406# NOTE: The following label name should be changed toCOMMENT
LOWLibrary/OpensslLib/openssl/crypto/bn/asm/ppc.pl834# NOTE: The following label name should be changed toCOMMENT
LOWLibrary/OpensslLib/openssl/crypto/bn/asm/ppc.pl988# NOTE: The following label name should be changed toCOMMENT
LOWLibrary/OpensslLib/openssl/crypto/bn/asm/ppc.pl1527# NOTE: The following label name should be changed toCOMMENT
LOWLibrary/OpensslLib/openssl/crypto/bn/asm/ppc.pl1578# NOTE: The following label name should be changed toCOMMENT
LOWLibrary/OpensslLib/openssl/crypto/bn/asm/ppc.pl1624# NOTE: The following label name should be changed toCOMMENT
LOWLibrary/OpensslLib/openssl/crypto/bn/asm/ppc.pl1740# NOTE: The following label name should be changed toCOMMENT
LOWLibrary/OpensslLib/openssl/crypto/bn/asm/ppc.pl1782# NOTE: The following label name should be changed toCOMMENT
LOWLibrary/OpensslLib/openssl/crypto/bn/asm/ppc.pl1888# NOTE: The following label name should be changed toCOMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c763 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c772 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c955 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c964 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1354 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1363 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c473 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c501 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c513 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c528 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c554 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c668 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c715 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c727 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c868 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c907 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c919 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1067 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1110 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1121 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1137 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1150 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1173 // Step 6: Parsing the HttpHeader to retrieve the X-Auth-Token if the HTTP StatusCode is correct.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1279 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1322 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1334 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOWMdeModulePkg/Core/Dxe/Misc/MemoryProtection.c431 // Step 1: record whole regionCOMMENT
LOWMdeModulePkg/Core/Dxe/Misc/MemoryProtection.c523 // Step 2: record code sectionCOMMENT
LOWMdeModulePkg/Core/Dxe/Misc/PropertiesTable.c1089 // Step 1: record whole regionCOMMENT
LOWMdeModulePkg/Core/Dxe/Misc/PropertiesTable.c1173 // Step 2: record code sectionCOMMENT
LOWMdeModulePkg/Core/PiSmmCore/MemoryAttributesTable.c1042 // Step 1: record whole regionCOMMENT
LOWMdeModulePkg/Core/PiSmmCore/MemoryAttributesTable.c1125 // Step 2: record code sectionCOMMENT
LOW⚡MdeModulePkg/Library/DxeNetLib/DxeNetLib.c3300 // Step 1: Skip over formatted section.COMMENT
LOW⚡MdeModulePkg/Library/DxeNetLib/DxeNetLib.c3305 // Step 2: Skip over unformated string section.COMMENT
LOW…odulePkg/Library/VariablePolicyLib/VariablePolicyLib.c242 // Step 1: If the GUID doesn't match, we're done. No need to evaluate anything else.COMMENT
Verbosity Indicators49 hits · 67 pts
SeverityFileLineSnippetContext
LOW⚡NetworkPkg/Library/DxeNetLib/DxeNetLib.c3276 // Step 1: Skip over formatted section.COMMENT
LOW⚡NetworkPkg/Library/DxeNetLib/DxeNetLib.c3281 // 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
LOWLibrary/OpensslLib/openssl/crypto/LPdir_unix.c68 * small value (HP-UX offers 14), so we need to check if we got a result, andCOMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c763 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c772 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c955 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c964 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1354 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW⚡…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1363 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c473 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c501 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c513 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c528 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c554 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c668 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c715 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c727 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c868 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c907 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c919 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1067 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1110 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1121 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1137 // Step 4: call RESTEx to get response from REST service.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1150 // Step 5: Return the HTTP StatusCode and Body message.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1173 // Step 6: Parsing the HttpHeader to retrieve the X-Auth-Token if the HTTP StatusCode is correct.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1279 // Step 1: Create HTTP request message with 4 headers:COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1322 // Step 2: build the rest of HTTP request info.COMMENT
LOW…PrivateLibrary/RedfishLib/edk2libredfish/src/service.c1334 // Step 3: fill in EFI_HTTP_MESSAGECOMMENT
LOWMdeModulePkg/Core/Dxe/Misc/MemoryProtection.c431 // Step 1: record whole regionCOMMENT
LOWMdeModulePkg/Core/Dxe/Misc/MemoryProtection.c523 // Step 2: record code sectionCOMMENT
LOWMdeModulePkg/Core/Dxe/Misc/PropertiesTable.c1089 // Step 1: record whole regionCOMMENT
LOWMdeModulePkg/Core/Dxe/Misc/PropertiesTable.c1173 // Step 2: record code sectionCOMMENT
LOWMdeModulePkg/Core/Dxe/Mem/HeapGuard.c867 The purpose of this function is to keep the shared Guard page with adjacentCODE
LOWMdeModulePkg/Core/Dxe/Mem/HeapGuard.h257 The purpose of this function is to keep the shared Guard page with adjacentCODE
LOWMdeModulePkg/Core/PiSmmCore/HeapGuard.c789 The purpose of this function is to keep the shared Guard page with adjacentCODE
LOWMdeModulePkg/Core/PiSmmCore/HeapGuard.h217 The purpose of this function is to keep the shared Guard page with adjacentCODE
LOWMdeModulePkg/Core/PiSmmCore/MemoryAttributesTable.c1042 // Step 1: record whole regionCOMMENT
LOWMdeModulePkg/Core/PiSmmCore/MemoryAttributesTable.c1125 // Step 2: record code sectionCOMMENT
LOWMdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c2595 // Step 1:COMMENT
LOWMdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c2612 // Step 2:COMMENT
LOWMdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c2629 // Step 3:COMMENT
LOWMdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c2645 // Step 4:COMMENT
LOW⚡MdeModulePkg/Library/DxeNetLib/DxeNetLib.c3300 // Step 1: Skip over formatted section.COMMENT
LOW⚡MdeModulePkg/Library/DxeNetLib/DxeNetLib.c3305 // Step 2: Skip over unformated string section.COMMENT
LOW…odulePkg/Library/VariablePolicyLib/VariablePolicyLib.c242 // Step 1: If the GUID doesn't match, we're done. No need to evaluate anything else.COMMENT
Slop Phrases14 hits · 29 pts
SeverityFileLineSnippetContext
LOWrEFIt_UEFI/libeg/lodepng.cpp116lodepng source code. Don't forget to remove "static" if you copypaste themCODE
LOWLibrary/OpensslLib/openssl/crypto/md5/asm/md5-586.pl115 # make sure to do 'D' first, not 'B', else we clash withCOMMENT
LOWLibrary/OpensslLib/openssl/crypto/md5/asm/md5-586.pl133 # make sure to do 'D' first, not 'B', else we clash withCOMMENT
MEDIUM…ry/OpensslLib/openssl/demos/signature/rsa_pss_direct.c22 * Here we sign an all-zeroes digest for demonstration purposes.COMMENT
MEDIUMLibrary/OpensslLib/openssl/demos/digest/EVP_MD_xof.c54 /* Allow digest length to be changed for demonstration purposes. */COMMENT
MEDIUMLibrary/OpensslLib/openssl/demos/cipher/aesgcm.c102 * For demonstration purposes the IV is being set here. In a compliantCOMMENT
MEDIUMLibrary/OpensslLib/openssl/demos/encode/rsa_encode.c17 * output for demonstration purposes. Both public and private keys are accepted.COMMENT
MEDIUMLibrary/OpensslLib/openssl/demos/encode/ec_encode.c17 * output for demonstration purposes. Both public and private keys are accepted.COMMENT
MEDIUMLibrary/OpensslLib/openssl/demos/mac/poly1305.c60 * purely for demonstration purposes. Please note that Poly1305 exhibitsCOMMENT
LOWCloverApp/libimagequant-2.12.6/rust-sys/build.rs45 // This is so that I don't forget to publish MSVC version as wellCOMMENT
LOW…verApp/libimagequant-2.12.6/rust-api/examples/basic.rs1// Don't forget to add -L . (or whatever dir has .rlib) to rustc!COMMENT
LOWCloverApp/Clover/ThemeManager/libimagequant/lodepng.c70 lodepng source code. Don't forget to remove "static" if you copypaste themCODE
LOW…pp/Clover/ThemeManager/libimagequant/rust-sys/build.rs45 // This is so that I don't forget to publish MSVC version as wellCOMMENT
LOW…/ThemeManager/libimagequant/rust-api/examples/basic.rs1// Don't forget to add -L . (or whatever dir has .rlib) to rustc!COMMENT
Hyper-Verbose Identifiers29 hits · 28 pts
SeverityFileLineSnippetContext
LOWBaseTools/Source/Python/Ecc/CParser3/CParser.py1486 def struct_or_union_specifier(self, ):CODE
LOWBaseTools/Source/Python/Ecc/CParser3/CParser.py4234 def direct_abstract_declarator(self, ):CODE
LOWBaseTools/Source/Python/Ecc/CParser3/CParser.py4585 def abstract_declarator_suffix(self, ):CODE
LOWBaseTools/Source/Python/Ecc/CParser3/CParser.py5027 def multiplicative_expression(self, ):CODE
LOWBaseTools/Source/Python/Ecc/CParser4/CParser.py1460 def struct_or_union_specifier(self):CODE
LOWBaseTools/Source/Python/Ecc/CParser4/CParser.py1697 def struct_or_union_specifier(self):CODE
LOWBaseTools/Source/Python/Ecc/CParser4/CParser.py3177 def direct_abstract_declarator(self):CODE
LOWBaseTools/Source/Python/Ecc/CParser4/CParser.py3247 def abstract_declarator_suffix(self,i=None):CODE
LOWBaseTools/Source/Python/Ecc/CParser4/CParser.py3269 def direct_abstract_declarator(self):CODE
LOWBaseTools/Source/Python/Ecc/CParser4/CParser.py3344 def abstract_declarator_suffix(self):CODE
LOWBaseTools/Source/Python/Ecc/CParser4/CParser.py3618 def multiplicative_expression(self,i=None):CODE
LOWBaseTools/Source/Python/Ecc/CParser4/CParser.py3716 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.py1460 def struct_or_union_specifier(self):CODE
LOWBaseTools/Source/Python/Eot/CParser4/CParser.py1697 def struct_or_union_specifier(self):CODE
LOWBaseTools/Source/Python/Eot/CParser4/CParser.py3177 def direct_abstract_declarator(self):CODE
LOWBaseTools/Source/Python/Eot/CParser4/CParser.py3247 def abstract_declarator_suffix(self,i=None):CODE
LOWBaseTools/Source/Python/Eot/CParser4/CParser.py3269 def direct_abstract_declarator(self):CODE
LOWBaseTools/Source/Python/Eot/CParser4/CParser.py3344 def abstract_declarator_suffix(self):CODE
LOWBaseTools/Source/Python/Eot/CParser4/CParser.py3618 def multiplicative_expression(self,i=None):CODE
LOWBaseTools/Source/Python/Eot/CParser4/CParser.py3716 def multiplicative_expression(self):CODE
LOWBaseTools/Scripts/PatchCheck.py535 def read_commit_list_from_git(self, rev_spec, max_count):STRING
LOW…eModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c13 Each sub function VariableServiceGetVariable(), VariableServiceGetNextVariableName(),CODE
LOW…eModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.c431 Each sub function VariableServiceGetVariable(), VariableServiceGetNextVariableName(),CODE
LOW…nDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c760 Frees memory that was allocated in function CoherentPciIoAllocateBuffer ().CODE
LOW…nDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c783 Frees memory that was allocated in function NonCoherentPciIoAllocateBuffer ().CODE
Synthetic Comment Markers4 hits · 25 pts
SeverityFileLineSnippetContext
HIGHBaseTools/Source/Python/AutoGen/ModuleAutoGen.py968 ## 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.h635/// whenever the APs are disabled or the APs are not executing code as requestedCOMMENT
AI Structural Patterns24 hits · 24 pts
SeverityFileLineSnippetContext
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py436CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py578CODE
LOWBaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py610CODE
LOWBaseTools/Source/Python/UPT/Library/Misc.py312CODE
LOWBaseTools/Source/Python/Capsule/GenerateCapsule.py419CODE
LOWBaseTools/Source/Python/Workspace/BuildClassObject.py49CODE
LOWBaseTools/Source/Python/Workspace/BuildClassObject.py277CODE
LOWBaseTools/Source/Python/Workspace/MetaFileTable.py106CODE
LOWBaseTools/Source/Python/Workspace/MetaFileTable.py158CODE
LOWBaseTools/Source/Python/Workspace/MetaFileTable.py201CODE
LOWBaseTools/Source/Python/Workspace/MetaFileTable.py323CODE
LOWBaseTools/Source/Python/Workspace/MetaFileTable.py383CODE
LOWBaseTools/Source/Python/Common/Misc.py1437CODE
LOWBaseTools/Source/Python/Table/TableEotReport.py59CODE
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.py1115CODE
Fake / Example Data11 hits · 12 pts
SeverityFileLineSnippetContext
LOWCloverPackage/package/bin/po4a/lib/Locale/Po4a/Xml.pm510 $self->{options}{'placeholder'}='';CODE
LOWCloverPackage/package/bin/po4a/lib/Locale/Po4a/Xml.pm1740 $self->{options}{'placeholder'} = lc $self->{options}{'placeholder'};CODE
LOWCloverPackage/package/bin/po4a/lib/Locale/Po4a/Xml.pm1843 $self->{options}{'placeholder'} =~ /^\s*(.*)\s*$/s;CODE
LOW⚡CloverPackage/package/bin/po4a/lib/Locale/Po4a/Xml.pm1884 "Tag '%s' both in the %s and %s categories."), $tag, "inline", "placeholder")CODE
LOW⚡CloverPackage/package/bin/po4a/lib/Locale/Po4a/Xml.pm1894 "Tag '%s' both in the %s and %s categories."), $tag, "break", "placeholder")CODE
LOW⚡CloverPackage/package/bin/po4a/lib/Locale/Po4a/Xml.pm1904 "Tag '%s' both in the %s and %s categories."), $tag, "placeholder", "customtag")CODE
LOWCloverPackage/package/bin/po4a/lib/Locale/Po4a/Wml.pm53"foo@example.org">, which are often defined in the WML. ImprovementsCODE
LOWLibrary/OpensslLib/openssl/test/certs/setup.sh393NC="excluded;otherName:SRVName;UTF8STRING:foo@example.org" ./mkcert.sh genca \CODE
LOWLibrary/OpensslLib/openssl/test/certs/setup.sh400 "otherName.1 = SRVName;UTF8STRING:foo@example.org"CODE
LOW…/Library/JsonLib/jansson/test/suites/api/test_object.c584 const char *expected = "{\"foobar\": 1, \"bazquux\": 6, \"lorem ipsum\": "CODE
LOW…/Library/JsonLib/jansson/test/suites/api/test_object.c591 json_object_set_new(object, "lorem ipsum", json_integer(3));CODE
Dead Code5 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMBaseTools/Source/Python/UPT/Library/UniClassObject.py137CODE
MEDIUMBaseTools/Source/Python/UPT/Library/UniClassObject.py138CODE
MEDIUMBaseTools/Source/Python/UPT/Library/UniClassObject.py166CODE
MEDIUM…Tools/plugins/EdkPlugins/edk2/model/doxygengen_spec.py384CODE
MEDIUM…Tools/plugins/EdkPlugins/edk2/model/doxygengen_spec.py385CODE
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWBaseTools/Source/Python/AutoGen/__init__.py11__all__ = ["AutoGen"]CODE