Controller   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Sausin\Signere\Http\Controllers;
4
5
use Sausin\Signere\Http\Middleware\Authenticate;
6
use Illuminate\Routing\Controller as BaseController;
7
use Illuminate\Foundation\Validation\ValidatesRequests;
8
9
class Controller extends BaseController
10
{
11
    use ValidatesRequests;
12
13
    /**
14
     * Create a new controller instance.
15
     */
16 44
    public function __construct()
17
    {
18 44
        $this->middleware(Authenticate::class);
19 44
    }
20
}
21