gadael/gadael

View on GitHub
api/services/user/timesavingaccounts/list.js

Summary

Maintainability
B
5 hrs
Test Coverage

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

exports = module.exports = function(services, app) {

    var service = new services.list(app);
    const dispunits = app.utility.dispunits;

Severity: Major
Found in api/services/user/timesavingaccounts/list.js - About 3 hrs to fix

    Function getRenewals has 46 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function getRenewals(accountId)
        {
            var async = require('async');
    
            var results = [], savingPeriod;
    Severity: Minor
    Found in api/services/user/timesavingaccounts/list.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status