nci-ats/fs-middlelayer-api

View on GitHub
src/models/applications.js

Summary

Maintainability
A
1 hr
Test Coverage

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

module.exports = function(sequelize, DataTypes) {
    const applications = sequelize.define('applications', {
        id: { type: DataTypes.UUID, primaryKey: true, defaultValue: DataTypes.UUIDV4 },
        controlNumber: { type: DataTypes.STRING(50), field: 'control_number' },
        formName: { type: DataTypes.STRING(100), field: 'form_name' },
Severity: Minor
Found in src/models/applications.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status