quorrajs/NodeSession

View on GitHub
lib/handler/DatabaseSessionHandler.js

Summary

Maintainability
A
1 hr
Test Coverage

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

DatabaseSessionHandler.prototype.write = function (sessionId, data, callback) {
    var self = this;
    if (this.__exists) {
        this.__model.update(sessionId,
            {payload: JSON.stringify(data), lastActivity: (new Date()).getTime()},
Severity: Minor
Found in lib/handler/DatabaseSessionHandler.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status