StatsRoutes   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 2
dl 0
loc 17
ccs 5
cts 5
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A map() 0 7 1
1
<?php namespace Arcanesoft\Auth\Http\Routes\Admin;
2
3
use Arcanedev\Support\Routing\RouteRegistrar;
4
5
/**
6
 * Class     StatsRoutes
7
 *
8
 * @package  Arcanesoft\Auth\Http\Routes\Admin
9
 * @author   ARCANEDEV <[email protected]>
10
 */
11
class StatsRoutes extends RouteRegistrar
12
{
13
    /* -----------------------------------------------------------------
14
     |  Main Methods
15
     | -----------------------------------------------------------------
16
     */
17
    /**
18
     * Map routes.
19
     */
20
    public function map()
21
    {
22 15
        $this->prefix('stats')->group(function () {
23 15
            $this->get('/', 'DashboardController@index')
24 15
                 ->name('dashboard'); // admin::auth.dashboard
25 15
        });
26 15
    }
27
}
28