NicolasSiver/nodebb-widget-ns-stats

View on GitHub
widget/users.js

Summary

Maintainability
A
1 hr
Test Coverage

Function getOnline has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    Users.getOnline = function (done) {
        var now = Date.now();
        if (now - lastRequestAt > onlineCache) {
            var usersOnline, usersToFetch, usersInCache;
            async.waterfall([
Severity: Minor
Found in widget/users.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status