johnjones4/InBrief

View on GitHub
src/ui/widgets/Email.js

Summary

Maintainability
A
3 hrs
Test Coverage

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

  renderMailboxConfig (mailbox, i) {
    switch (mailbox.type) {
      case 'exchange':
        return (
          <div>
Severity: Minor
Found in src/ui/widgets/Email.js - About 1 hr to fix

    Function renderEditor has 42 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      renderEditor () {
        const tempConfig = this.getWidgetTempConfig()
        const mailboxTypes = [
          {
            name: 'exchange',
    Severity: Minor
    Found in src/ui/widgets/Email.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status