RackHD/on-dhcp-proxy

View on GitHub
lib/server.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function serverFactory has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function serverFactory(core, messageHandler, IscDhcpLeasePoller, Logger) {
    var logger = Logger.initialize(Server);

    function Server(inPort, outPort, address) {
        this.server = dgram.createSocket('udp4');
Severity: Major
Found in lib/server.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status