cozy-labs/cozy-desktop

View on GitHub

Showing 615 of 615 total issues

Avoid too many return statements within this function.
Open

    return 'text'
Severity: Major
Found in gui/js/fileutils.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return 'spreadsheet'
    Severity: Major
    Found in gui/js/fileutils.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                return this.save(doc)
      Severity: Major
      Found in core/merge.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

              if (lower(deletedPath(move), deletedPath(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

                      return await cozy.files.updateAttributesById(remoteDoc._id, opts)
          Severity: Major
          Found in dev/capture/remote.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return this.save(doc)
            Severity: Major
            Found in core/merge.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                        return this.save(doc)
              Severity: Major
              Found in core/merge.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                      return ''
                Severity: Major
                Found in gui/js/network/agent.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return 'text'
                  Severity: Major
                  Found in gui/js/fileutils.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          return this.addFileAsync(side, doc)
                    Severity: Major
                    Found in core/merge.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                        if (areEqual(deletedId(b), createdId(desc))) return descFirst
                      Severity: Major
                      Found in core/remote/change.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return 'archive'
                        Severity: Major
                        Found in gui/js/fileutils.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                    return
                          Severity: Major
                          Found in core/merge.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                  return this.save(doc)
                            Severity: Major
                            Found in core/merge.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return this.moveFolderRecursivelyAsync(side, doc, was, newRemoteRevs)
                              Severity: Major
                              Found in core/merge.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return 0
                                Severity: Major
                                Found in core/remote/change.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      return 0
                                  Severity: Major
                                  Found in core/remote/change.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: UNKNOWN_REMOTE_ERROR_CODE,
                                                  message:
                                                    'The remote Cozy failed to process the request for an unknown reason',
                                                  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/remote/cozy.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language