Repository Analysis

CloverHackyColor/CloverBootloader

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

3.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of CloverHackyColor/CloverBootloader, a C project with 5,066 GitHub stars. SynthScan v2.0 examined 3,836,052 lines of code across 8908 source files, recording 13674 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 3.7 places this repository in the Likely human-written band.

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

3.7
Adjusted Score
3.7
Raw Score
100%
Time Factor
2026-07-06
Last Push
5.1K
Stars
C
Language
3.8M
Lines of Code
8.9K
Files
13.7K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

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

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

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

CRITICAL 0HIGH 63MEDIUM 622LOW 12989

Directory Score Breakdown

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

Pattern Findings

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

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

Over-Commented Block11413 hits · 10384 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
11353 more matches not shown…
Decorative Section Separators327 hits · 1082 pts
SeverityFileLineSnippetContext
MEDIUMCloverPackage/package/buildpkg.sh97# =================COMMENT
MEDIUMCloverPackage/package/buildpkg.sh137# =================COMMENT
MEDIUMCloverPackage/package/buildpkg.sh1502 # ------------------------------------------------------COMMENT
MEDIUMCloverPackage/package/buildpkg.sh1506 # ------------------------------------------------------COMMENT
MEDIUMCloverPackage/package/buildpkg.sh1519 # ------------------------------------------------------COMMENT
MEDIUMCloverPackage/package/buildpkg.sh1521 # ------------------------------------------------------COMMENT
MEDIUMCloverPackage/package/buildpkg.sh1538 # ------------------------------------------------------COMMENT
MEDIUMCloverPackage/package/buildpkg.sh1541 # ------------------------------------------------------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
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py294 #======================================================================COMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py296 #======================================================================COMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py302 #======================================================================COMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py304 #======================================================================COMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py309 #==============================================================COMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py311 #==============================================================COMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py319 #==============================================================COMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py321 #==============================================================COMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py326 #==========================================================COMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py328 #==========================================================COMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py338 #==============================================================COMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py340 #==============================================================COMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py344 #==============================================================COMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py346 #==============================================================COMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py355 #==========================================================COMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py358 #==========================================================COMMENT
MEDIUMBaseTools/Source/Python/UPT/Parser/DecParser.py374 #==========================================================COMMENT
MEDIUMBaseTools/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.sh421 # Create the sdk directory and link it to the native sdk directoryCOMMENT
MEDIUMbuild_gcc16.sh465 # Create a new and clean sdk directoryCOMMENT
MEDIUMbuild_gcc16.sh476 # Create a link for ccCOMMENT
MEDIUMCloverPackage/package/buildpkg.sh1638 # Create the Payload file (cpio format)COMMENT
MEDIUMCloverPackage/package/buildpkg.sh1643 # Create the packageCOMMENT
MEDIUMCloverPackage/package/buildpkg.sh1687 # Create the node and standard attributesCOMMENT
MEDIUMCloverPackage/package/buildpkg.sh1762 # Create the Distribution fileCOMMENT
MEDIUMCloverPackage/package/buildpkg.sh1781 # Create the Resources directoryCOMMENT
MEDIUMCloverPackage/package/buildpkg.sh1792 # 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 Nesting753 hits · 608 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
693 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…
Cross-File Repetition34 hits · 170 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
HIGHArmVirtPkg/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
HIGHBaseTools/Source/Python/Common/RangeExpression.py251 rangeContainer.push(RangeObject(0, 0, True))CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py254 rangeContainer.push(RangeObject(0, 0, True))CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py257 rangeContainer.push(RangeObject(end1, end1))CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py260 rangeContainer.push(RangeObject(start2, end1))CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py263 rangeContainer.push(RangeObject(start2, end2))CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py297 rangeContainer.push(RangeObject(0, MAX_VAL_TYPE[self.PcdDataType]))CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py300 rangeContainer.push(RangeObject(0, rangeobj.start - 1))CODE
HIGHBaseTools/Source/Python/Common/RangeExpression.py302 rangeContainer.push(RangeObject(rangeobj.end + 1, MAX_VAL_TYPE[self.PcdDataType]))CODE
HIGHBaseTools/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 Comments77 hits · 114 pts
SeverityFileLineSnippetContext
LOWCloverPackage/package/translate.sh73# Check if pot and po files need to be updatedCOMMENT
LOWCloverPackage/package/buildpkg.sh148# Check if an element is in an arrayCOMMENT
LOWCloverPackage/package/buildpkg.sh1647 # Add the package to the list of build packagesCOMMENT
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
LOWBaseTools/Source/Python/UPT/Library/Misc.py961 # Check if the suffix is one of the '.uni', '.UNI', '.Uni'COMMENT
LOWBaseTools/Source/Python/UPT/Library/Misc.py970 # Check if '..' in the file name(without suffix)COMMENT
LOWBaseTools/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
LOWBaseTools/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
17 more matches not shown…
AI Slop Vocabulary35 hits · 100 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
MEDIUM…ary/FdtPL011SerialPortLib/EarlyFdtPL011SerialPortLib.c30 // discovered base address in a global), and the most robust way to dealCOMMENT
Excessive Try-Catch Wrapping83 hits · 94 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
23 more matches not shown…
Structural Annotation Overuse58 hits · 82 pts
SeverityFileLineSnippetContext
LOWNetworkPkg/Library/DxeNetLib/DxeNetLib.c3276 // Step 1: Skip over formatted section.COMMENT
LOWNetworkPkg/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
LOWMdeModulePkg/Library/DxeNetLib/DxeNetLib.c3300 // Step 1: Skip over formatted section.COMMENT
LOWMdeModulePkg/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
LOWNetworkPkg/Library/DxeNetLib/DxeNetLib.c3276 // Step 1: Skip over formatted section.COMMENT
LOWNetworkPkg/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
LOWMdeModulePkg/Library/DxeNetLib/DxeNetLib.c3300 // Step 1: Skip over formatted section.COMMENT
LOWMdeModulePkg/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
LOWCloverPackage/package/bin/po4a/lib/Locale/Po4a/Xml.pm1884 "Tag '%s' both in the %s and %s categories."), $tag, "inline", "placeholder")CODE
LOWCloverPackage/package/bin/po4a/lib/Locale/Po4a/Xml.pm1894 "Tag '%s' both in the %s and %s categories."), $tag, "break", "placeholder")CODE
LOWCloverPackage/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