hadmean/hadmean

View on GitHub
src/frontend/views/entity/Form/index.tsx

Summary

Maintainability
B
5 hrs
Test Coverage
A
100%

Function useEntityFormView has 85 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function useEntityFormView(entity: string): Record<
  string,
  {
    label: MessageDescriptor;
    Cmp: ReactElement;
Severity: Major
Found in src/frontend/views/entity/Form/index.tsx - About 3 hrs to fix

    Function EntityFormExtensionSettings has 41 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    export function EntityFormExtensionSettings() {
      const entity = useEntitySlug();
    
      const domainMessages = useAppConfigurationDomainMessages(
        "entity_form_extension"
    Severity: Minor
    Found in src/frontend/views/entity/Form/index.tsx - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status