awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

4 个仓库

Awesome GitHub RepositoriesMethod Count Limits

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.

Awesome Method Count Limits GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • checkstyle/checkstylecheckstyle 的头像

    checkstyle/checkstyle

    8,867在 GitHub 上查看↗

    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.

    Javacode-qualitycommand-line-toolhacktoberfest
    在 GitHub 上查看↗8,867
  • j178/prekj178 的头像

    j178/prek

    6,297在 GitHub 上查看↗

    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.

    Rustgitgit-hookspre-commit
    在 GitHub 上查看↗6,297
  • jacoco/jacocojacoco 的头像

    jacoco/jacoco

    4,580在 GitHub 上查看↗

    JaCoCo 是一个 Java 代码覆盖率工具和字节码插桩工具,用于衡量测试过程中执行了源代码的哪些部分。它既可以作为运行时代理来实时监控应用执行,也可以作为离线字节码插桩库,从而在受限的运行时环境中捕获执行数据。 该项目的特点是提供动态和静态两种插桩路径来跟踪执行情况。它包含一个用于实时监控的运行时代理,并具备在执行前修改已编译类文件的能力。此外,它还支持在不中断活动应用的情况下,通过远程网络连接从运行中的进程检索执行指标。 该系统可计算指令、分支、行、方法和类级别的定量覆盖率指标,以及圈复杂度。它提供了合并多次测试运行数据、在 CI/CD 质量门禁中强制执行覆盖率阈值,以及生成将执行的字节码映射回源代码的报告等功能。此外,它还支持将结果直接显示在代码编辑器中的可视化集成。 该工具与构建自动化系统和命令行接口集成,以实现数据收集和报告生成的自动化。

    Tracks whether at least one instruction in a method or one method in a class has been executed.

    Javabytecodecoveragegroovy
    在 GitHub 上查看↗4,580
  • databricks/scala-style-guidedatabricks 的头像

    databricks/scala-style-guide

    2,784在 GitHub 上查看↗

    Limits methods to fewer than 30 lines and classes to fewer than 30 methods to reduce complexity.

    在 GitHub 上查看↗2,784
  1. Home
  2. Software Engineering & Architecture
  3. Code Complexity Metrics
  4. Method Count Limits

探索子标签

  • Method and Class Size Limits1 个子标签Constraints on the maximum number of lines per method and methods per class to maintain code focus. **Distinct from Method Count Limits:** Distinct from Method Count Limits: adds line count limits per method, not just method count per class.
  • Per-Invocation File LimitsSplitting matching files across multiple hook invocations when the count exceeds a configured limit to prevent overly long command lines. **Distinct from Method Count Limits:** Distinct from Method Count Limits: limits the number of files passed per hook invocation rather than methods in a class.