osbzr/gooderp_addons

View on GitHub
extra_views/static/src/js/extra_widget.js

Summary

Maintainability
A
1 hr
Test Coverage

Function get_pie_option has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        get_pie_option: function() {
            var self = this;
            self.legend_data = this.labels && _.unique(this.labels[1]) || [];
            self.xaxis_data = this.labels && _.unique(this.labels[0]) || [];
            self.series_data = [];
Severity: Minor
Found in extra_views/static/src/js/extra_widget.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status