GladysProject/Gladys

View on GitHub
server/services/broadlink/lib/commands/broadlink.buildPeripheral.js

Summary

Maintainability
A
1 hr
Test Coverage

Function buildPeripheral has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function buildPeripheral(broadlinkDevice) {
  const deviceMapper = this.loadMapper(broadlinkDevice);

  if (!deviceMapper) {
    return null;
Severity: Minor
Found in server/services/broadlink/lib/commands/broadlink.buildPeripheral.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status