Coursemology/coursemology2

View on GitHub
client/app/bundles/course/survey/pages/SurveyResults/TextResponseResults.jsx

Summary

Maintainability
A
2 hrs
Test Coverage

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

  static renderTextResultsTable(answers, anonymous) {
    return (
      <Table>
        <TableHead>
          <TableRow>

Function render has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render() {
    const { includePhantoms, answers, anonymous } = this.props;
    const filteredAnswers = includePhantoms
      ? answers
      : answers.filter((answer) => !answer.phantom);

There are no issues that match your filters.

Category
Status