hisptz/90-90-90-cascade-graph-widget

View on GitHub
src/app/core/helpers/sanitize-analytics.ts

Summary

Maintainability
B
4 hrs
Test Coverage

Function getSanitizedAnalyticsMetadataItems has 64 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function getSanitizedAnalyticsMetadataItems(
    favorite: Favorite,
    analytics: Analytics
) {
    const sanitizedItems = [];
Severity: Major
Found in src/app/core/helpers/sanitize-analytics.ts - About 2 hrs to fix

    Function mapAnalyticsToCumulativeFormat has 38 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function mapAnalyticsToCumulativeFormat(
        analyticsObject: any,
        xAxisType,
        yAxisType
    ) {
    Severity: Minor
    Found in src/app/core/helpers/sanitize-analytics.ts - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status