emsk/redmine-notifier

View on GitHub

Showing 3 of 5 total issues

File index.js has 561 lines of code (exceeds 250 allowed). Consider refactoring.
Open

'use strict';

(() => {
  const isMac = process.platform === 'darwin';
  const defaultFetchIntervalSec = 600;
Severity: Major
Found in app/index.js - About 1 day to fix

    Function initMenu has 68 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        initMenu() {
          const appMenu = Menu.buildFromTemplate([
            {
              label: 'Edit',
              submenu: [
    Severity: Major
    Found in app/index.js - About 2 hrs to fix

      Function initEventListener has 63 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          initEventListener() {
            document.getElementById('save-button').addEventListener('click', () => {
              const notifier = this._notifiers[this._currentNotifierIndex];
              notifier.readScreenSettings();
      
      
      Severity: Major
      Found in app/index.js - About 2 hrs to fix
        Severity
        Category
        Status
        Source
        Language