Showing 1 of 6 total issues
Function _addDefaultListeners
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
MqttMaster.prototype._addDefaultListeners = function(topic, item) {
var loopbackTopic = topic + '/loopback',
commandsTopic = topic + '/commands',
commandTopic = topic + '/command',
eventsTopic = topic + '/events';