eapenzacharias/bookstore

View on GitHub

Showing 3 of 3 total issues

Function AddBookForm has 82 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const AddBookForm = () => {
  const categories = [
    {
      id: 1,
      name: 'Action and Adventure',
Severity: Major
Found in src/components/AddBookForm.js - About 3 hrs to fix

    Function Navbar has 51 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    const Navbar = () => {
      const links = [
        {
          id: 1,
          path: '/',
    Severity: Major
    Found in src/components/Navbar.js - About 2 hrs to fix

      Function Book has 46 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      const Book = (props) => {
        const dispatch = useDispatch();
        const {
          id, title, category,
        } = props;
      Severity: Minor
      Found in src/components/Book.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language