jbox-web/redmine_git_hosting

View on GitHub
assets/javascripts/set_highcharts.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function createAreaChart has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function createAreaChart(element){
  $(element.target).highcharts({
    chart: {
      type: 'areaspline'
    },
Severity: Minor
Found in assets/javascripts/set_highcharts.js - About 1 hr to fix

    Function createColumnChart has 38 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function createColumnChart(element){
      $(element.target).highcharts({
        chart: {
          type: 'column'
        },
    Severity: Minor
    Found in assets/javascripts/set_highcharts.js - About 1 hr to fix

      Function createZoomableAreaChart has 38 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function createZoomableAreaChart(element){
        $(element.target).highcharts({
          chart: {
            type: "areaspline",
            zoomType: "x"
      Severity: Minor
      Found in assets/javascripts/set_highcharts.js - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status