lib/bus.js
Function snapshotHandler
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function snapshotHandler(snapshot, state, store) {
// remove 3 function parameters
var frames = Array.prototype.slice.call(arguments, 3)
// remove client 0MQ identity
var identity = frames.shift().toString()
Function connect
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function connect(publisher, collector, snapshot, config, state) {