code: private void processQualityCCScore(
      ScoreComponentSettings qualityCCSettings,
      Iterable<CodeQuality> codeQualityIterable,
      List<ScoreWeight> categoryScores) {
      ScoreWeight qualityCCScore = getCategoryScoreByIdName(categoryScores, WIDGET_QUALITY_CC_ID_NAME);
      Double qualityCCRatio = fetchQualityValue(codeQualityIterable, QUALITY_PARAM_CC);
  
      if (null == qualityCCRatio) {
        qualityCCScore.setScore(
          qualityCCSettings.getCriteria().getNoDataFound()
        );
        qualityCCScore.setMessage(Constants.SCORE_ERROR_NO_DATA_FOUND);
        qualityCCScore.setState(ScoreWeight.ProcessingState.criteria_failed);
      } else {
        try {
          //Check thresholds at widget level
          checkPercentThresholds(qualityCCSettings, qualityCCRatio);
          qualityCCScore.setScore(
            new ScoreTypeValue(qualityCCRatio)
          );
          qualityCCScore.setState(ScoreWeight.ProcessingState.complete);
        } catch (ThresholdException ex) {
          setThresholdFailureWeight(ex, qualityCCScore);
        }
      }
    }
docs: Process Code Coverage score
  
  @param qualityCCSettings Code Coverage Param Settings
  @param codeQualityIterable Quality values
  @param categoryScores List of category scores