OpenHPS/openhps-openvslam

View on GitHub

Showing 2 of 2 total issues

Function _onBuild has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private _onBuild(): Promise<void> {
        return new Promise((resolve, reject) => {
            if (!this.model) {
                return reject(new Error(`Unable to start VSLAM processing without VSLAMService!`));
            }
Severity: Minor
Found in src/nodes/processing/VSLAMProcessingNode.ts - About 1 hr to fix

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

        process(data: In): Promise<Out> {
            return new Promise((resolve, reject) => {
                let uid = undefined;
                this.service.findSystemUIDByObject(data.source).then(systemUID => {
                    uid = systemUID;
    Severity: Minor
    Found in src/nodes/processing/VSLAMProcessingNode.ts - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language