myems-admin/js/plugins/flot/jquery.flot.spline.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function drawSpline has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function drawSpline(plot, ctx, series) {
        // Not interested if spline is not requested
        if (series.splines.show !== true) {
            return;
        }
Severity: Minor
Found in myems-admin/js/plugins/flot/jquery.flot.spline.js - About 1 hr to fix

    Function getControlPoints has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        function getControlPoints(x0, y0, x1, y1, x2, y2, tension) {
    Severity: Major
    Found in myems-admin/js/plugins/flot/jquery.flot.spline.js - About 50 mins to fix

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

          function drawLine(points, ctx, height, fill, seriesColor) {
      Severity: Minor
      Found in myems-admin/js/plugins/flot/jquery.flot.spline.js - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status