myems-web/src/components/dashboard-alt/TotalOrder.js

Summary

Maintainability
A
4 hrs
Test Coverage

Function getOption has 84 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const getOption = (data, isDark) => {
  const grays = getGrays(isDark);
  return {
    tooltip: {
      triggerOn: 'mousemove',
Severity: Major
Found in myems-web/src/components/dashboard-alt/TotalOrder.js - About 3 hrs to fix

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

          position(pos, params, dom, rect, size) {
    Severity: Minor
    Found in myems-web/src/components/dashboard-alt/TotalOrder.js - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status