4 مستودعات
Constraints on the maximum number of methods allowed within a type declaration to prevent class bloating.
Distinct from Exception Complexity Limits: Distinct from Exception Complexity Limits: limits the quantity of methods in a class rather than the number of exceptions in a method signature
Explore 4 awesome GitHub repositories matching software engineering & architecture · Method Count Limits. Refine with filters or upvote what's useful.
Checkstyle is a Java static analysis tool and linter designed to identify and enforce coding standards and best practices. It functions as a code quality auditor and Javadoc validation tool, checking source code against configurable rulesets to ensure structural and stylistic consistency. The project allows for the creation of custom linting rules by extending a core API to inspect the abstract syntax tree. It further enables specialized validation through the use of XPath expressions to query the syntax tree for specific code patterns and violations. Capability areas include the enforcement
CheckCstyle flags type declarations that exceed a maximum number of methods to prevent excessive complexity.
Prek is a Git hook manager written in Rust that runs configured hooks as a single binary without requiring Python or other external runtimes. It executes hooks faster than standard tools through parallel processing and bundled Rust implementations, and includes a built-in hook repository that enables fully offline operation without network access or environment setup. The tool supports both TOML and YAML configuration formats with identical semantics, and can run hooks from existing pre-commit configuration files without modification. Prek distinguishes itself through workspace-aware monorepo
Splits matching files across multiple hook invocations when the count exceeds a configured limit.
JaCoCo هو أداة تغطية كود Java ومعدل bytecode يقيس أجزاء الكود المصدري التي يتم تنفيذها أثناء الاختبارات. يعمل كوكيل وقت تشغيل لمراقبة تنفيذ التطبيق أثناء التشغيل أو كمكتبة لتعديل bytecode دون اتصال، مما يسمح له بالتقاط بيانات التنفيذ في البيئات التي يتم فيها تقييد وكلاء وقت التشغيل. يتميز المشروع بتوفير مسارات تعديل ديناميكية وثابتة لتتبع التنفيذ. يتضمن وكيلاً لوقت التشغيل للمراقبة أثناء التشغيل والقدرة على تعديل ملفات الفئة المجمعة قبل التنفيذ. كما يتيح استرداد مقاييس التنفيذ من العمليات الجارية عبر اتصالات الشبكة البعيدة دون مقاطعة التطبيق النشط. يحسب النظام مقاييس تغطية كمية عبر التعليمات، والفروع، والأسطر، والأساليب، والفئات، إلى جانب قياسات التعقيد الدوري. يوفر قدرات لدمج البيانات من عمليات اختبار متعددة، وفرض عتبات التغطية داخل بوابات جودة CI/CD، وإنشاء تقارير تعين bytecode المنفذ مرة أخرى إلى الكود المصدري. يتوفر تكامل بصري لعرض هذه النتائج مباشرة داخل محررات الكود. تتكامل الأداة مع أنظمة أتمتة البناء وواجهات سطر الأوامر لأتمتة جمع البيانات وإنشاء التقارير.
Tracks whether at least one instruction in a method or one method in a class has been executed.
Limits methods to fewer than 30 lines and classes to fewer than 30 methods to reduce complexity.