Coursemology/coursemology2

View on GitHub
client/app/bundles/course/assessment/submission/containers/PastAnswers.jsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function renderPastAnswerSelect has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  renderPastAnswerSelect() {
    const {
      answers,
      answerIds,
      selectedAnswerIds,

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

  getAnswersHistory(question, answer) {
    const { intl } = this.props;
    switch (question.type) {
      case questionTypes.Programming:
        return <PastProgrammingAnswer answer={answer} question={question} />;

There are no issues that match your filters.

Category
Status