lukebellamy053/node-express-microservice

View on GitHub

Showing 2 of 9 total issues

Function executeMethod has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Confirmed

    protected executeMethod(name: string): Promise<any> {
        const fullName = (<any>this).__proto__.constructor.name + '@' + name;
        // Throws an error if it fails
        this.canExecute(fullName);

Severity: Minor
Found in src/Server/Controller.ts - About 1 hr to fix

    Function registerProxy has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public registerProxy(
            path: string,
            proxy: any,
            removePath: string,
            isProtected?: boolean,
    Severity: Minor
    Found in src/Utils/PathHandler.ts - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language