catalint/bluestatsd

View on GitHub

Showing 1 of 1 total issue

Function register has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports.register = function (server, options, next) {

    const settings = Hoek.applyToDefaults(defaults, options);
    const statsdClient = options.statsdClient || new StatsdClient(settings);
    const normalizePath = (path) => {
Severity: Minor
Found in src/statsd.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language