RackHD/on-core

View on GitHub
lib/models/file.js

Summary

Maintainability
A
1 hr
Test Coverage

Function FileModelFactory has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function FileModelFactory (Model, configuration) {
    return Model.extend({
        connection: configuration.get('databaseType', 'mongo'),
        identity: 'files',
        tableName: 'files',
Severity: Minor
Found in lib/models/file.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status