j3lte/node-motion

View on GitHub
motion/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function checkMessages has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

Motion.prototype.checkMessages = function(msg) {
  var that = this;
  var matched = false;
  var payload = null;
  _.forEach(that.messageArray, function (message) {
Severity: Minor
Found in motion/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status