fisharebest/webtrees

View on GitHub
app/Http/Routes/WebRoutes.php

Summary

Maintainability
F
3 days
Test Coverage

Method load has 363 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function load(Map $router): void
    {
        $router->attach('', '', static function (Map $router) {
            // Admin routes.
            $router->attach('', '/admin', static function (Map $router) {
Severity: Major
Found in app/Http/Routes/WebRoutes.php - About 1 day to fix

    File WebRoutes.php has 680 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    
    /**
     * webtrees: online genealogy
     * Copyright (C) 2023 webtrees development team
    Severity: Major
    Found in app/Http/Routes/WebRoutes.php - About 1 day to fix

      There are no issues that match your filters.

      Category
      Status