atlp-rwanda/atlp-devpulse-fn

View on GitHub
src/pages/ApplicationCycle/ApplicationCycle.tsx

Summary

Maintainability
D
2 days
Test Coverage

Function ApplicationCycle has 470 lines of code (exceeds 200 allowed). Consider refactoring.
Open

const ApplicationCycle = (props: any) => {
  const { allCycles, errors } = props;
  const [loading, setLoading] = useState(true);
  const cycles = allCycles.data;

Severity: Major
Found in src/pages/ApplicationCycle/ApplicationCycle.tsx - About 1 day to fix

    File ApplicationCycle.tsx has 501 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import React, { useEffect, useState, useMemo } from "react";
    import {
      getAllCycles,
      createCycle,
      updateApplicationCycle,
    Severity: Major
    Found in src/pages/ApplicationCycle/ApplicationCycle.tsx - About 1 day to fix

      There are no issues that match your filters.

      Category
      Status