Program: 85509
Project: 85509
Buggy source:
@SuppressWarnings("String_Node_Str") public List<MatchMetaData> discover(final IDBFactory factory,final Properties dataDiscoveryProperties,final Set<String> tables) throws AnonymizerException, ParseException {
  log.info("String_Node_Str");
  final double probabilityThreshold=parseDouble(dataDiscoveryProperties.getProperty("String_Node_Str"));
  String calculate_score=dataDiscoveryProperties.getProperty("String_Node_Str");
  if (CommonUtils.isEmptyString(calculate_score)) {
    calculate_score="String_Node_Str";
  }
  log.info("String_Node_Str" + probabilityThreshold + "String_Node_Str");
  final String models=dataDiscoveryProperties.getProperty("String_Node_Str");
  modelList=models.split("String_Node_Str");
  log.info("String_Node_Str" + Arrays.toString(modelList) + "String_Node_Str");
  List<MatchMetaData> finalList=new ArrayList<>();
  for (  final String model : modelList) {
    log.info("String_Node_Str");
    log.info("String_Node_Str" + model);
    log.info("String_Node_Str");
    final Model modelPerson=createModel(dataDiscoveryProperties,model);
    matches=discoverAgainstSingleModel(factory,dataDiscoveryProperties,tables,modelPerson,probabilityThreshold);
    finalList=ListUtils.union(finalList,matches);
  }
  final DecimalFormat decimalFormat=new DecimalFormat("String_Node_Str");
  log.info("String_Node_Str");
  log.info(String.format("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
  final Score score=new Score();
  int highRiskColumns=0;
  int rowCount=0;
  for (  final MatchMetaData data : finalList) {
    if (calculate_score.equals("String_Node_Str")) {
      log.debug("String_Node_Str");
      rowCount=ReportUtil.rowCount(factory,data.getTableName());
    }
    log.info("String_Node_Str" + data.toString());
    log.info(CommonUtils.fixedLengthString('=',data.toString().length() + 30));
    log.info("String_Node_Str" + decimalFormat.format(data.getAverageProbability()));
    log.info("String_Node_Str" + data.getModel());
    if (calculate_score.equals("String_Node_Str")) {
      log.info("String_Node_Str" + rowCount);
      log.info("String_Node_Str" + score.columnScore(rowCount));
    }
 else {
      log.info("String_Node_Str");
      log.info("String_Node_Str");
    }
    log.info("String_Node_Str");
    log.info(CommonUtils.fixedLengthString('-',11));
    final List<Probability> probabilityList=data.getProbabilityList();
    Collections.sort(probabilityList,Comparator.comparingDouble(Probability::getProbabilityValue).reversed());
    int y=0;
    if (data.getProbabilityList().size() >= 5) {
      y=5;
    }
 else {
      y=data.getProbabilityList().size();
    }
    for (int i=0; i < y; i++) {
      final Probability p=data.getProbabilityList().get(i);
      log.info(p.getSentence() + "String_Node_Str" + p.getProbabilityValue());
    }
    log.info("String_Node_Str");
    if (calculate_score.equals("String_Node_Str")) {
      if (score.columnScore(rowCount).equals("String_Node_Str")) {
        highRiskColumns++;
      }
    }
  }
  if (calculate_score.equals("String_Node_Str")) {
    log.info("String_Node_Str" + score.dataStoreScore());
    log.info("String_Node_Str");
    if (finalList != null && finalList.size() > 0) {
      log.info("String_Node_Str");
      final int threshold_count=Integer.valueOf(dataDiscoveryProperties.getProperty("String_Node_Str"));
      if (finalList.size() > threshold_count) {
        log.info("String_Node_Str" + finalList.size() + "String_Node_Str"+ threshold_count+ "String_Node_Str");
      }
 else {
        log.info("String_Node_Str" + finalList.size() + "String_Node_Str"+ threshold_count+ "String_Node_Str");
      }
      final int threshold_highrisk=Integer.valueOf(dataDiscoveryProperties.getProperty("String_Node_Str"));
      if (highRiskColumns > threshold_highrisk) {
        log.info("String_Node_Str" + highRiskColumns + "String_Node_Str"+ threshold_highrisk+ "String_Node_Str");
      }
 else {
        log.info("String_Node_Str" + highRiskColumns + "String_Node_Str"+ threshold_highrisk+ "String_Node_Str");
      }
    }
  }
 else {
    log.info("String_Node_Str");
  }
  return matches;
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") public List<MatchMetaData> discover(final IDBFactory factory,final Properties dataDiscoveryProperties,final Set<String> tables) throws AnonymizerException, ParseException {
  log.info("String_Node_Str");
  final double probabilityThreshold=parseDouble(dataDiscoveryProperties.getProperty("String_Node_Str"));
  String calculate_score=dataDiscoveryProperties.getProperty("String_Node_Str");
  if (CommonUtils.isEmptyString(calculate_score)) {
    calculate_score="String_Node_Str";
  }
  log.info("String_Node_Str" + probabilityThreshold + "String_Node_Str");
  final String models=dataDiscoveryProperties.getProperty("String_Node_Str");
  modelList=models.split("String_Node_Str");
  log.info("String_Node_Str" + Arrays.toString(modelList) + "String_Node_Str");
  List<MatchMetaData> finalList=new ArrayList<>();
  for (  final String model : modelList) {
    log.info("String_Node_Str");
    log.info("String_Node_Str" + model);
    log.info("String_Node_Str");
    final Model modelPerson=createModel(dataDiscoveryProperties,model);
    matches=discoverAgainstSingleModel(factory,dataDiscoveryProperties,tables,modelPerson,probabilityThreshold);
    finalList=ListUtils.union(finalList,matches);
  }
  final DecimalFormat decimalFormat=new DecimalFormat("String_Node_Str");
  log.info("String_Node_Str");
  log.info(String.format("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
  final Score score=new Score();
  int highRiskColumns=0;
  int rowCount=0;
  for (  final MatchMetaData data : finalList) {
    if (calculate_score.equals("String_Node_Str")) {
      log.debug("String_Node_Str");
      rowCount=ReportUtil.rowCount(factory,data.getTableName());
    }
    log.info("String_Node_Str" + data.toString());
    log.info(CommonUtils.fixedLengthString('=',data.toString().length() + 30));
    log.info("String_Node_Str" + decimalFormat.format(data.getAverageProbability()));
    log.info("String_Node_Str" + data.getModel());
    if (calculate_score.equals("String_Node_Str")) {
      log.info("String_Node_Str" + rowCount);
      log.info("String_Node_Str" + score.columnScore(rowCount));
    }
 else {
      log.info("String_Node_Str");
      log.info("String_Node_Str");
    }
    log.info("String_Node_Str");
    log.info(CommonUtils.fixedLengthString('-',11));
    final List<Probability> probabilityList=data.getProbabilityList();
    Collections.sort(probabilityList,Comparator.comparingDouble(Probability::getProbabilityValue).reversed());
    int y=0;
    if (data.getProbabilityList().size() >= 5) {
      y=5;
    }
 else {
      y=data.getProbabilityList().size();
    }
    for (int i=0; i < y; i++) {
      final Probability p=data.getProbabilityList().get(i);
      log.info(p.getSentence() + "String_Node_Str" + p.getProbabilityValue());
    }
    log.info("String_Node_Str");
    if (calculate_score.equals("String_Node_Str")) {
      if (score.columnScore(rowCount).equals("String_Node_Str")) {
        highRiskColumns++;
      }
    }
  }
  if (calculate_score.equals("String_Node_Str")) {
    log.info("String_Node_Str" + score.dataStoreScore());
    log.info("String_Node_Str");
    if (finalList != null && finalList.size() > 0) {
      log.info("String_Node_Str");
      final int threshold_count=Integer.valueOf(dataDiscoveryProperties.getProperty("String_Node_Str"));
      if (finalList.size() > threshold_count) {
        log.info("String_Node_Str" + finalList.size() + "String_Node_Str"+ threshold_count+ "String_Node_Str");
      }
 else {
        log.info("String_Node_Str" + finalList.size() + "String_Node_Str"+ threshold_count+ "String_Node_Str");
      }
      final int threshold_highrisk=Integer.valueOf(dataDiscoveryProperties.getProperty("String_Node_Str"));
      if (highRiskColumns > threshold_highrisk) {
        log.info("String_Node_Str" + highRiskColumns + "String_Node_Str"+ threshold_highrisk+ "String_Node_Str");
      }
 else {
        log.info("String_Node_Str" + highRiskColumns + "String_Node_Str"+ threshold_highrisk+ "String_Node_Str");
      }
    }
  }
 else {
    log.info("String_Node_Str");
  }
  log.info("String_Node_Str" + matches.toString());
  return matches;
}