cozy-labs/cozy-desktop

View on GitHub

Showing 415 of 610 total issues

Avoid too many return statements within this function.
Open

    return aFirst
Severity: Major
Found in core/local/chokidar/analysis.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

      if (isRestore(b) || isAdd(b)) return sortForAdd(b, a, bFirst)
    Severity: Major
    Found in core/remote/change.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return bFirst
      Severity: Major
      Found in core/local/chokidar/analysis.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return bFirst
        Severity: Major
        Found in core/local/chokidar/analysis.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                    return new RemoteError({
                      code: NO_COZY_SPACE_CODE,
                      message: 'Not enough space available on remote Cozy',
                      err
                    })
          Severity: Major
          Found in core/remote/errors.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return bFirst
            Severity: Major
            Found in core/local/chokidar/analysis.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return new RemoteError({ err })
              Severity: Major
              Found in core/remote/errors.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                      return 0
                Severity: Major
                Found in core/local/chokidar/analysis.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return aFirst
                  Severity: Major
                  Found in core/local/chokidar/analysis.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                        return aFirst
                    Severity: Major
                    Found in core/local/chokidar/analysis.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                        return bFirst
                      Severity: Major
                      Found in core/local/chokidar/analysis.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return this.identifyExistingDocChange(
                                  remoteDoc,
                                  was,
                                  previousChanges,
                                  originalMoves,
                        Severity: Major
                        Found in core/remote/watcher/index.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                    return new RemoteError({
                                      code: INVALID_FOLDER_MOVE_CODE,
                                      message:
                                        'The folder would be moved wihtin one of its sub-folders on the remote Cozy',
                                      err
                          Severity: Major
                          Found in core/remote/errors.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                return aFirst
                            Severity: Major
                            Found in core/local/chokidar/analysis.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return aFirst
                              Severity: Major
                              Found in core/local/chokidar/analysis.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    if (areParentChild(deletedPath(move), createdPath(b))) return -moveFirst
                                Severity: Major
                                Found in core/remote/change.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                    if (localChange.isChildUpdate(a, b)) return aFirst
                                  Severity: Major
                                  Found in core/local/chokidar/analysis.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                      if (localChange.isChildDelete(b, a)) return aFirst
                                    Severity: Major
                                    Found in core/local/chokidar/analysis.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          return aFirst
                                      Severity: Major
                                      Found in core/local/chokidar/analysis.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            if (areParentChild(createdPath(move), createdPath(b))) return moveFirst
                                        Severity: Major
                                        Found in core/remote/change.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language