Coursemology/coursemology2

View on GitHub
client/app/bundles/course/assessment/submission/utils/answers.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function convertAnswerDataToInitialValue has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const convertAnswerDataToInitialValue = (
  answer: AnswerData,
): AnswerFieldEntity | null => {
  switch (answer.questionType) {
    case QuestionType.MultipleChoice:
Severity: Minor
Found in client/app/bundles/course/assessment/submission/utils/answers.ts - About 1 hr to fix

There are no issues that match your filters.

Category
Status