micro-toolkit/event-bus-zeromq

View on GitHub
lib/bus.js

Summary

Maintainability
A
1 hr
Test Coverage

Function snapshotHandler has 30 lines of code (exceeds 25 allowed). Consider refactoring.
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()
Severity: Minor
Found in lib/bus.js - About 1 hr to fix

    Function connect has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    function connect(publisher, collector, snapshot, config, state) {
    Severity: Minor
    Found in lib/bus.js - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status