msimerson/Haraka

View on GitHub
plugins/queue/rabbitmq_amqplib.js

Summary

Maintainability
A
1 hr
Test Coverage

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

exports.init_amqp_connection = function () {
    const cfg = this.config.get("rabbitmq.ini").rabbitmq;

    const protocol = cfg.protocol || "amqp";
    const host = cfg.host || "127.0.0.1";
Severity: Minor
Found in plugins/queue/rabbitmq_amqplib.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status