OpenHPS/openhps-imu

View on GitHub
src/nodes/processing/calibration/MagnetometerCalibrationNode.ts

Summary

Maintainability
A
2 hrs
Test Coverage

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

    public processObject(object: DataObject, frame: DataFrame): Promise<DataObject> {
        return new Promise((resolve, reject) => {
            const magnetometer = frame.getSensor(Magnetometer);
            if (!magnetometer) {
                return resolve(object);
Severity: Major
Found in src/nodes/processing/calibration/MagnetometerCalibrationNode.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status