guidesmiths/rascal

View on GitHub
lib/amqp/Publication.js

Summary

Maintainability
A
2 hrs
Test Coverage
B
89%

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

function Publication(vhost, borrowChannelFn, returnChannelFn, destroyChannelFn, publishFn, config) {
Severity: Minor
Found in lib/amqp/Publication.js - About 45 mins to fix

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

      function encrypt(algorithm, keyHex, ivLength, unencrypted, next) {
    Severity: Minor
    Found in lib/amqp/Publication.js - About 35 mins to fix

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

      function handleChannelError(borked, messageId, emitter, config, err) {
      Severity: Minor
      Found in lib/amqp/Publication.js - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status