test_class.file: CodeSmells/src/reggie/TestSchedule.java
test_class.identifier: TestSchedule
test_case.body: @Test
  	public void testOfferingCreate() throws Exception {
  		Course c = Course.create("CS202", 2);
  		Offering offering = Offering.create(c, "M10");
  		assertNotNull(offering);
  	}
test_case.class_method_signature: TestSchedule.testOfferingCreate()
test_case.full_signature: @Test public void testOfferingCreate()
test_case.identifier: testOfferingCreate
test_case.invocations: create create assertNotNull
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testOfferingCreate()
focal_class.declarator: name
focal_class.original_string: String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: credits = 0
focal_class.original_string: int credits = 0;
focal_class.type: int
focal_class.var_name: credits
focal_class.declarator: minCredits = 12
focal_class.modifier: static final
focal_class.original_string: static final int minCredits = 12;
focal_class.type: int
focal_class.var_name: minCredits
focal_class.declarator: maxCredits = 18
focal_class.modifier: static final
focal_class.original_string: static final int maxCredits = 18;
focal_class.type: int
focal_class.var_name: maxCredits
focal_class.declarator: overloadAuthorized = false
focal_class.original_string: boolean overloadAuthorized = false;
focal_class.type: boolean
focal_class.var_name: overloadAuthorized
focal_class.declarator: schedule = new ArrayList<Offering>()
focal_class.original_string: ArrayList<Offering> schedule = new ArrayList<Offering>();
focal_class.type: ArrayList<Offering>
focal_class.var_name: schedule
focal_class.declarator: url = "jdbc:odbc:Reggie"
focal_class.modifier: static
focal_class.original_string: static String url = "jdbc:odbc:Reggie";
focal_class.type: String
focal_class.var_name: url
focal_class.file: CodeSmells/src/reggie/Schedule.java
focal_class.identifier: Schedule
focal_class.class_method_signature: Schedule.deleteAll()
focal_class.full_signature: public static void deleteAll()
focal_class.identifier: deleteAll
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void deleteAll()
focal_class.class_method_signature: Schedule.create(String name)
focal_class.full_signature: public static Schedule create(String name)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (String name)
focal_class.return: Schedule
focal_class.signature: Schedule create(String name)
focal_class.class_method_signature: Schedule.find(String name)
focal_class.full_signature: public static Schedule find(String name)
focal_class.identifier: find
focal_class.modifiers: public static
focal_class.parameters: (String name)
focal_class.return: Schedule
focal_class.signature: Schedule find(String name)
focal_class.class_method_signature: Schedule.all()
focal_class.full_signature: public static Collection<Schedule> all()
focal_class.identifier: all
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Collection<Schedule>
focal_class.signature: Collection<Schedule> all()
focal_class.class_method_signature: Schedule.update()
focal_class.full_signature: public void update()
focal_class.identifier: update
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void update()
focal_class.class_method_signature: Schedule.Schedule(String name)
focal_class.full_signature: public  Schedule(String name)
focal_class.identifier: Schedule
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.signature:  Schedule(String name)
focal_class.class_method_signature: Schedule.add(Offering offering)
focal_class.full_signature: public void add(Offering offering)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (Offering offering)
focal_class.return: void
focal_class.signature: void add(Offering offering)
focal_class.class_method_signature: Schedule.authorizeOverload(boolean authorized)
focal_class.full_signature: public void authorizeOverload(boolean authorized)
focal_class.identifier: authorizeOverload
focal_class.modifiers: public
focal_class.parameters: (boolean authorized)
focal_class.return: void
focal_class.signature: void authorizeOverload(boolean authorized)
focal_class.class_method_signature: Schedule.analysis()
focal_class.full_signature: public List<String> analysis()
focal_class.identifier: analysis
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> analysis()
focal_class.class_method_signature: Schedule.checkDuplicateCourses(ArrayList<String> analysis)
focal_class.full_signature: public void checkDuplicateCourses(ArrayList<String> analysis)
focal_class.identifier: checkDuplicateCourses
focal_class.modifiers: public
focal_class.parameters: (ArrayList<String> analysis)
focal_class.return: void
focal_class.signature: void checkDuplicateCourses(ArrayList<String> analysis)
focal_class.class_method_signature: Schedule.checkOverlap(ArrayList<String> analysis)
focal_class.full_signature: public void checkOverlap(ArrayList<String> analysis)
focal_class.identifier: checkOverlap
focal_class.modifiers: public
focal_class.parameters: (ArrayList<String> analysis)
focal_class.return: void
focal_class.signature: void checkOverlap(ArrayList<String> analysis)
focal_class.class_method_signature: Schedule.toString()
focal_class.full_signature: public String toString()
focal_class.identifier: toString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public static Schedule create(String name) throws Exception {
          Connection conn = null;
  
          try {
              conn = DriverManager.getConnection(url, "", "");
              Statement statement = conn.createStatement();
  
              statement.executeUpdate(
  		"DELETE FROM schedule WHERE name = '" + name + "';");
              return new Schedule(name);
          } finally {
              try { conn.close(); } catch (Exception ignored) {}
          }
      }
focal_method.class_method_signature: Schedule.create(String name)
focal_method.full_signature: public static Schedule create(String name)
focal_method.identifier: create
focal_method.invocations: getConnection createStatement executeUpdate close
focal_method.modifiers: public static
focal_method.parameters: (String name)
focal_method.return: Schedule
focal_method.signature: Schedule create(String name)