Coursemology/coursemology2

View on GitHub
client/app/bundles/course/assessment/submission/reducers/testCases.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function default has 60 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function (state = {}, action) {
  switch (action.type) {
    case actions.FETCH_SUBMISSION_SUCCESS:
    case actions.FINALISE_SUCCESS:
    case actions.UNSUBMIT_SUCCESS:
Severity: Major
Found in client/app/bundles/course/assessment/submission/reducers/testCases.js - About 2 hrs to fix

There are no issues that match your filters.

Category
Status