superdesk/superdesk-client-core

View on GitHub

Showing 3,654 of 3,654 total issues

Function UserEditController has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

export function UserEditController($scope, server, superdesk, user, session) {
Severity: Minor
Found in scripts/apps/users/controllers/UserEditController.ts - About 35 mins to fix

    Function HighlightsReactDropdown has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    export function HighlightsReactDropdown(item, className, highlightsService, desks, noHighlightsLabel) {
    Severity: Minor
    Found in scripts/apps/highlights/directives/HighlightsReactDropdown.tsx - About 35 mins to fix

      Function DictionaryConfigController has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      export function DictionaryConfigController($scope, dictionaries, session, modal, notify) {
      Severity: Minor
      Found in scripts/apps/dictionaries/controllers/DictionaryConfigController.ts - About 35 mins to fix

        Function showSpikeDialog has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            modal: any,
            doSpike: () => void,
            promptForConfirmationMessage: string,
            middlewares: Array<(value: T) => Promise<onSpikeMiddlewareResult>>,
            middlewareArgument: T,
        Severity: Minor
        Found in scripts/apps/archive/show-spike-dialog.tsx - About 35 mins to fix

          Function PackageHighlightsDropdown has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          export function PackageHighlightsDropdown(desks, highlightsService, $location, $route, _) {
          Severity: Minor
          Found in scripts/apps/highlights/directives/PackageHighlightsDropdown.ts - About 35 mins to fix

            Function DictionaryService has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

            export function DictionaryService(api, urls, session, Upload, $q) {
            Severity: Minor
            Found in scripts/apps/dictionaries/services/DictionaryService.ts - About 35 mins to fix

              Function SessionsDeleteCommand has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              export function SessionsDeleteCommand(api, data, $q, notify, $rootScope) {
              Severity: Minor
              Found in scripts/apps/users/controllers/SessionsDeleteCommand.ts - About 35 mins to fix

                Function RenditionsService has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                export function RenditionsService(metadata, $q, api, superdesk, _) {
                Severity: Minor
                Found in scripts/apps/authoring/authoring/services/RenditionsService.ts - About 35 mins to fix

                  Function publish has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                          orig,
                          diff,
                          action: 'publish' | 'correct' = 'publish',
                          publishingWarningsConfirmed = false,
                          {notifyErrors}: IPublishOptions = {notifyErrors: false},
                  Severity: Minor
                  Found in scripts/apps/authoring/authoring/services/AuthoringService.ts - About 35 mins to fix

                    Function MetaTermsDirective has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    function MetaTermsDirective(metadata, $filter, $timeout, preferencesService, desks) {
                    Severity: Minor
                    Found in scripts/apps/authoring/metadata/metadata.ts - About 35 mins to fix

                      Function LockService has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                      export function LockService($q, api, session, privileges, notify) {
                      Severity: Minor
                      Found in scripts/apps/authoring/authoring/services/LockService.ts - About 35 mins to fix

                        Function open has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            this.open = function openAuthoring(_id, readOnly, repo, action, state) {
                        Severity: Minor
                        Found in scripts/apps/authoring/authoring/services/AuthoringService.ts - About 35 mins to fix

                          Function validateTimestamp has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                                      function validateTimestamp(datePartOfTS, timePartOfTS, timestamp, timezone, fieldName) {
                          Severity: Minor
                          Found in scripts/apps/authoring/authoring/directives/AuthoringDirective.ts - About 35 mins to fix

                            Function register has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                this.register = function(type, componentClass, props = {}, data = [], onInit = null) {
                            Severity: Minor
                            Found in scripts/apps/extension-points/services/ExtensionPoints.ts - About 35 mins to fix

                              Function RoutingWidgetController has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                              function RoutingWidgetController(desks, privileges, api, notify, $scope) {
                              Severity: Minor
                              Found in scripts/apps/dashboard/closed-desk/index.ts - About 35 mins to fix

                                Function MultieditService has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                function MultieditService(storage, superdesk, authoringWorkspace: AuthoringWorkspaceService, referrer, $location) {
                                Severity: Minor
                                Found in scripts/apps/authoring/multiedit/multiedit.ts - About 35 mins to fix

                                  Function getBulkActions has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      articles: Array<IArticle>,
                                      multiActions: IMultiActions,
                                      getSelectedItems: () => Array<IArticle>,
                                      unselectAll: () => void,
                                      scopeApply: () => void,
                                  Severity: Minor
                                  Found in scripts/apps/search/controllers/get-bulk-actions.tsx - About 35 mins to fix

                                    Function SavedSearchManageSubscribers has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                    export function SavedSearchManageSubscribers(asset, userList, api, modal, desks) {
                                    Severity: Minor
                                    Found in scripts/apps/search/directives/SavedSearchManageSubscribers.ts - About 35 mins to fix

                                      Function SearchFilters has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                      export function SearchFilters(desks, tags, $location, metadata, session) {
                                      Severity: Minor
                                      Found in scripts/apps/search/directives/SearchFilters.ts - About 35 mins to fix

                                        Function SaveSearch has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                        export function SaveSearch($location, asset, api, notify, $rootScope) {
                                        Severity: Minor
                                        Found in scripts/apps/search/directives/SaveSearch.ts - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language