NodeBB/NodeBB

View on GitHub

Showing 536 of 552 total issues

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

    function executeAction(uid, confirmText, path, successText, callback) {
Severity: Minor
Found in public/src/modules/accounts/delete.js - About 35 mins to fix

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

        Topics.createTopicFromPosts = async function (uid, title, pids, fromTid, cid) {
    Severity: Minor
    Found in src/topics/fork.js - About 35 mins to fix

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

          function check(item, min, max, minError, maxError) {
      Severity: Minor
      Found in src/topics/create.js - About 35 mins to fix

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

            function createNewPosts(data, repliesSelector, direction, userScrolled, callback) {
        Severity: Minor
        Found in public/src/client/topic/posts.js - About 35 mins to fix

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

              function onTopicsLoaded(templateName, topics, showSelect, direction, callback) {
          Severity: Minor
          Found in public/src/modules/topicList.js - About 35 mins to fix

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

                Topics.getSuggestedTopics = async function (tid, uid, start, stop, cutoff = 0) {
            Severity: Minor
            Found in src/topics/suggested.js - About 35 mins to fix

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

                  navigator.init = function (selector, count, toTop, toBottom, callback) {
              Severity: Minor
              Found in public/src/modules/navigator.js - About 35 mins to fix

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

                    async function setWatching(method1, method2, hook, tid, uid) {
                Severity: Minor
                Found in src/topics/follow.js - About 35 mins to fix

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

                      Topics.getRecentTopics = async function (cid, uid, start, stop, filter) {
                  Severity: Minor
                  Found in src/topics/recent.js - About 35 mins to fix

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

                            set: function (hash, settings, wrapper, callback, notify) {
                    Severity: Minor
                    Found in public/src/modules/settings.js - About 35 mins to fix

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

                          async function renderHeaderFooter(method, req, res, options, headerFooterData) {
                      Severity: Minor
                      Found in src/middleware/render.js - About 35 mins to fix

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

                            function renderContent(render, tpl, req, res, options) {
                        Severity: Minor
                        Found in src/middleware/render.js - About 35 mins to fix

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

                              module.getSortedSetRevRangeByScoreWithScores = async function (key, start, count, max, min) {
                          Severity: Minor
                          Found in src/database/mongo/sorted.js - About 35 mins to fix

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

                                module.getSortedSetRangeByScore = async function (key, start, count, min, max) {
                            Severity: Minor
                            Found in src/database/postgres/sorted.js - About 35 mins to fix

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

                                  module.getSortedSetRangeByScore = async function (key, start, count, min, max) {
                              Severity: Minor
                              Found in src/database/mongo/sorted.js - About 35 mins to fix

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

                                    module.getSortedSetRevRangeByScoreWithScores = async function (key, start, count, max, min) {
                                Severity: Minor
                                Found in src/database/redis/sorted.js - About 35 mins to fix

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

                                      module.getSortedSetRevRangeByLex = async function (key, max, min, start, count) {
                                  Severity: Minor
                                  Found in src/database/postgres/sorted.js - About 35 mins to fix

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

                                        module.getSortedSetRangeByLex = async function (key, min, max, start, count) {
                                    Severity: Minor
                                    Found in src/database/mongo/sorted.js - About 35 mins to fix

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

                                          module.getSortedSetRangeByLex = async function (key, min, max, start, count) {
                                      Severity: Minor
                                      Found in src/database/postgres/sorted.js - About 35 mins to fix

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

                                            module.getSortedSetRevRangeByLex = async function (key, max, min, start, count) {
                                        Severity: Minor
                                        Found in src/database/mongo/sorted.js - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language