meteor/meteor

View on GitHub
packages/non-core/bundle-visualizer/sunburst.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function constructor has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  constructor({
    container,
    colors = DEFAULT_COLORS,
  } = {}) {
    this.elements = {};
Severity: Minor
Found in packages/non-core/bundle-visualizer/sunburst.js - About 1 hr to fix

    Function draw has 35 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      draw(json, i) {
        const svg = this.elements.chart
          .append("svg:svg")
            .attr("width", width)
            .attr("height", height)
    Severity: Minor
    Found in packages/non-core/bundle-visualizer/sunburst.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status