4 repository-uri
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 este un instrument de acoperire a codului Java și un instrument de instrumentare a bytecode-ului care măsoară ce părți din codul sursă sunt executate în timpul testelor. Funcționează ca un agent de runtime pentru a monitoriza execuția aplicației din mers sau ca o bibliotecă pentru instrumentarea offline a bytecode-ului, permițându-i să captureze date de execuție în medii în care agenții de runtime sunt restricționați. Proiectul se distinge prin furnizarea atât a căilor de instrumentare dinamice, cât și statice pentru a urmări execuția. Include un agent de runtime pentru monitorizarea din mers și capacitatea de a modifica fișierele de clasă compilate înainte de execuție. De asemenea, permite preluarea metricilor de execuție din procesele care rulează prin conexiuni de rețea remote, fără a întrerupe aplicația activă. Sistemul calculează metrici cantitative de acoperire pentru instrucțiuni, ramuri, linii, metode și clase, alături de măsurători ale complexității ciclomatice. Oferă capabilități pentru fuzionarea datelor din mai multe rulări de testare, impunerea pragurilor de acoperire în cadrul porților de calitate CI/CD și generarea de rapoarte care mapează bytecode-ul executat înapoi la codul sursă. Integrarea vizuală este disponibilă pentru afișarea acestor rezultate direct în editorii de cod. Instrumentul se integrează cu sistemele de automatizare a build-ului și interfețele de linie de comandă pentru a automatiza colectarea datelor și generarea rapoartelor.
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.