CSC/ECE 517 Spring 2023 - E2301. Refactor review maping helper

From Expertiza_Wiki
Revision as of 22:31, 22 March 2023 by Drkanaki (talk | contribs) (Created page with " == '''Introduction == ''' This page gives a description of the changes made for the review_mapping_helper.rb of Expertiza based OSS project. == '''Overview of Expertiza =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

== Introduction

==

This page gives a description of the changes made for the review_mapping_helper.rb of Expertiza based OSS project.


== Overview of Expertiza

==

Expertiza is a learning management system that is available as open source software and was created using Ruby on Rails. It has a wide range of features and capabilities, where students can submit and peer-review learning objects (articles, codes, websites, etc). Instructors add and grade the assignments submitted by students to Expertiza. The files that are largely addressed in this project, such as assignment_node.rb, course_node.rb, team_node.rb, folder_node.rb, and questionnaire_node.rb, are essential in executing this functionality. It is supported by the National Science Foundation.


== Problem Statement

==

The review_mapping_helper.rb has multiple functions with a high complexities namely - Cognitive, Perceived, Cyclomatic, Assignment Branch Condition size (ABC size) and Lines of Code (LOC). The review_mapping_helper.rb has methods which exceeds the limit on lines of code. It is missing proper comments for each functionality.