ProfileController   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A index() 0 4 1
1
<?php
2
3
namespace App\Http\Controllers;
4
5
class ProfileController extends Controller
6
{
7
    /**
8
     * Create a new controller instance.
9
     */
10
    public function __construct()
11
    {
12
        $this->middleware('auth');
13
    }
14
15
    /**
16
     * Show the application dashboard.
17
     *
18
     * @return Response
19
     */
20
    public function index()
21
    {
22
        return view('profile');
23
    }
24
}
25