bookbrainz/bookbrainz-site

View on GitHub
src/client/components/pages/entities/cbReviewModal.tsx

Summary

Maintainability
C
1 day
Test Coverage

File cbReviewModal.tsx has 477 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/* eslint-disable react/no-unused-state */
/*
 * Copyright (C) 2022       Ansh Goyal
 *
 * This program is free software; you can redistribute it and/or modify
Severity: Minor
Found in src/client/components/pages/entities/cbReviewModal.tsx - About 7 hrs to fix

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

        render() {
            const hasPermissions = this.accessToken !== null;
            const modalBody = this.getModalBody(hasPermissions);
            const modalFooter = this.getModalFooter(hasPermissions);
    
    
    Severity: Minor
    Found in src/client/components/pages/entities/cbReviewModal.tsx - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status