OpenHPS/openhps-core

View on GitHub
src/nodes/shapes/FrameMergeNode.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function merge has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public merge(frames: InOut[]): InOut {
        const mergedFrame = frames[0];
        const mergedObjects: Map<string, DataObject[]> = new Map();
        mergedFrame.getObjects().forEach((object) => {
            if (mergedObjects.get(object.uid)) {
Severity: Minor
Found in src/nodes/shapes/FrameMergeNode.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status