2 مستودعات
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 هو إضافة بيئة تطوير مصممة لمشاريع Visual Basic و Visual Basic for Applications القديمة. يعمل كمجموعة شاملة تتكامل مباشرة في محرر المضيف لتوفير تحليل الكود الثابت، وإعادة الهيكلة المؤتمتة، وقدرات إدارة المشاريع. تتميز الأداة بتنفيذ محرك تحليل يعتمد على القواعد الرسمية يقوم بتحويل الكود المصدري إلى شجرة بناء جملة مجردة (abstract syntax tree). وهذا يسمح بتحليل ثابت عميق، مما يمكن من تحديد العيوب وتناقضات الأسلوب. كما تدعم سير عمل التطوير من خلال مزامنة نظام الملفات، التي تعين الوحدات الداخلية إلى ملفات خارجية لتسهيل التحكم في الإصدارات، وتستخدم بيانات وصفية تعتمد على التعليقات التوضيحية للحفاظ على تهيئة المشروع دون تغيير تنسيق الملف الأساسي. تتضمن المجموعة إطار عمل اختبار يدعم تنفيذ اختبار الوحدة المؤتمت وعزل التبعيات من خلال حقن كائنات وهمية (mock object injection). بالإضافة إلى ذلك، توفر تحسينات إنتاجية مثل التنقل الهرمي في الكود، وتنسيق الكود المؤتمت، وأدوات إعادة الهيكلة الهيكلية. يتم تقديم هذه الميزات من خلال واجهات نموذج كائن المكون (COM) القياسية، مما يوسع القدرات الأصلية لبيئة التطوير.
Scans source code for potential defects and generates a navigable list of errors to help developers resolve issues quickly.