OpenHPS/openhps-rf

View on GitHub
src/nodes/BLEBeaconClassifierNode.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function processObject has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    processObject(object: BLEObject, frame: DataFrame): Promise<BLEObject> {
        return new Promise((resolve) => {
            let output = object;
            for (let i = 0; i < this.options.types.length; i++) {
                const BeaconType = this.options.types[i];
Severity: Minor
Found in src/nodes/BLEBeaconClassifierNode.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status