Coursemology/coursemology2

View on GitHub
client/app/bundles/course/assessment/question/scribing/store.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function reducer has 51 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const reducer = produce((state, action) => {
  const { type } = action;

  switch (type) {
    case actionTypes.FETCH_SKILLS_REQUEST:
Severity: Major
Found in client/app/bundles/course/assessment/question/scribing/store.ts - About 2 hrs to fix

Avoid too many return statements within this function.
Open

      return state;
Severity: Major
Found in client/app/bundles/course/assessment/question/scribing/store.ts - About 30 mins to fix

There are no issues that match your filters.

Category
Status