intraxia/wp-gistpen

View on GitHub
app/Register/Router.php

Summary

Maintainability
B
4 hrs
Test Coverage

Method add_routes has 119 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function add_routes( CoreRouter $router ) {
        $router->set_vendor( 'intraxia' )->set_version( 1 );

        $router->group( array( 'prefix' => '/gistpen' ), function ( CoreRouter $router ) {
            $search = $this->container->get( \Intraxia\Gistpen\Http\SearchController::class );
Severity: Major
Found in app/Register/Router.php - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status