AutolabJS/autolabcli

View on GitHub
lib/model/eval.js

Summary

Maintainability
A
1 hr
Test Coverage

Function socketEventHandler has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const socketEventHandler = (event, socket, data, callback) => {
  let response;
  switch (event) {
    case 'invalid':
      logger.moduleLog('error', 'Eval Model', 'Invalid options provided.');
Severity: Minor
Found in lib/model/eval.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status