code: protected ExecutionStatistics getOrCreateModuleStatistics(ModuleId moduleId) {
          ExecutionStatistics moduleStats = statistics.get(moduleId);
          if (moduleStats == null) {
              moduleStats = new ExecutionStatistics();
              ExecutionStatistics existing = statistics.put(moduleId, moduleStats);
              if (existing != null) {
                  moduleStats = existing;
              }
          }
          return moduleStats;
      }
docs: Helper method to get or create a ExecutionStatistics instance
  @param moduleId
  @return new or existing module statistics