RackHD/on-core

View on GitHub
lib/models/local-user.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function LocalUserModelFactory has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function LocalUserModelFactory (Model, configuration) {
    return Model.extend({
        connection: configuration.get('databaseType', 'mongo'),
        identity: 'localusers',
        attributes: {
Severity: Minor
Found in lib/models/local-user.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status