raman-nbg/inversify-koa-utils

View on GitHub
src/server.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function registerControllers has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private registerControllers() {
        // set prefix route in config rootpath
        if (this._routingConfig.rootPath !== DEFAULT_ROUTING_ROOT_PATH) {
            this._router.prefix(this._routingConfig.rootPath);
        }
Severity: Major
Found in src/server.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status