test_class.file: CodeSmells/src/reggie/TestReport.java
test_class.identifier: TestReport
test_case.body: @Test
  	public void testEmptyReport() throws Exception {
  		Schedule.deleteAll();
  		Report report = new Report();
  
  		StringBuffer buffer = new StringBuffer();
  
  		report.write(buffer);
  
  		assertEquals("Number of scheduled offerings: 0\n", buffer.toString());
  	}
test_case.class_method_signature: TestReport.testEmptyReport()
test_case.full_signature: @Test public void testEmptyReport()
test_case.identifier: testEmptyReport
test_case.invocations: deleteAll write assertEquals toString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEmptyReport()
focal_class.declarator: offeringToName = new Hashtable<Integer, ArrayList<String>>()
focal_class.original_string: Hashtable<Integer, ArrayList<String>> offeringToName = new Hashtable<Integer, ArrayList<String>>();
focal_class.type: Hashtable<Integer, ArrayList<String>>
focal_class.var_name: offeringToName
focal_class.file: CodeSmells/src/reggie/Report.java
focal_class.identifier: Report
focal_class.class_method_signature: Report.Report()
focal_class.full_signature: public  Report()
focal_class.identifier: Report
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  Report()
focal_class.class_method_signature: Report.populateMap()
focal_class.full_signature: public void populateMap()
focal_class.identifier: populateMap
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void populateMap()
focal_class.class_method_signature: Report.populateMapFor(Schedule schedule, Offering offering)
focal_class.full_signature: private void populateMapFor(Schedule schedule, Offering offering)
focal_class.identifier: populateMapFor
focal_class.modifiers: private
focal_class.parameters: (Schedule schedule, Offering offering)
focal_class.return: void
focal_class.signature: void populateMapFor(Schedule schedule, Offering offering)
focal_class.class_method_signature: Report.writeOffering(StringBuffer buffer, ArrayList<String> list,
  			Offering offering)
focal_class.full_signature: public void writeOffering(StringBuffer buffer, ArrayList<String> list,
  			Offering offering)
focal_class.identifier: writeOffering
focal_class.modifiers: public
focal_class.parameters: (StringBuffer buffer, ArrayList<String> list,
  			Offering offering)
focal_class.return: void
focal_class.signature: void writeOffering(StringBuffer buffer, ArrayList<String> list,
  			Offering offering)
focal_class.class_method_signature: Report.write(StringBuffer buffer)
focal_class.full_signature: public void write(StringBuffer buffer)
focal_class.identifier: write
focal_class.modifiers: public
focal_class.parameters: (StringBuffer buffer)
focal_class.return: void
focal_class.signature: void write(StringBuffer buffer)
focal_method.body: public void write(StringBuffer buffer) throws Exception {
  		populateMap();
  
  		Enumeration<Integer> enumeration = offeringToName.keys();
  		while (enumeration.hasMoreElements()) {
  			Integer offeringId = enumeration.nextElement();
  			ArrayList<String> list = offeringToName.get(offeringId);
  			writeOffering(buffer, list, Offering.find(offeringId.intValue()));
  		}
  
  		buffer.append("Number of scheduled offerings: ");
  		buffer.append(offeringToName.size());
  		buffer.append("\n");
  	}
focal_method.class_method_signature: Report.write(StringBuffer buffer)
focal_method.full_signature: public void write(StringBuffer buffer)
focal_method.identifier: write
focal_method.invocations: populateMap keys hasMoreElements nextElement get writeOffering find intValue append append size append
focal_method.modifiers: public
focal_method.parameters: (StringBuffer buffer)
focal_method.return: void
focal_method.signature: void write(StringBuffer buffer)