lebretr/sequelize-oracle

View on GitHub
lib/query-interface.js

Summary

Maintainability
F
2 wks
Test Coverage

Function exports has 797 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = (function() {
  var QueryInterface = function(sequelize) {
    this.sequelize                = sequelize
    this.QueryGenerator           = require('./dialects/' + this.sequelize.options.dialect + '/query-generator')
    this.QueryGenerator.options   = this.sequelize.options
Severity: Major
Found in lib/query-interface.js - About 3 days to fix

    Function exports has a Cognitive Complexity of 116 (exceeds 5 allowed). Consider refactoring.
    Open

    module.exports = (function() {
      var QueryInterface = function(sequelize) {
        this.sequelize                = sequelize
        this.QueryGenerator           = require('./dialects/' + this.sequelize.options.dialect + '/query-generator')
        this.QueryGenerator.options   = this.sequelize.options
    Severity: Minor
    Found in lib/query-interface.js - About 2 days to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    File query-interface.js has 804 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    var Utils                = require(__dirname + '/utils')
      , DataTypes            = require(__dirname + '/data-types')
      , SQLiteQueryInterface = require(__dirname + '/dialects/sqlite/query-interface')
      , Transaction          = require(__dirname + '/transaction')
      , QueryTypes           = require('./query-types')
    Severity: Major
    Found in lib/query-interface.js - About 1 day to fix

      Function createTable has 93 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        QueryInterface.prototype.createTable = function(tableName, attributes, options) {
          var attributeHashes   = {}
            , dataTypeValues    = Utils._.values(DataTypes)
            , keys              = Object.keys(attributes)
            , keyLen            = keys.length
      Severity: Major
      Found in lib/query-interface.js - About 3 hrs to fix

        Function delete has 73 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          QueryInterface.prototype.delete = function(dao, tableName, identifier, options) {
            var self      = this
              , restrict  = false
              , cascades  = []
              , sql       = self.QueryGenerator.deleteQuery(tableName, identifier, null, dao.daoFactory)
        Severity: Major
        Found in lib/query-interface.js - About 2 hrs to fix

          Function queryAndEmit has 43 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            var queryAndEmit = QueryInterface.prototype.queryAndEmit = function(sqlOrQueryParams, methodName, options, emitter) {
              options = Utils._.extend({
                success:     function(){},
                error:       function(){},
                transaction: null,
          Severity: Minor
          Found in lib/query-interface.js - About 1 hr to fix

            Function dropAllTables has 39 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              QueryInterface.prototype.dropAllTables = function(options) {
                var self = this
            
                if (!options) {
                  options = {}
            Severity: Minor
            Found in lib/query-interface.js - About 1 hr to fix

              Function dropTable has 34 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                QueryInterface.prototype.dropTable = function(tableName, options) {
                  // if we're forcing we should be cascading unless explicitly stated otherwise
                  options = options || {}
                  options.cascade = options.cascade || options.force || false
              
              
              Severity: Minor
              Found in lib/query-interface.js - About 1 hr to fix

                Function rawSelect has 33 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                  QueryInterface.prototype.rawSelect = function(tableName, options, attributeSelector) {
                    var self = this
                
                    if (attributeSelector === undefined) {
                      throw new Error('Please pass an attribute selector!')
                Severity: Minor
                Found in lib/query-interface.js - About 1 hr to fix

                  Function describeTable has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                    QueryInterface.prototype.describeTable = function(tableName, options) {
                      var self = this
                        , schema = null
                        , schemaDelimiter = null
                  
                  
                  Severity: Minor
                  Found in lib/query-interface.js - About 1 hr to fix

                    Function execQuery has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        var execQuery = function(emitter) {
                    
                          if (Array.isArray(sqlOrQueryParams)) {
                            if (sqlOrQueryParams.length === 1) {
                              sqlOrQueryParams.push(null)
                    Severity: Minor
                    Found in lib/query-interface.js - About 1 hr to fix

                      Function update has 30 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                        QueryInterface.prototype.update = function(dao, tableName, values, identifier, options) {
                          var self = this
                            , restrict = false
                            , sql = self.QueryGenerator.updateQuery(tableName, values, identifier, options, dao.daoFactory.rawAttributes)
                      
                      
                      Severity: Minor
                      Found in lib/query-interface.js - About 1 hr to fix

                        Function iterate has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                              var iterate = function(err, i) {
                                if (!!err || i >= cascades.length) {
                                  return run(err)
                                }
                        
                        
                        Severity: Minor
                        Found in lib/query-interface.js - About 1 hr to fix

                          Function createTrigger has 7 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                            QueryInterface.prototype.createTrigger = function(tableName, triggerName, timingType, fireOnArray,
                                functionName, functionParams, optionsArray) {
                          Severity: Major
                          Found in lib/query-interface.js - About 50 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                              if (enumVals.indexOf(value) === -1) {
                                                if (!!vals[idx+1]) {
                                                  options.before = vals[idx+1]
                                                }
                                                else if (!!vals[idx-1]) {
                            Severity: Major
                            Found in lib/query-interface.js - About 45 mins to fix

                              Function createFunction has 6 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                QueryInterface.prototype.createFunction = function(functionName, params, returnType, language, body, options) {
                              Severity: Minor
                              Found in lib/query-interface.js - About 45 mins to fix

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

                                  QueryInterface.prototype.increment = function(dao, tableName, values, identifier, options) {
                                Severity: Minor
                                Found in lib/query-interface.js - About 35 mins to fix

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

                                    QueryInterface.prototype.update = function(dao, tableName, values, identifier, options) {
                                  Severity: Minor
                                  Found in lib/query-interface.js - About 35 mins to fix

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                            chainer.runSerially()
                                            .success(function(results){
                                              emitter.query = { sql: sql }
                                              emitter.emit('sql', sql)
                                              emitter.emit('success', results[1])
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 4 hrs to fix
                                    lib/query-interface.js on lines 688..698

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 124.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                          chainer.runSerially()
                                          .success(function(results){
                                            emitter.query = { sql: sql }
                                            emitter.emit('sql', sql)
                                            emitter.emit('success', results[0])
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 4 hrs to fix
                                    lib/query-interface.js on lines 658..668

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 124.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                                queryAndEmit
                                                  .call(self, sql, 'createTable', options)
                                                  .success(function(res) {
                                                    self.emit('createTable', null)
                                                    emitter.emit('success', res)
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 4 hrs to fix
                                    lib/query-interface.js on lines 176..184

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 117.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                            queryAndEmit.call(self, sql, 'createTable', options).success(function(results) {
                                              self.emit('createTable', null)
                                              emitter.emit('success', results)
                                            }).error(function(err) {
                                              self.emit('createTable', err)
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 4 hrs to fix
                                    lib/query-interface.js on lines 153..165

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 117.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                      QueryInterface.prototype.renameTrigger = function(tableName, oldTriggerName, newTriggerName) {
                                        var  sql = this.QueryGenerator.renameTrigger(tableName, oldTriggerName, newTriggerName)
                                        if (sql){
                                          return queryAndEmit.call(this, sql, 'renameTrigger')
                                        } else {
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 3 hrs to fix
                                    lib/query-interface.js on lines 843..853

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 114.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                      QueryInterface.prototype.startTransaction = function(transaction, options) {
                                        if (!transaction || !(transaction instanceof Transaction)) {
                                          throw new Error('Unable to start a transaction without transaction object!')
                                        }
                                    
                                    
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 3 hrs to fix
                                    lib/query-interface.js on lines 913..924

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 114.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                      QueryInterface.prototype.renameFunction = function(oldFunctionName, params, newFunctionName) {
                                        var  sql = this.QueryGenerator.renameFunction(oldFunctionName, params, newFunctionName)
                                        if (sql){
                                          return queryAndEmit.call(this, sql, 'renameFunction')
                                        } else {
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 3 hrs to fix
                                    lib/query-interface.js on lines 807..817

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 114.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                      QueryInterface.prototype.commitTransaction = function(transaction, options) {
                                        if (!transaction || !(transaction instanceof Transaction)) {
                                          throw new Error('Unable to commit a transaction without transaction object!')
                                        }
                                    
                                    
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 3 hrs to fix
                                    lib/query-interface.js on lines 900..911

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 114.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                      QueryInterface.prototype.dropFunction = function(functionName, params) {
                                        var  sql = this.QueryGenerator.dropFunction(functionName, params)
                                        if (sql){
                                          return queryAndEmit.call(this, sql, 'dropFunction')
                                        } else {
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 3 hrs to fix
                                    lib/query-interface.js on lines 795..805

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 113.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                      QueryInterface.prototype.dropTrigger = function(tableName, triggerName) {
                                        var  sql = this.QueryGenerator.dropTrigger(tableName, triggerName)
                                        if (sql){
                                          return queryAndEmit.call(this, sql, 'dropTrigger')
                                        } else {
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 3 hrs to fix
                                    lib/query-interface.js on lines 831..841

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 113.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                              if (attributes[keys[i]].toString().match(/^ENUM\(/) || attributes[keys[i]].toString() === "ENUM" || (attributes[keys[i]].type && attributes[keys[i]].type.toString() === "ENUM")) {
                                                sql = self.QueryGenerator.pgListEnums(getTableName, keys[i], options)
                                                chainer.add(self.sequelize.query(sql, null, { plain: true, raw: true, type: QueryTypes.SELECT, logging: options.logging }))
                                              }
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 2 hrs to fix
                                    lib/query-interface.js on lines 119..146

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 91.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                                if (attributes[keys[i]].toString().match(/^ENUM\(/) || attributes[keys[i]].toString() === "ENUM" || (attributes[keys[i]].type && attributes[keys[i]].type.toString() === "ENUM")) {
                                                  // If the enum type doesn't exist then create it
                                                  if (!results[enumIdx]) {
                                                    sql = self.QueryGenerator.pgEnum(getTableName, keys[i], attributes[keys[i]], options)
                                                    chainer2.add(self.sequelize.query(sql, null, { raw: true, logging: options.logging }))
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 2 hrs to fix
                                    lib/query-interface.js on lines 104..107

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 91.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                      QueryInterface.prototype.setIsolationLevel = function(transaction, value) {
                                        if (!transaction || !(transaction instanceof Transaction)) {
                                          throw new Error('Unable to set isolation level for a transaction without transaction object!')
                                        }
                                    
                                    
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 2 hrs to fix
                                    lib/query-interface.js on lines 882..889

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 89.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                      QueryInterface.prototype.setAutocommit = function(transaction, value) {
                                        if (!transaction || !(transaction instanceof Transaction)) {
                                          throw new Error('Unable to set autocommit for a transaction without transaction object!')
                                        }
                                    
                                    
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 2 hrs to fix
                                    lib/query-interface.js on lines 891..898

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 89.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Identical blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                        if (Utils._.values(DataTypes).indexOf(dataTypeOrOptions) > -1) {
                                          attributes[attributeName] = { type: dataTypeOrOptions, allowNull: true }
                                        } else {
                                          attributes[attributeName] = dataTypeOrOptions
                                        }
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 1 hr to fix
                                    lib/query-interface.js on lines 418..422

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 70.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Identical blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                        if (Utils._.values(DataTypes).indexOf(dataTypeOrOptions) > -1) {
                                          attributes[attributeName] = { type: dataTypeOrOptions, allowNull: true }
                                        } else {
                                          attributes[attributeName] = dataTypeOrOptions
                                        }
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 1 hr to fix
                                    lib/query-interface.js on lines 391..395

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 70.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                        if (this.sequelize.options.dialect === 'sqlite') {
                                          // sqlite needs some special treatment as it cannot change a column
                                          return new Utils.CustomEventEmitter(function(emitter) {
                                            SQLiteQueryInterface.changeColumn.call(this, tableName, attributes, emitter, queryAndEmit)
                                          }.bind(this)).run()
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 1 hr to fix
                                    lib/query-interface.js on lines 404..412

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 57.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                        if (this.sequelize.options.dialect === 'sqlite') {
                                          // sqlite needs some special treatment as it cannot drop a column
                                          return new Utils.CustomEventEmitter(function(emitter) {
                                            SQLiteQueryInterface.removeColumn.call(this, tableName, attributeName, emitter, queryAndEmit)
                                          }.bind(this)).run()
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 1 hr to fix
                                    lib/query-interface.js on lines 424..434

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 57.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 3 locations. Consider refactoring.
                                    Open

                                      QueryInterface.prototype.showIndex = function(tableName, options) {
                                        var sql = this.QueryGenerator.showIndexQuery(tableName, options)
                                        return queryAndEmit.call(this, sql, 'showIndex')
                                      }
                                    Severity: Major
                                    Found in lib/query-interface.js and 2 other locations - About 1 hr to fix
                                    lib/query-interface.js on lines 322..325
                                    lib/query-interface.js on lines 508..511

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 55.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 3 locations. Consider refactoring.
                                    Open

                                      QueryInterface.prototype.renameTable = function(before, after) {
                                        var sql = this.QueryGenerator.renameTableQuery(before, after)
                                        return queryAndEmit.call(this, sql, 'renameTable')
                                      }
                                    Severity: Major
                                    Found in lib/query-interface.js and 2 other locations - About 1 hr to fix
                                    lib/query-interface.js on lines 474..477
                                    lib/query-interface.js on lines 508..511

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 55.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 3 locations. Consider refactoring.
                                    Open

                                      QueryInterface.prototype.removeIndex = function(tableName, indexNameOrAttributes) {
                                        var sql = this.QueryGenerator.removeIndexQuery(tableName, indexNameOrAttributes)
                                        return queryAndEmit.call(this, sql, "removeIndex")
                                      }
                                    Severity: Major
                                    Found in lib/query-interface.js and 2 other locations - About 1 hr to fix
                                    lib/query-interface.js on lines 322..325
                                    lib/query-interface.js on lines 474..477

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 55.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Identical blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                            var events  = []
                                              , chainer = new Utils.QueryChainer()
                                              , onError = function(err) {
                                                  self.emit('dropAllTables', err)
                                                  dropAllTablesEmitter.emit('error', err)
                                    Severity: Major
                                    Found in lib/query-interface.js and 1 other location - About 1 hr to fix
                                    lib/dialects/sqlite/query-interface.js on lines 133..138

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 55.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                      QueryInterface.prototype.createSchema = function(schema) {
                                        var sql = this.QueryGenerator.createSchema(schema)
                                        return queryAndEmit.call(this, sql, 'createSchema')
                                      }
                                    Severity: Minor
                                    Found in lib/query-interface.js and 1 other location - About 55 mins to fix
                                    lib/query-interface.js on lines 22..25

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 53.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                      QueryInterface.prototype.dropSchema = function(schema) {
                                        var sql = this.QueryGenerator.dropSchema(schema)
                                        return queryAndEmit.call(this, sql, 'dropSchema')
                                      }
                                    Severity: Minor
                                    Found in lib/query-interface.js and 1 other location - About 55 mins to fix
                                    lib/query-interface.js on lines 17..20

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 53.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                            chainer
                                              .run()
                                              .success(function() {
                                                self.emit('dropAllSchemas', null)
                                                emitter.emit('success', null)
                                    Severity: Minor
                                    Found in lib/query-interface.js and 1 other location - About 45 mins to fix
                                    lib/query-interface.js on lines 279..285

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 50.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                                chainer
                                                  .runSerially()
                                                  .success(function() {
                                                    self.emit('dropAllTables', null)
                                                    dropAllTablesEmitter.emit('success', null)
                                    Severity: Minor
                                    Found in lib/query-interface.js and 1 other location - About 45 mins to fix
                                    lib/query-interface.js on lines 37..46

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 50.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                            if (dao.daoFactory.associations[keys[i]].options && dao.daoFactory.associations[keys[i]].options.onDelete) {
                                    Severity: Minor
                                    Found in lib/query-interface.js and 1 other location - About 40 mins to fix
                                    lib/query-interface.js on lines 536..536

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 49.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    Similar blocks of code found in 2 locations. Consider refactoring.
                                    Open

                                            if (dao.daoFactory.associations[keys[i]].options && dao.daoFactory.associations[keys[i]].options.onUpdate && dao.daoFactory.associations[keys[i]].options.onUpdate === "restrict") {
                                    Severity: Minor
                                    Found in lib/query-interface.js and 1 other location - About 40 mins to fix
                                    lib/query-interface.js on lines 599..599

                                    Duplicated Code

                                    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                                    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                                    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                                    Tuning

                                    This issue has a mass of 49.

                                    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                                    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                                    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                                    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                                    Refactorings

                                    Further Reading

                                    There are no issues that match your filters.

                                    Category
                                    Status