nus-mtp/attack-on-tutor

View on GitHub
models/tutorial.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function exports has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function (sequelize, DataTypes) {
    var Tutorial = sequelize.define ('Tutorial', {
        id: {
            type: DataTypes.UUID,
            defaultValue: DataTypes.UUIDV4,
Severity: Major
Found in models/tutorial.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status