Completed
Push — master ( cceadc...3df73a )
by Mikołaj
04:41
created

ShowController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 3

1 Method

Rating   Name   Duplication   Size   Complexity  
A profile() 0 10 1
1
<?php
2
3
namespace Rudolf\Modules\Users\One\Admin\Profile;
4
5
use Rudolf\Framework\Controller\AdminController;
6
7
class ShowController extends AdminController
8
{
9
    public function profile()
10
    {
11
        new ShowModel();
12
13
        //$profileInfo = $model->getProfileInfo();
0 ignored issues
show
Unused Code Comprehensibility introduced by
60% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
14
15
        $view = new ShowView();
16
        $view->userCard();
17
        $view->render();
18
    }
19
}
20