2 Repos
Locating encompassing functions or methods for a given line via static analysis.
Distinct from Static Code Analysis: Focuses on locating the containing unit rather than detecting vulnerabilities or bugs.
Explore 2 awesome GitHub repositories matching testing & quality assurance · Code Unit Identification. Refine with filters or upvote what's useful.
This project is a static code analysis tool that functions as a code unit resolver and source code line mapper. It identifies the specific function or method that contains a given line of code by analyzing the structure of source files without executing the program. The utility maps line numbers to their parent code units by examining the organization of source files and identifying the ownership of specific lines. It determines the boundaries of functions and methods through text-based structural parsing and range detection. These capabilities support source code analysis and static analysi
Locates the specific function or method that encompasses a line of code through analysis of the source file.
Rubberduck ist eine Entwicklungsumgebungs-Erweiterung für Legacy-Projekte in Visual Basic und Visual Basic for Applications. Sie fungiert als umfassende Suite, die sich direkt in den Host-Editor integriert, um statische Codeanalyse, automatisierte Refactorings und Projektmanagement-Funktionen bereitzustellen. Das Tool zeichnet sich durch die Implementierung einer formalen, grammatikbasierten Parsing-Engine aus, die Quellcode in einen strukturierten abstrakten Syntaxbaum umwandelt. Dies ermöglicht eine tiefe statische Analyse und die Identifizierung von Defekten und Stil-Inkonsistenzen. Es unterstützt zudem Entwicklungs-Workflows durch Dateisystem-Synchronisierung, die interne Module auf externe Dateien abbildet, um Versionskontrolle zu erleichtern, und nutzt annotationsgesteuerte Metadaten zur Aufrechterhaltung der Projektkonfiguration, ohne das zugrunde liegende Dateiformat zu verändern. Die Suite enthält ein Test-Framework, das automatisierte Unit-Test-Ausführung und Dependency-Isolation durch Mock-Object-Injection unterstützt. Zudem bietet sie Produktivitätsverbesserungen wie hierarchische Codenavigation, automatisiertes Code-Formatting und strukturelle Refactoring-Werkzeuge. Diese Funktionen werden über Standard-Component-Object-Model-Schnittstellen bereitgestellt und erweitern die nativen Fähigkeiten der Entwicklungsumgebung.
Scans source code for potential defects and generates a navigable list of errors to help developers resolve issues quickly.