tom-weatherhead/thaw-angular-component-library

View on GitHub

Showing 3 of 7 total issues

Function configureChart has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected configureChart(): void {
        // Default implementation.
        this.chartOptions = {
            type: this.chartType,
            data: {
Severity: Minor
Found in src/app/modules/chart-canvas-base/chart-canvas-base.component.ts - About 1 hr to fix

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

        public setLabels(labelsParam: string[]): void {
            this.numSamples = labelsParam.length;
    
            this.chartConfiguration = {
                type: 'line',
    Severity: Minor
    Found in src/app/modules/line-chart-canvas/line-chart-canvas.component.ts - About 1 hr to fix

      Function exports has 27 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      module.exports = (config) => {
          config.set({
              basePath: '',
              frameworks: ['jasmine', '@angular-devkit/build-angular'],
              plugins: [
      Severity: Minor
      Found in karma.conf.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language