RHeactorJS/web-app

View on GitHub
js/controller/generic.js

Summary

Maintainability
A
1 hr
Test Coverage

Function GenericController has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function GenericController (Model, callbacks, createRelation, genericService) {
  callbacks = _defaults(callbacks,
    {
      success: () => {
        logger.appNotice('No success handler defined for generic controller for' + Model.$context)
Severity: Minor
Found in js/controller/generic.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status