GladysProject/Gladys

View on GitHub
server/lib/device/device.calculcateAggregateChildProcess.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function calculateAggregateChildProcess has 117 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function calculateAggregateChildProcess(params) {
  const {
    AGGREGATE_STATES_PER_INTERVAL,
    DEVICE_FEATURE_STATE_AGGREGATE_TYPES,
    LAST_AGGREGATE_ATTRIBUTES,
Severity: Major
Found in server/lib/device/device.calculcateAggregateChildProcess.js - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status