Coursemology/coursemology2

View on GitHub
client/app/bundles/course/admin/pages/NotificationSettings/index.jsx

Summary

Maintainability
A
3 hrs
Test Coverage

Function renderRow has 56 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  renderRow(setting) {
    const componentTitle =
      setting.title ??
      (settingComponents[setting.component] ? (
        <FormattedMessage {...settingComponents[setting.component]} />
Severity: Major
Found in client/app/bundles/course/admin/pages/NotificationSettings/index.jsx - About 2 hrs to fix

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

  renderEmailSettingsTable() {
    const { emailSettings } = this.props;

    if (emailSettings.length < 1) {
      return (

There are no issues that match your filters.

Category
Status