lib/client.js

Summary

Maintainability
A
2 hrs
Test Coverage
A
97%

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

const connect = function(url, socketOptions) {
    const logger = this.logger;
    logger.debug('[AMQP] Connecting to server...');
    return promisify(amqp.connect.bind(amqp, url, socketOptions))
        .then((conn) => {
Severity: Minor
Found in lib/client.js - About 1 hr to fix

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

    const patchChannel = function(logger, conn, create) {
        return function() {
            logger.debug('[AMQP] Opening a channel...');
            return promisify(create.bind(conn))
                .then((ch) => {
    Severity: Minor
    Found in lib/client.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status