funlogic-io/zwave-serialapi

View on GitHub
lib/controller/shadow.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createShadow has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function createShadow () {
  const items = {}
  const updates = new Subject()
  function getAll () {
    const result = JSON.parse(JSON.stringify(items))
Severity: Minor
Found in lib/controller/shadow.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status