OpenHPS/openhps-core

View on GitHub
src/nodes/source/HistorySourceNode.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function onPull has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public onPull(options: PullOptions = { requestedObjects: [] }): Promise<Out> {
        return new Promise<Out>((resolve, reject) => {
            const service = this.model.findDataService(DataObject);
            const requestPromises: Array<Promise<DataObject>> = [];
            options.requestedObjects.forEach((uid) => {
Severity: Minor
Found in src/nodes/source/HistorySourceNode.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status