Program: 165062
Project: 165062
Buggy source:
@Test public void datarank() throws IOException {
  final FrequencyAnalyzer frequencyAnalyzer=new FrequencyAnalyzer();
  frequencyAnalyzer.setWordFrequenciesToReturn(20);
  frequencyAnalyzer.setMinWordLength(2);
  frequencyAnalyzer.setStopWords(loadStopWords());
  final List<WordFrequency> wordFrequencies=frequencyAnalyzer.load(getInputStream("String_Node_Str"));
  final Dimension dimension=new Dimension(990,618);
  final LayeredWordCloud layeredWordCloud=new LayeredWordCloud(4,dimension,CollisionMode.PIXEL_PERFECT);
  layeredWordCloud.setBackgroundColor(new Color(0x000000FF,true));
  layeredWordCloud.setPadding(0,1);
  layeredWordCloud.setPadding(1,1);
  layeredWordCloud.setKumoFont(0,new KumoFont("String_Node_Str",FontWeight.BOLD));
  layeredWordCloud.setKumoFont(1,new KumoFont("String_Node_Str",FontWeight.BOLD));
  layeredWordCloud.setBackground(0,new PixelBoundryBackground(getInputStream("String_Node_Str")));
  layeredWordCloud.setBackground(1,new PixelBoundryBackground(getInputStream("String_Node_Str")));
  layeredWordCloud.setColorPalette(0,new ColorPalette(new Color(0x0891d1)));
  layeredWordCloud.setColorPalette(1,new ColorPalette(new Color(0x76beea)));
  layeredWordCloud.setFontScalar(0,new SqrtFontScalar(10,60));
  layeredWordCloud.setFontScalar(1,new SqrtFontScalar(10,60));
  final long startTime=System.currentTimeMillis();
  layeredWordCloud.build(0,wordFrequencies);
  layeredWordCloud.build(1,wordFrequencies);
  LOGGER.info("String_Node_Str" + (System.currentTimeMillis() - startTime) + "String_Node_Str");
  layeredWordCloud.writeToFile("String_Node_Str");
}

Fixed version (ground truth):
@Test public void datarank() throws IOException {
  final FrequencyAnalyzer frequencyAnalyzer=new FrequencyAnalyzer();
  frequencyAnalyzer.setWordFrequenciesToReturn(200);
  frequencyAnalyzer.setMinWordLength(2);
  frequencyAnalyzer.setStopWords(loadStopWords());
  final List<WordFrequency> wordFrequencies=frequencyAnalyzer.load(getInputStream("String_Node_Str"));
  final Dimension dimension=new Dimension(990,618);
  final LayeredWordCloud layeredWordCloud=new LayeredWordCloud(4,dimension,CollisionMode.PIXEL_PERFECT);
  layeredWordCloud.setBackgroundColor(new Color(0x000000FF,true));
  layeredWordCloud.setPadding(0,1);
  layeredWordCloud.setPadding(1,1);
  layeredWordCloud.setKumoFont(0,new KumoFont("String_Node_Str",FontWeight.BOLD));
  layeredWordCloud.setKumoFont(1,new KumoFont("String_Node_Str",FontWeight.BOLD));
  layeredWordCloud.setBackground(0,new PixelBoundryBackground(getInputStream("String_Node_Str")));
  layeredWordCloud.setBackground(1,new PixelBoundryBackground(getInputStream("String_Node_Str")));
  layeredWordCloud.setColorPalette(0,new ColorPalette(new Color(0x0891d1)));
  layeredWordCloud.setColorPalette(1,new ColorPalette(new Color(0x76beea)));
  layeredWordCloud.setFontScalar(0,new SqrtFontScalar(10,60));
  layeredWordCloud.setFontScalar(1,new SqrtFontScalar(10,60));
  final long startTime=System.currentTimeMillis();
  layeredWordCloud.build(0,wordFrequencies);
  layeredWordCloud.build(1,wordFrequencies);
  LOGGER.info("String_Node_Str" + (System.currentTimeMillis() - startTime) + "String_Node_Str");
  layeredWordCloud.writeToFile("String_Node_Str");
}