Coursemology/coursemology2

View on GitHub

Showing 1,205 of 1,252 total issues

Avoid too many return statements within this function.
Open

        return {
          ...state,
          annotations: {
            ...state.annotations,
            ...latestAnswer.annotations.reduce(
Severity: Major
Found in client/app/bundles/course/assessment/submission/reducers/commentForms.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return state;
Severity: Major
Found in client/app/bundles/course/assessment/submission/reducers/commentForms.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return { ...state, disableSurveyShow: true };
Severity: Major
Found in client/app/bundles/course/survey/reducers/surveysFlags.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return produce(state, (draft) => {
        draft.selectedItems[action.itemType][action.id] = action.value;
      });
Severity: Major
Found in client/app/bundles/course/duplication/store.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

        return {
          ...state,
          questions,
          exp: computeExp(questions, maximumGrade, basePoints, expMultiplier),
        };

Avoid too many return statements within this function.
Open

      return {
        ...state,
        [answerId]: {
          ...state[answerId],
          isSaving: false,
Severity: Major
Found in client/app/bundles/course/assessment/submission/reducers/scribing.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return {
        ...state,
        [answerId]: {
          ...state[answerId],
          selectedShape,
Severity: Major
Found in client/app/bundles/course/assessment/submission/reducers/scribing.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return {
        ...state,
        [answerId]: {
          ...state[answerId],
          isChangeTool: false,
Severity: Major
Found in client/app/bundles/course/assessment/submission/reducers/scribing.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return {
        ...state,
        [answerId]: {
          ...state[answerId],
          isDisableObjectSelection: true,
Severity: Major
Found in client/app/bundles/course/assessment/submission/reducers/scribing.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return {
        ...state,
        [answerId]: {
          ...state[answerId],
          isCanvasDirty: false,
Severity: Major
Found in client/app/bundles/course/assessment/submission/reducers/scribing.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return {
        ...state,
        [questionId]: {
          ...state[questionId],
          answerIds,

Avoid too many return statements within this function.
Open

      return {
        ...state,
        [answerId]: {
          ...state[answerId],
          thickness: { ...thickness, [toolType]: value },
Severity: Major
Found in client/app/bundles/course/assessment/submission/reducers/scribing.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return {
        ...state,
        [answerId]: {
          ...state[answerId],
          currentStateIndex,
Severity: Major
Found in client/app/bundles/course/assessment/submission/reducers/scribing.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return state;
Severity: Major
Found in client/app/bundles/course/assessment/submission/reducers/scribing.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return {
        ...state,
        visible: false,
        disabled: false,
      };
Severity: Major
Found in client/app/bundles/course/assessment/reducers/formDialog.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return {
        ...state,
        [answerId]: {
          ...state[answerId],
          layers,
Severity: Major
Found in client/app/bundles/course/assessment/submission/reducers/scribing.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return {
        ...state,
        [answerId]: {
          ...state[answerId],
          fontFamily,
Severity: Major
Found in client/app/bundles/course/assessment/submission/reducers/scribing.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return {
        ...state,
        [answerId]: {
          ...state[answerId],
          isCanvasDirty: true,
Severity: Major
Found in client/app/bundles/course/assessment/submission/reducers/scribing.js - About 30 mins to fix

Avoid too many return statements within this function.
Open

      return state;

Avoid too many return statements within this function.
Open

      return {
        ...state,
        [answerId]: {
          ...state[answerId],
          canvasZoom,
Severity: Major
Found in client/app/bundles/course/assessment/submission/reducers/scribing.js - About 30 mins to fix
Severity
Category
Status
Source
Language