Coursemology/coursemology2

View on GitHub
client/app/bundles/course/survey/actions/questions.js

Summary

Maintainability
A
1 hr
Test Coverage

Function finalizeOrder has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function finalizeOrder(successMessage, failureMessage, onError) {
  return (dispatch, getState) => {
    const {
      surveysFlags: { isQuestionMoved },
      surveys,
Severity: Minor
Found in client/app/bundles/course/survey/actions/questions.js - About 1 hr to fix

Function updateSurveyQuestion has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

  questionId,
  data,
  successMessage,
  failureMessage,
  setError,
Severity: Minor
Found in client/app/bundles/course/survey/actions/questions.js - About 35 mins to fix

There are no issues that match your filters.

Category
Status