Skip to content

Run existing recipes against old and large codebase #88

@rdiachenko

Description

@rdiachenko

We need to test current recipes we built against old and large Java codebase. We need to do this now to:

  • validate recipe logic, after we apply them the codebase must still be compilable
  • validate end-to-end execution: Checkstyle -> Report -> Recipe Execution
  • visually check the diff produced by recipes is valid
  • check execution time

Repo to consider for testing https://github.com/apache/hbase. I clonned master, and build it on using Java11 on localhost:

❯ mvn clean package -DskipTests
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:57 min
[INFO] Finished at: 2025-08-10T21:51:26+01:00
[INFO] ------------------------------------------------------------------------

hbase on  master via ☕ v11.0.28 took 3m58s

❯ java -version
openjdk version "11.0.28" 2025-07-15
OpenJDK Runtime Environment Homebrew (build 11.0.28+0)
OpenJDK 64-Bit Server VM Homebrew (build 11.0.28+0, mixed mode)

hbase on  master via ☕ v11.0.28

❯ find . -type f -name "*.java" | wc -l
    5265

It has 5265 Java files, which makes it a solid candidate for testing.

The result of this issue should be:

  • checkstyle config for all current recipes we support
  • checkstyle report after running it against the repo
  • code diff after executing recipes
  • summary and execution time before / after recipe execution

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions