Class RecipeRunStats

java.lang.Object
org.openrewrite.RecipeRunStats

@Incubating(since="7.29.0") public class RecipeRunStats extends Object
  • Constructor Details

    • RecipeRunStats

      public RecipeRunStats(Recipe recipe)
  • Method Details

    • getCalls

      public int getCalls()
      The number of times the recipe ran over all cycles.
    • getCumulative

      public Duration getCumulative()
      The total time spent across all executions of this recipe.
    • getMax

      public Duration getMax()
      The max time spent in any one execution of this recipe.
    • getOwnGetVisitor

      public Duration getOwnGetVisitor()
      The total time spent in running the visitor returned by Recipe.getVisitor() for this recipe.
    • getOwnVisit

      public Duration getOwnVisit()
      The total time spent in running the visitor returned by Recipe.visit(List, ExecutionContext)()} for this recipe.
    • getApplicability

      public Duration getApplicability()
    • printAsMermaidGantt

      @Incubating(since="7.29.0") public String printAsMermaidGantt(double scale)
    • printAsCsv

      public String printAsCsv()