String scoreType = scoreMode;
if (StringUtil.isEmpty(scoreType)) {
scoreType = DEFAULT_SCORE_FORMAT;
}
ScoreGeneratorsFactory factory = ScoreGeneratorsFactory.getInstance();
try {
CustomScoreGenerator gen = factory.resolveCustomScoreGenerator(scoreType);
// NOTE: the default score generator returns null
if ((score = gen.calculateOperationScore(op, null, JmxInvocationEndPointAnalyzer.class.getSimpleName())) != null) {
return score;
}
} catch (RuntimeException e) {