FredericHeem/starhackit

View on GitHub
client/src/app_infra/infra/infraList.js

Summary

Maintainability
B
6 hrs
Test Coverage

Function createInfraItem has 80 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const createInfraItem = (context) => {
  const { tr, history, rest, theme } = context;

  const { palette } = theme;
  const BadgeRegion = badgeRegion(context);
Severity: Major
Found in client/src/app_infra/infra/infraList.js - About 3 hrs to fix

    Function createInfraList has 72 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    export const createInfraList = (context) => {
      const { tr, history } = context;
      const Form = createForm(context);
      const Page = page(context);
      const Button = button(context, {
    Severity: Major
    Found in client/src/app_infra/infra/infraList.js - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status