E605A Refactoring - Questionnaire

CSC 517 - Project 2

OSS Project Refactoring

Mark Hall
Dan Howard
Eric Lumpkin


Changes:

Pulled up get_weighted_score from four subclasses to questionnaire.rb superclass. (Was in author_feedback_questionnaire.rb, metareview_questionnaire.rb, review_questionnaire.rb, teammate_review_questionnare.rb.)

Renamed create_questionnaire to create in questionnaire controller. (line 156)

Renamed save_questionnaire to save in questionnaire controller. (line 214)

questionnaire controller edit method pulled out export method from 102-108 and import method from 110-125.

Moved edit and save advice in questionnaire controller to new class advice_controller.

Removed delete_question_type method.

Break out of getInstructorID method.

General code clean-up; reduction of control structures where possible. (for example, change:   if variable == true   to   if variable)