src/components/Menu/ReportSummary.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

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

function PieChart(props: Props): JSX.Element {
  const options = {
    animation: {
      duration: 0,
    },
Severity: Minor
Found in src/components/Menu/ReportSummary.tsx - About 1 hr to fix

    Function ReportSummary has 33 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    export function ReportSummary(props: ReportSummaryProps): JSX.Element {
      const [mode, setMode] = useMode()
      const manager = useTaskManager()
      const root = manager.getRoot()
      const analytics = useAnalytics()
    Severity: Minor
    Found in src/components/Menu/ReportSummary.tsx - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status