KarrLab/test_history_server

View on GitHub
public/static/js/flot-0.8.3/jquery.flot.symbol.js

Summary

Maintainability
A
3 hrs
Test Coverage

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

    function processRawData(plot, series, datapoints) {
        // we normalize the area of each symbol so it is approximately the
        // same as a circle of the given radius

        var handlers = {
Severity: Minor
Found in public/static/js/flot-0.8.3/jquery.flot.symbol.js - About 1 hr to fix

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

                square: function (ctx, x, y, radius, shadow) {
    Severity: Minor
    Found in public/static/js/flot-0.8.3/jquery.flot.symbol.js - About 35 mins to fix

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

                  diamond: function (ctx, x, y, radius, shadow) {
      Severity: Minor
      Found in public/static/js/flot-0.8.3/jquery.flot.symbol.js - About 35 mins to fix

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

                    triangle: function (ctx, x, y, radius, shadow) {
        Severity: Minor
        Found in public/static/js/flot-0.8.3/jquery.flot.symbol.js - About 35 mins to fix

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

                      cross: function (ctx, x, y, radius, shadow) {
          Severity: Minor
          Found in public/static/js/flot-0.8.3/jquery.flot.symbol.js - About 35 mins to fix

            There are no issues that match your filters.

            Category
            Status