Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: f54fe78d9a1a760bdfd50131221cb93916ce5865
https://github.com/tianocore/edk2/commit/f54fe78d9a1a760bdfd50131221cb93916ce5865
Author: Pierre Gondois <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M BaseTools/Source/Python/BPDG/BPDG.py
M BaseTools/Source/Python/Ecc/CParser4/CLexer.py
M BaseTools/Source/Python/Ecc/CParser4/CParser.py
M BaseTools/Source/Python/Eot/CParser4/CLexer.py
M BaseTools/Source/Python/Eot/CParser4/CParser.py
M BaseTools/Source/Python/Eot/EotMain.py
M BaseTools/Source/Python/GenFds/FdfParser.py
M BaseTools/Source/Python/Table/TableEotReport.py
M BaseTools/Source/Python/UPT/Library/CommentGenerating.py
M BaseTools/Source/Python/UPT/Library/ParserValidate.py
M BaseTools/Source/Python/UPT/Library/UniClassObject.py
M BaseTools/Source/Python/build/build.py
Log Message:
-----------
BaseTools: Remove unused import
Running the vulture tool gave the following report.
Remove the unused import.
- BPDG/BPDG.py:21:
unused import 'encodings' (90% confidence)
- build/build.py:61:
unused import 'Manager' (90% confidence)
- Ecc/CParser4/CLexer.py:4:
unused import 'TextIO' (90% confidence)
- Ecc/CParser4/CParser.py:5:
unused import 'TextIO' (90% confidence)
- Eot/CParser4/CLexer.py:4:
unused import 'TextIO' (90% confidence)
- Eot/CParser4/CParser.py:5:
unused import 'TextIO' (90% confidence)
- Eot/EotMain.py:28:
unused import 'ConvertGuid' (90% confidence)
- GenFds/FdfParser.py:16:
unused import 'hexdigits' (90% confidence)
- Table/TableEotReport.py:16:
unused import 'EotToolError' (90% confidence)
- UPT/Library/CommentGenerating.py:19:
unused import 'USAGE_ITEM_NOTIFY' (90% confidence)
- UPT/Library/ParserValidate.py:18:
unused import 'COMPONENT_TYPE_LIST' (90% confidence)
- UPT/Library/UniClassObject.py:25:
unused import 'CheckUTF16FileHeader' (90% confidence)
Signed-off-by: Pierre Gondois <[email protected]>
Commit: c169a5420b25f6e95e1ca8223051aade870f0d03
https://github.com/tianocore/edk2/commit/c169a5420b25f6e95e1ca8223051aade870f0d03
Author: Pierre Gondois <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M BaseTools/Source/Python/Ecc/Check.py
M BaseTools/Source/Python/TargetTool/TargetTool.py
M BaseTools/Source/Python/UPT/Library/UniClassObject.py
M BaseTools/Source/Python/UPT/Object/Parser/InfDefineObject.py
Log Message:
-----------
BaseTools: Remove unreachable code
Running the vulture tool gave the following report.
Remove the unreachable code.
- TargetTool/TargetTool.py:49:
unreachable code after 'raise' (100% confidence)
- UPT/Library/UniClassObject.py:137:
unreachable code after 'return' (100% confidence)
- UPT/Object/Parser/InfDefineObject.py:795:
unreachable code after 'if' (100% confidence)
- Ecc/Check.py:1504:
unreachable code after 'return' (100% confidence)
Signed-off-by: Pierre Gondois <[email protected]>
Commit: f79717aac2345568f46d69e125972342850ebd1e
https://github.com/tianocore/edk2/commit/f79717aac2345568f46d69e125972342850ebd1e
Author: Pierre Gondois <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M BaseTools/Source/Python/AutoGen/BuildEngine.py
M BaseTools/Source/Python/AutoGen/GenMake.py
M BaseTools/Source/Python/AutoGen/GenPcdDb.py
M BaseTools/Source/Python/AutoGen/GenVar.py
M BaseTools/Source/Python/AutoGen/ModuleAutoGen.py
M BaseTools/Source/Python/AutoGen/PlatformAutoGen.py
M BaseTools/Source/Python/AutoGen/UniClassObject.py
M BaseTools/Source/Python/AutoGen/ValidCheckingInfoObject.py
Log Message:
-----------
BaseTools: AutoGen: Remove unnecessary code
Running the vulture tool on the AutoGen folder gave the following
report. Remove the unnecessary code.
- AutoGen/BuildEngine.py:333:
unused attribute 'SupportedToolChainFamilyList' (60% confidence)
- AutoGen/BuildEngine.py:346:
unused attribute '_RuleObjectList' (60% confidence)
- AutoGen/GenMake.py:450:
unused attribute 'FileBuildTargetList' (60% confidence)
- AutoGen/GenMake.py:452:
unused attribute 'PendingBuildTargetList' (60% confidence)
- AutoGen/GenMake.py:458:
unused attribute 'LibraryBuildCommandList' (60% confidence)
- AutoGen/GenMake.py:459:
unused attribute 'LibraryFileList' (60% confidence)
- AutoGen/GenMake.py:462:
unused attribute 'SystemLibraryList' (60% confidence)
- AutoGen/GenMake.py:1168:
unused method 'GetFileDependency' (60% confidence)
- AutoGen/GenMake.py:1466:
unused attribute 'ModuleBuildCommandList' (60% confidence)
- AutoGen/GenPcdDb.py:442:
unused class 'DbSkuHeadTableItemList' (60% confidence)
- AutoGen/GenVar.py:31:
unused attribute 'VpdRegionOffset' (60% confidence)
- AutoGen/GenVar.py:43:
unused attribute 'VpdRegionOffset' (60% confidence)
- AutoGen/ModuleAutoGen.py:257:
unused attribute 'FileDependCache' (60% confidence)
- AutoGen/ModuleAutoGen.py:684:
unused method 'BuildOptionIncPathList' (60% confidence)
- AutoGen/PlatformAutoGen.py:994:
unused method 'EdkBuildOption' (60% confidence)
- AutoGen/UniClassObject.py:171:
unused attribute 'StringNameByteList' (60% confidence)
- AutoGen/UniClassObject.py:181:
unused attribute 'StringNameByteList' (60% confidence)
- AutoGen/UniClassObject.py:366:
unused method 'GetIncludeFile' (60% confidence)
- AutoGen/UniClassObject.py:606:
unused method 'FindStringValue' (60% confidence)
- AutoGen/UniClassObject.py:616:
unused method 'FindByToken' (60% confidence)
- AutoGen/ValidCheckingInfoObject.py:228:
unused attribute 'ValidData' (60% confidence)
- AutoGen/ValidCheckingInfoObject.py:231:
unused attribute 'ValidData' (60% confidence)
Signed-off-by: Pierre Gondois <[email protected]>
Commit: ac9dc333965804e128945c28482c1b76199d6968
https://github.com/tianocore/edk2/commit/ac9dc333965804e128945c28482c1b76199d6968
Author: Pierre Gondois <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M BaseTools/Source/Python/build/BuildReport.py
M BaseTools/Source/Python/build/build.py
Log Message:
-----------
BaseTools: build: Remove unnecessary code
Running the vulture tool on the build folder gave the following
report. Remove the unnecessary code.
- build/build.py:79:
unused function 'IsToolInPath' (60% confidence)
- build/build.py:396:
unused class 'PlatformMakeUnit' (60% confidence)
- build/build.py:570:
unused method 'GetErrorMessage' (60% confidence)
- build/build.py:806:
unused attribute 'HashSkipModules' (60% confidence)
- build/build.py:807:
unused attribute 'Db_Flag' (60% confidence)
- build/build.py:1048:
unused attribute 'Db_Flag' (60% confidence)
- build/build.py:2500:
unused method 'GetRealPathOfTool' (60% confidence)
- build/BuildReport.py:1497:
unused method 'StrtoHex' (60% confidence)
Signed-off-by: Pierre Gondois <[email protected]>
Commit: c6e088cafcf3f7fe056e94480d3e5673498c7f91
https://github.com/tianocore/edk2/commit/c6e088cafcf3f7fe056e94480d3e5673498c7f91
Author: Pierre Gondois <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M BaseTools/Source/Python/Capsule/WindowsCapsuleSupportHelper.py
Log Message:
-----------
BaseTools: Capsule: Remove unnecessary code
Running the vulture tool on the Capsule folder gave the following
report. Remove the unnecessary code.
- Capsule/WindowsCapsuleSupportHelper.py:26:
unused method 'RegisterHelpers' (60% confidence)
Signed-off-by: Pierre Gondois <[email protected]>
Commit: 7402bd06cfa88a93a416a1edff7e7f9283ee18ed
https://github.com/tianocore/edk2/commit/7402bd06cfa88a93a416a1edff7e7f9283ee18ed
Author: Pierre Gondois <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M BaseTools/Source/Python/Ecc/CodeFragmentCollector.py
M BaseTools/Source/Python/Ecc/Database.py
M BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaDataTable.py
M BaseTools/Source/Python/Ecc/Xml/XmlRoutines.py
M BaseTools/Source/Python/Ecc/c.py
Log Message:
-----------
BaseTools: Ecc: Remove unnecessary code
Running the vulture tool on the Ecc folder gave the following
report. Remove the unnecessary code.
- Ecc/c.py:52:
unused function 'GetConfig' (60% confidence)
- Ecc/c.py:484:
unused function 'GetFileModificationTimeFromDB' (60% confidence)
- Ecc/CodeFragmentCollector.py:77:
unused attribute '__Token' (60% confidence)
- Ecc/CodeFragmentCollector.py:78:
unused attribute '__SkippedChars' (60% confidence)
- Ecc/CodeFragmentCollector.py:109:
unused method '__EndOfLine' (60% confidence)
- Ecc/CodeFragmentCollector.py:134:
unused method '__UndoOneChar' (60% confidence)
- Ecc/CodeFragmentCollector.py:221:
unused method '__InsertComma' (60% confidence)
- Ecc/CodeFragmentCollector.py:539:
unused method 'PrintFragments' (60% confidence)
- Ecc/Database.py:81:
unused attribute 'text_factory' (60% confidence)
- Ecc/Database.py:214:
unused method 'UpdateIdentifierBelongsToFunction_disabled'
(60% confidence)
- Ecc/MetaFileWorkspace/MetaDataTable.py:142:
unused method 'IsIntegral' (60% confidence)
- Ecc/MetaFileWorkspace/MetaDataTable.py:205:
unused method 'GetCrossIndex' (60% confidence)
- Ecc/Xml/XmlRoutines.py:145:
unused function 'XmlElementData' (60% confidence)
- Ecc/Xml/XmlRoutines.py:162:
unused function 'XmlElementList' (60% confidence)
- Ecc/Xml/XmlRoutines.py:192:
unused function 'XmlNodeName' (60% confidence)
Signed-off-by: Pierre Gondois <[email protected]>
Commit: 3c2f04a3c7e2058f7f0b784f365aa39e52237b44
https://github.com/tianocore/edk2/commit/3c2f04a3c7e2058f7f0b784f365aa39e52237b44
Author: Pierre Gondois <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M BaseTools/Source/Python/Eot/CodeFragment.py
M BaseTools/Source/Python/Eot/CodeFragmentCollector.py
M BaseTools/Source/Python/Eot/Database.py
M BaseTools/Source/Python/Eot/EotMain.py
M BaseTools/Source/Python/Eot/Identification.py
M BaseTools/Source/Python/Eot/Parser.py
M BaseTools/Source/Python/Eot/Report.py
Log Message:
-----------
BaseTools: Eot: Remove unnecessary code
Running the vulture tool on the Eot folder gave the following
report. Remove the unnecessary code.
- Eot/CodeFragment.py:47:
unused class 'AssignmentExpression' (60% confidence)
- Eot/CodeFragmentCollector.py:75:
unused attribute '__Token' (60% confidence)
- Eot/CodeFragmentCollector.py:76:
unused attribute '__SkippedChars' (60% confidence)
- Eot/CodeFragmentCollector.py:104:
unused method '__EndOfLine' (60% confidence)
- Eot/CodeFragmentCollector.py:129:
unused method '__UndoOneChar' (60% confidence)
- Eot/CodeFragmentCollector.py:215:
unused method '__InsertComma' (60% confidence)
- Eot/Database.py:81:
unused attribute 'text_factory' (60% confidence)
- Eot/EotMain.py:1012:
unused method 'SetFreeSpace' (60% confidence)
- Eot/Identification.py:36:
unused method 'GetFileFullPath' (60% confidence)
- Eot/Identification.py:43:
unused method 'GetFileRelativePath' (60% confidence)
- Eot/Parser.py:119:
unused function 'AddToGlobalMacro' (60% confidence)
- Eot/Parser.py:238:
unused function 'GetAllSourceFiles' (60% confidence)
- Eot/Parser.py:257:
unused function 'ParseConditionalStatementMacros' (60% confidence)
- Eot/Parser.py:267:
unused function 'GetAllFiles' (60% confidence)
- Eot/Parser.py:291:
unused function 'ParseConditionalStatement' (60% confidence)
- Eot/Parser.py:367:
unused function 'GetConditionalStatementStatus' (60% confidence)
- Eot/Parser.py:722:
unused function 'ConvertGuid' (60% confidence)
- Eot/Parser.py:857:
unused function 'ConvertGuid2' (60% confidence)
- Eot/Report.py:161:
unused method 'GeneratePpi' (60% confidence)
- Eot/Report.py:173:
unused method 'GenerateProtocol' (60% confidence)
Signed-off-by: Pierre Gondois <[email protected]>
Commit: ff0162bf07b130811d833c889574e7301b17ae11
https://github.com/tianocore/edk2/commit/ff0162bf07b130811d833c889574e7301b17ae11
Author: Pierre Gondois <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M BaseTools/Source/Python/FMMT/FMMT.py
M BaseTools/Source/Python/FMMT/core/BinaryFactoryProduct.py
M BaseTools/Source/Python/FMMT/core/BiosTree.py
M BaseTools/Source/Python/FMMT/core/BiosTreeNode.py
Log Message:
-----------
BaseTools: FMTT: Remove unnecessary code
Running the vulture tool on the FMTT folder gave the following
report. Remove the unnecessary code.
- FMMT/core/BinaryFactoryProduct.py:132:
unused attribute 'ROffset' (60% confidence)
- FMMT/core/BinaryFactoryProduct.py:176:
unused attribute 'ROffset' (60% confidence)
- FMMT/core/BinaryFactoryProduct.py:229:
unused attribute 'ROffset' (60% confidence)
- FMMT/core/BinaryFactoryProduct.py:365:
unused class 'ElfSectionProduct' (60% confidence)
- FMMT/core/BinaryFactoryProduct.py:369:
unused method 'ParserSectionData' (60% confidence)
- FMMT/core/BinaryFactoryProduct.py:371:
unused method 'ParserProgramData' (60% confidence)
- FMMT/core/BiosTree.py:76:
unused method 'insertRel' (60% confidence)
- FMMT/core/BiosTree.py:84:
unused method 'deleteNode' (60% confidence)
- FMMT/core/BiosTreeNode.py:63:
unused attribute 'ROffset' (60% confidence)
- FMMT/core/BiosTreeNode.py:125:
unused attribute 'ROffset' (60% confidence)
- FMMT/core/BiosTreeNode.py:182:
unused attribute 'ROffset' (60% confidence)
- FMMT/core/BiosTreeNode.py:185:
unused attribute 'SectionMaxAlignment' (60% confidence)
- FMMT/core/BiosTreeNode.py:220:
unused attribute 'ROffset' (60% confidence)
- FMMT/core/BiosTreeNode.py:223:
unused attribute 'OriHeader' (60% confidence)
- FMMT/core/BiosTreeNode.py:226:
unused attribute 'SectionMaxAlignment' (60% confidence)
- FMMT/core/BiosTreeNode.py:247:
unused attribute 'ROffset' (60% confidence)
- FMMT/FMMT.py:52:
unused attribute 'firmware_packet' (60% confidence)
Signed-off-by: Pierre Gondois <[email protected]>
Commit: fa2c27514c5923d8a1c7f8cb7b1bf2f3b69c4331
https://github.com/tianocore/edk2/commit/fa2c27514c5923d8a1c7f8cb7b1bf2f3b69c4331
Author: Pierre Gondois <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M BaseTools/Source/Python/GenFds/Fd.py
M BaseTools/Source/Python/GenFds/FdfParser.py
M BaseTools/Source/Python/GenFds/FfsFileStatement.py
M BaseTools/Source/Python/GenFds/FfsInfStatement.py
M BaseTools/Source/Python/GenFds/GenFds.py
M BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
Log Message:
-----------
BaseTools: GenFds: Remove unnecessary code
Running the vulture tool on the GenFds folder gave the following
report. Remove the unnecessary code.
- GenFds/Fd.py:146:
unused method 'GenFlashMap' (60% confidence)
- GenFds/FdfParser.py:1539:
unused attribute 'BaseAddressPcd' (60% confidence)
- GenFds/FdfParser.py:1556:
unused attribute 'SizePcd' (60% confidence)
- GenFds/FdfParser.py:2394:
unused attribute 'CurrentLineNum' (60% confidence)
- GenFds/FdfParser.py:2395:
unused attribute 'CurrentLineContent' (60% confidence)
- GenFds/FdfParser.py:2653:
unused attribute 'CurrentLineNum' (60% confidence)
- GenFds/FdfParser.py:2654:
unused attribute 'CurrentLineContent' (60% confidence)
- GenFds/FdfParser.py:3229:
unused attribute 'CreateFile' (60% confidence)
- GenFds/FfsFileStatement.py:36:
unused attribute 'CurrentLineNum' (60% confidence)
- GenFds/FfsFileStatement.py:37:
unused attribute 'CurrentLineContent' (60% confidence)
- GenFds/FfsInfStatement.py:68:
unused attribute 'CurrentLineNum' (60% confidence)
- GenFds/FfsInfStatement.py:69:
unused attribute 'CurrentLineContent' (60% confidence)
- GenFds/GenFds.py:68:
unused attribute 'LibDir' (60% confidence)
- GenFds/GenFds.py:557:
unused method 'GetFvBlockSize' (60% confidence)
Signed-off-by: Pierre Gondois <[email protected]>
Commit: ee791006781e821e1d415f15433bfa95b9e83500
https://github.com/tianocore/edk2/commit/ee791006781e821e1d415f15433bfa95b9e83500
Author: Pierre Gondois <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M BaseTools/Source/Python/Table/Table.py
M BaseTools/Source/Python/Table/TableDataModel.py
M BaseTools/Source/Python/Table/TableEotReport.py
Log Message:
-----------
BaseTools: Table: Remove unnecessary code
Running the vulture tool on the Table folder gave the following
report. Remove the unnecessary code.
- Table/Table.py:88:
unused method 'GenerateID' (60% confidence)
- Table/TableDataModel.py:83:
unused method 'GetCrossIndex' (60% confidence)
- Table/TableEotReport.py:66:
unused method 'GetMaxID' (60% confidence)
Signed-off-by: Pierre Gondois <[email protected]>
Commit: 583b64122c7797ef012f7db634420a12c2b89b62
https://github.com/tianocore/edk2/commit/583b64122c7797ef012f7db634420a12c2b89b62
Author: Pierre Gondois <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M BaseTools/Source/Python/UPT/Parser/InfAsBuiltProcess.py
M BaseTools/Source/Python/UPT/Parser/InfParserMisc.py
M BaseTools/Source/Python/UPT/Parser/InfSectionParser.py
Log Message:
-----------
BaseTools: UPT/Parser: Remove unnecessary code
Running the vulture tool on the UPT/Parser folder gave the following
report. Remove the unnecessary code.
- UPT/Parser/InfAsBuiltProcess.py:223:
unused function 'GetInfsFromWorkSpace' (60% confidence)
- UPT/Parser/InfAsBuiltProcess.py:237:
unused function 'GetGuidVerFormLibInstance' (60% confidence)
- UPT/Parser/InfParserMisc.py:211:
unused attribute 'InfPeiDepexSection' (60% confidence)
- UPT/Parser/InfParserMisc.py:212:
unused attribute 'InfDxeDepexSection' (60% confidence)
- UPT/Parser/InfParserMisc.py:213:
unused attribute 'InfSmmDepexSection' (60% confidence)
- UPT/Parser/InfSectionParser.py:231:
unused attribute 'InfPeiDepexSection' (60% confidence)
- UPT/Parser/InfSectionParser.py:232:
unused attribute 'InfDxeDepexSection' (60% confidence)
- UPT/Parser/InfSectionParser.py:233:
unused attribute 'InfSmmDepexSection' (60% confidence)
Signed-off-by: Pierre Gondois <[email protected]>
Commit: 9b52f0c2057abd1204f99916b11a90d031832418
https://github.com/tianocore/edk2/commit/9b52f0c2057abd1204f99916b11a90d031832418
Author: Pierre Gondois <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M BaseTools/Source/Python/UPT/PomAdapter/DecPomAlignment.py
Log Message:
-----------
BaseTools: UPT/PomAdapter: Remove unnecessary code
Running the vulture tool on the UPT/PomAdapter folder gave the following
report. Remove the unnecessary code.
- UPT/PomAdapter/DecPomAlignment.py:898:
unused method 'ShowPackage' (60% confidence)
Signed-off-by: Pierre Gondois <[email protected]>
Commit: 5c558ce5f3631521a790ee8d30de3f4ffcd16f1a
https://github.com/tianocore/edk2/commit/5c558ce5f3631521a790ee8d30de3f4ffcd16f1a
Author: Pierre Gondois <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M BaseTools/Source/Python/UPT/Xml/CommonXml.py
Log Message:
-----------
BaseTools: UPT/Xml: Remove unnecessary code
Running the vulture tool on the UPT/Xml folder gave the following
report. Remove the unnecessary code.
- UPT/Xml/CommonXml.py:585:
unused attribute 'LangDefsList' (60% confidence)
Signed-off-by: Pierre Gondois <[email protected]>
Commit: 70d53c2df096d1789061f21b56cba34558a0c46d
https://github.com/tianocore/edk2/commit/70d53c2df096d1789061f21b56cba34558a0c46d
Author: Pierre Gondois <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M BaseTools/Source/Python/UPT/Library/CommentGenerating.py
M BaseTools/Source/Python/UPT/Library/Misc.py
M BaseTools/Source/Python/UPT/Library/ParserValidate.py
M BaseTools/Source/Python/UPT/Library/Parsing.py
M BaseTools/Source/Python/UPT/Library/StringUtils.py
M BaseTools/Source/Python/UPT/Library/UniClassObject.py
M BaseTools/Source/Python/UPT/Library/Xml/XmlRoutines.py
Log Message:
-----------
BaseTools: UPT/Library: Remove unnecessary code
Running the vulture tool on the UPT/Library folder gave the following
report. Remove the unnecessary code.
- UPT/Library/CommentGenerating.py:50:
unused function 'GenGenericComment' (60% confidence)
- UPT/Library/CommentGenerating.py:172:
unused function 'GenInfPcdTailComment' (60% confidence)
- UPT/Library/CommentGenerating.py:185:
unused function 'GenInfProtocolPPITailComment' (60% confidence)
- UPT/Library/CommentGenerating.py:203:
unused function 'GenInfGuidTailComment' (60% confidence)
- UPT/Library/Misc.py:504:
unused class 'MergeCommentDict' (60% confidence)
- UPT/Library/Misc.py:527:
unused function 'GenDummyHelpTextObj' (60% confidence)
- UPT/Library/ParserValidate.py:110:
unused function 'IsValidInfComponentType' (60% confidence)
- UPT/Library/ParserValidate.py:122:
unused function 'IsValidToolFamily' (60% confidence)
- UPT/Library/ParserValidate.py:134:
unused function 'IsValidToolTagName' (60% confidence)
- UPT/Library/ParserValidate.py:465:
unused function 'IsValidBuildNumber' (60% confidence)
- UPT/Library/ParserValidate.py:478:
unused function 'IsValidDepex' (60% confidence)
- UPT/Library/ParserValidate.py:546:
unused function 'IsValidVersionString' (60% confidence)
- UPT/Library/ParserValidate.py:721:
unused function 'CheckUTF16FileHeader' (60% confidence)
- UPT/Library/Parsing.py:52:
unused function 'GetBuildOption' (60% confidence)
- UPT/Library/Parsing.py:100:
unused function 'GetLibraryClassOfInf' (60% confidence)
- UPT/Library/Parsing.py:150:
unused function 'GetPcd' (60% confidence)
- UPT/Library/Parsing.py:177:
unused function 'GetFeatureFlagPcd' (60% confidence)
- UPT/Library/Parsing.py:201:
unused function 'GetDynamicDefaultPcd' (60% confidence)
- UPT/Library/Parsing.py:227:
unused function 'GetDynamicHiiPcd' (60% confidence)
- UPT/Library/Parsing.py:254:
unused function 'GetDynamicVpdPcd' (60% confidence)
- UPT/Library/Parsing.py:277:
unused function 'GetComponent' (60% confidence)
- UPT/Library/Parsing.py:392:
unused function 'GetExec' (60% confidence)
- UPT/Library/Parsing.py:416:
unused function 'GetComponents' (60% confidence)
- UPT/Library/Parsing.py:532:
unused function 'GetSource' (60% confidence)
- UPT/Library/Parsing.py:581:
unused function 'GetGuidsProtocolsPpisOfInf' (60% confidence)
- UPT/Library/Parsing.py:595:
unused function 'GetGuidsProtocolsPpisOfDec' (60% confidence)
- UPT/Library/Parsing.py:645:
unused function 'GetPcdOfInf' (60% confidence)
- UPT/Library/Parsing.py:682:
unused function 'GetPcdOfDec' (60% confidence)
- UPT/Library/Parsing.py:739:
unused function 'InsertSectionItems' (60% confidence)
- UPT/Library/Parsing.py:776:
unused function 'GenMetaDatSectionItem' (60% confidence)
- UPT/Library/StringUtils.py:87:
unused function 'GetLibraryClassesWithModuleType' (60% confidence)
- UPT/Library/StringUtils.py:107:
unused function 'GetDynamics' (60% confidence)
- UPT/Library/StringUtils.py:350:
unused function 'GetMultipleValuesOfKeyFromLines' (60% confidence)
- UPT/Library/StringUtils.py:396:
unused function 'GetSingleValueOfKeyFromLines' (60% confidence)
- UPT/Library/StringUtils.py:463:
unused function 'PreCheck' (60% confidence)
- UPT/Library/StringUtils.py:675:
unused function 'StringArrayLength' (60% confidence)
- UPT/Library/StringUtils.py:718:
unused function 'IsHexDigit' (60% confidence)
- UPT/Library/UniClassObject.py:86:
unused function 'UniToStr' (60% confidence)
- UPT/Library/UniClassObject.py:227:
unused attribute 'StringNameByteList' (60% confidence)
- UPT/Library/UniClassObject.py:237:
unused attribute 'StringNameByteList' (60% confidence)
- UPT/Library/UniClassObject.py:377:
unused method 'GetIncludeFile' (60% confidence)
- UPT/Library/UniClassObject.py:947:
unused method 'FindStringValue' (60% confidence)
- UPT/Library/UniClassObject.py:957:
unused method 'FindByToken' (60% confidence)
- UPT/Library/UniClassObject.py:1022:
unused method 'ReadIncludeUNIfile' (60% confidence)
- UPT/Library/StringUtils.py:718:
unused function 'IsHexDigit' (60% confidence)
- UPT/Library/Xml/XmlRoutines.py:176:
unused function 'XmlElementList' (60% confidence)
- UPT/Library/Xml/XmlRoutines.py:202:
unused function 'XmlNodeName' (60% confidence)
Signed-off-by: Pierre Gondois <[email protected]>
Commit: 2d6b8d5ac951ee432512ca28db41ce32d0616849
https://github.com/tianocore/edk2/commit/2d6b8d5ac951ee432512ca28db41ce32d0616849
Author: Pierre Gondois <[email protected]>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M BaseTools/Source/Python/Workspace/BuildClassObject.py
M BaseTools/Source/Python/Workspace/DscBuildData.py
M BaseTools/Source/Python/Workspace/InfBuildData.py
M BaseTools/Source/Python/Workspace/MetaDataTable.py
M BaseTools/Source/Python/Workspace/MetaFileParser.py
M BaseTools/Source/Python/Workspace/MetaFileTable.py
M BaseTools/Source/Python/Workspace/WorkspaceDatabase.py
Log Message:
-----------
BaseTools: WorkSpace: Remove unnecessary code
Running the vulture tool on the WorkSpace folder gave the following
report. Remove the unnecessary code.
- Workspace/BuildClassObject.py:148:
unused method 'IsSimpleTypeArray' (60% confidence)
- Workspace/BuildClassObject.py:337:
unused method 'SetPcdMode' (60% confidence)
- Workspace/BuildClassObject.py:612:
unused attribute 'DscSpecification' (60% confidence)
- Workspace/DscBuildData.py:451:
unused property 'DscSpecification' (60% confidence)
- Workspace/DscBuildData.py:1253:
unused method 'GetBuildOptionsByPkg' (60% confidence)
- Workspace/DscBuildData.py:2064:
unused method 'GetStarNum' (60% confidence)
- Workspace/DscBuildData.py:3613:
unused method 'AddModule' (60% confidence)
- Workspace/DscBuildData.py:3650:
unused method 'AddPcd' (60% confidence)
- Workspace/InfBuildData.py:117:
unused attribute '_TailComments' (60% confidence)
- Workspace/InfBuildData.py:126:
unused attribute '_BinaryModule' (60% confidence)
- Workspace/MetaDataTable.py:114:
unused method 'IsIntegral' (60% confidence)
- Workspace/MetaDataTable.py:218:
unused method 'GetFileTimeStamp' (60% confidence)
- Workspace/MetaDataTable.py:230:
unused method 'SetFileTimeStamp' (60% confidence)
- Workspace/MetaDataTable.py:298:
unused method 'GetCrossIndex' (60% confidence)
- Workspace/MetaFileParser.py:161:
unused attribute '_FileDir' (60% confidence)
- Workspace/MetaFileParser.py:1187:
unused method '_DecodeCODEData' (60% confidence)
- Workspace/MetaFileParser.py:1796:
unused attribute '_RestofValue' (60% confidence)
- Workspace/MetaFileTable.py:31:
unused attribute '_NumpyTab' (60% confidence)
- Workspace/WorkspaceDatabase.py:136:
unused class 'TransformObjectFactory' (60% confidence)
- Workspace/WorkspaceDatabase.py:159:
unused attribute 'TransformObject' (60% confidence)
Signed-off-by: Pierre Gondois <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/d165ebcf4363...2d6b8d5ac951
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits