onejgordon/flow-dashboard

View on GitHub
src/js/components/analysis/AnalysisTasks.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function task_data has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    task_data() {

        let {iso_dates, tasks} = this.props;
        let completed_on_time = [];
        let completed_late = [];
Severity: Minor
Found in src/js/components/analysis/AnalysisTasks.js - About 1 hr to fix

    Function render has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        render() {
            let {form} = this.state;
            let taskData = this.task_data()
            let taskOptions = {
                scales: {
    Severity: Minor
    Found in src/js/components/analysis/AnalysisTasks.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status