27 مستودعات
Tools for parsing, inspecting, and improving codebases.
Explore 27 awesome GitHub repositories matching part of an awesome list · Code Analysis and Refactoring. Refine with filters or upvote what's useful.
PHP-Parser is a tool that converts PHP source code into an abstract syntax tree for static analysis and programmatic manipulation. It functions as a parser, a code generator, and a static analysis framework. The project enables the programmatic construction of abstract syntax tree nodes through a fluent interface and provides the ability to transform these trees back into formatted source code. It includes a serializer that exports abstract syntax trees to JSON format and reconstructs them from strings. The toolset covers several capability areas, including namespace resolution, constant exp
Parses source code into an abstract syntax tree.
Rector is an automated PHP refactoring and modernization tool designed to upgrade language versions and modernize syntax using predefined rules. It functions as a static analysis engine that inspects code structures and types to identify refactoring targets without executing the code. The project provides a framework for defining custom transformation logic to automate project-specific changes. It distinguishes itself by offering specialized capabilities for migrating legacy or custom frameworks to modern alternatives and converting docblock annotations into native language attributes. The s
Automates code upgrades and refactoring tasks.
هذا المشروع هو إضافة لغة Go لـ VS Code توفر بيئة تطوير شاملة من خلال عميل خادم لغة، وواجهة تصحيح أخطاء، ومشغل أتمتة اختبار. يدمج ذكاء اللغة، والتنسيق، وقدرات تصحيح الأخطاء لدعم دورة حياة تطوير لغة Go بالكامل. تتميز الإضافة بإدارة سلسلة أدوات Go، بما في ذلك تثبيت وتكوين الثنائيات الخارجية المطلوبة لميزات اللغة. كما تتميز بواجهة أتمتة اختبار مخصصة تسمح بإنشاء هياكل اختبار الوحدة وتصور ملفات تعريف تغطية الكود مباشرة داخل المحرر. يغطي المشروع مجموعة واسعة من القدرات بما في ذلك التحليل الساكن للتدقيق والتحقق، وإعادة هيكلة الرموز، وتنسيق الكود المصدري المؤتمت. يوفر أدوات للتنقل في الحزم والرموز، بالإضافة إلى أدوات لإنشاء كعب الواجهة وإدارة علامات الهيكل. يتم دعم تصحيح أخطاء البرنامج التفاعلي من خلال نقاط التوقف وتتبع المتغيرات.
Improves Go codebase structure through symbol renaming and function extraction.
Pylint هي أداة تحليل كود استاتيكي لـ Python تتحقق من الكود المصدري بحثاً عن الأخطاء، وانتهاكات معايير البرمجة، وروائح الكود دون تنفيذ البرنامج. تقوم بتحليل الكود إلى شجرة بناء جملة مجردة وتتجول في الشجرة لاكتشاف المشكلات، وتفرض قواعد أسلوب واتفاقيات تسمية قابلة للتكوين، وتحدد كتل الكود المكررة من خلال مقارنة تسلسلات المصدر المرمزة. تتضمن الأداة أيضاً محرك استنتاج يستنتج أنواع المتغيرات عن طريق محاكاة مسارات الكود، مما يتيح تحليلاً أعمق حتى في الكود غير المكتوب. ما يميز Pylint هو بنية المدقق القائمة على الإضافات، والتي تسمح للمستخدمين بتوسيع التحليل عن طريق تحميل وحدات Python خارجية تسجل مدققين مخصصين وقواعد استنتاج في وقت التشغيل. تدعم طبقات ملفات الإعدادات، ودمج الإعدادات من ملفات إعدادات متعددة ووسائط سطر الأوامر بحيث يمكن تجاوز الإعدادات الافتراضية على مستوى المشروع بواسطة خيارات محلية أو خاصة بالإضافات. يتتبع Pylint أيضاً جودة الكود بمرور الوقت من خلال مقارنة نتائج التحليل الحالية مقابل درجة أساسية مخزنة، والإبلاغ عن التحسن أو التراجع في التشغيلات المتتالية، ويمكنه توليد مخططات فئات وحزم UML من شجرة بناء الجملة المجردة بتنسيقات Graphviz أو PlantUML أو MermaidJS. تتكامل الأداة في خطوط أنابيب التكامل المستمر وخطافات ما قبل الالتزام لتشغيل الفحوصات عبر إصدارات مترجم Python متعددة تلقائياً. يمكن تثبيتها عبر pip أو conda أو مدير حزم النظام، وتوفر تدقيقاً إملائياً اختيارياً لمعرفات الكود من خلال مكتبة enchant. يوفر Pylint أيضاً تكاملاً للمحرر لبيئات مثل Emacs و TextMate، ويتضمن عارض شرح الرسائل الذي يطبع الوصف الكامل وسياق أي رمز تحذير أو خطأ محدد مباشرة من سطر الأوامر.
Identifies code smells and recommends structural changes to improve codebase maintainability.
Credo هي أداة تحليل ساكن ومدقق كود (linter) لـ Elixir. تعمل كمحلل لجودة الكود يقوم بمسح الكود المصدري لتحديد التناقضات الأسلوبية، والأخطاء الشائعة، والثغرات الأمنية المحتملة. توفر الأداة إطار عمل قابلاً للتخصيص لتعريف واختبار قواعد متخصصة لفرض معايير ترميز خاصة بالمشروع. تحدد أجزاء الكود المعقدة والتكرار لتسليط الضوء على فرص إعادة الهيكلة والتبسيط. تغطي إمكانياتها مراجعات الكود المؤتمتة، وفرض معايير ترميز Elixir، وردود الفعل الفورية للمطورين من خلال تكاملات المحرر.
Parses and inspects the codebase to highlight complex fragments and suggest simpler implementation logic.
GrumPHP هو أداة للتحقق من التزامات Git (commits) ومنسق لجودة كود PHP. يعمل كمدير لخطافات Git (Git hooks) يقوم بأتمتة تثبيت وتنفيذ مشغلات النصوص البرمجية لفرض معايير جودة الكود داخل مشاريع PHP. تمنع الأداة التزام الكود غير المتوافق من خلال تشغيل مجموعة من مهام التحقق والتدقيق (linting) أثناء سير عمل Git. تتكامل فحوصات الجودة المؤتمتة مباشرة في بيئة التطوير المحلية للحفاظ على معايير المشروع. يدير النظام مسارات عمل اختبار ما قبل الالتزام (pre-commit) من خلال تنفيذ اختبارات الجودة وأتمتة خطافات Git. يستخدم مساراً يعتمد على المهام لتشغيل أدوات التحقق ويتحقق من رموز الخروج لتحديد ما إذا كان يجب إتمام الالتزام.
Automates code quality checks during development.
Roslynator is a set of code analysis tools for C#, powered by Roslyn.
Extensive suite of analyzers and refactorings for code quality.
An implementation of StyleCop rules using the .NET Compiler Platform
Port of traditional style rules to the modern compiler platform.
Mainly a PHP Language Server with more features than you can shake a stick at
Provides completion, refactoring, and code introspection.
The Microsoft.CodeAnalysis.NetAnalyzers package moved into the dotnet/sdk repository for further development and respond to issues formerly in this repository.
Official diagnostic analyzers developed by the compiler team.
This project is a language server implementation and code editor extension designed to provide intelligence for Svelte components. It functions as a static analysis tool that parses source code to deliver real-time feedback, automated formatting, and code navigation within development environments. The tool distinguishes itself by utilizing a virtual file system mapping that translates component files into modules, allowing standard language tools to process non-standard syntax. It integrates directly with the TypeScript compiler to perform type checking and static analysis across mixed scrip
Analyzes source code to support precise navigation, automated refactoring, and deep type checking.
:crystal_ball: Better Reflection is a reflection API that aims to improve and provide more features than PHP's built-in reflection API.
Allows runtime analysis and manipulation of code structures.
An analyzer library for C# and VB that uses Roslyn to produce refactorings, code analysis, and other niceties.
Library providing diagnostics for performance and coding styles.
Set of roslyn-based analyzers for catching common C# errors (inspired by Google's error-prone)
Analyzers focused on code correctness and performance improvements.
"AutoMapper" like, Roslyn based, code fix provider that allows to generate mapping code in design time. Read more Mapping Generator – Design Time Alternative to AutoMapper
Automated code generation for complex object-to-object mappings.
http://redirect.sonarsource.com/plugins/csharp.html
Static analysis extension for the SonarQube platform.
NOTE This project is no longer maintained. The high impact analyzers from this repository are being merged with dotnet/roslyn-analyzers. As such, this repo was archived
Detects implicit and explicit heap allocations in C# code.
Refactoring Essentials for Visual Studio
Comprehensive collection of refactorings, analyzers, and code fixes.
Micro PHP benchmark library
Benchmarks small code snippets for performance.