OpenHPS/openhps-core

View on GitHub
src/data/DataSerializerUtils.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function createMetadata has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    static createMetadata(proto: IndexedObject): ObjectMetadata {
        if (Object.prototype.hasOwnProperty.call(proto, this.META_FIELD)) {
            return proto[this.META_FIELD];
        }
        // Target has no JsonObjectMetadata associated with it yet, create it now.
Severity: Minor
Found in src/data/DataSerializerUtils.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status