DashboardController   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 30
ccs 0
cts 11
cp 0
rs 10
c 1
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
A index() 0 6 1
1
<?php namespace Arcanesoft\Seo\Http\Controllers\Admin;
2
3
/**
4
 * Class     DashboardController
5
 *
6
 * @package  Arcanesoft\Seo\Http\Controllers\Admin
7
 * @author   ARCANEDEV <[email protected]>
8
 */
9
class DashboardController extends Controller
10
{
11
    /* -----------------------------------------------------------------
12
     |  Constructor
13
     | -----------------------------------------------------------------
14
     */
15
16
    /**
17
     * DashboardController constructor.
18
     */
19
    public function __construct()
20
    {
21
        parent::__construct();
22
23
        $this->setCurrentPage('seo-dashboard');
24
        $this->addBreadcrumbRoute('Statistics', 'admin::seo.stats.index');
25
    }
26
27
    /* -----------------------------------------------------------------
28
     |  Main Methods
29
     | -----------------------------------------------------------------
30
     */
31
32
    public function index()
33
    {
34
        $this->setTitle('Statistics');
35
36
        return $this->view('admin.dashboard');
37
    }
38
}
39