/** printCoverage */
  public static void printCoverage() {

    LoggingUtils.getEvoLogger()
        .info(
            "* Time spent optimizing covered goals analysis: "
                + DefUseExecutionTraceAnalyzer.timeGetCoveredGoals
                + "ms");
    Map<DefUsePairType, Integer> totalGoals = initTotalGoals();
    for (DefUsePairType type : DefUseCoverageTestFitness.DefUsePairType.values()) {
      LoggingUtils.getEvoLogger()
          .info(
              "* Covered goals of type "
                  + type
                  + ": "
                  + mostCoveredGoals.get(type)
                  + " / "
                  + totalGoals.get(type));
      for (DefUseCoverageTestFitness pair : getPairsOfType(type)) {
        if (pair.isCovered()) {
          LoggingUtils.getEvoLogger().info("*(X) " + pair.toString());
        } else {
          LoggingUtils.getEvoLogger().info("*( ) " + pair.toString());
        }
      }
    }

    LoggingUtils.getEvoLogger()
        .info("* Covered " + countMostCoveredGoals() + "/" + countGoalsIn(totalGoals) + " goals");
  }
 @BeforeClass
 public static void initEvoSuiteFramework() {
   org.evosuite.utils.LoggingUtils.setLoggingForJUnit();
 }