ICTU/quality-time

View on GitHub
components/frontend/src/widgets/menu_options.js

Summary

Maintainability
A
1 hr
Test Coverage

Function source_options has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function source_options(reports, dataModel, currentMetricType, currentMetricUuid) {
    const metricSources = dataModel.metrics[currentMetricType].sources
    let options = []
    reports.forEach((report) => {
        Object.values(report.subjects).forEach((subject) => {
Severity: Minor
Found in components/frontend/src/widgets/menu_options.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status