Completed
Push — develop ( bbf1d7...d89cb9 )
by Tom
05:51
created

BazController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A execute() 0 4 1
1
<?php
2
3
namespace N98\Dummy\Controller\Foo\Bar;
4
5
use Magento\Framework\App\Action\Action;
6
use Magento\Framework\Controller\ResultFactory;
7
8
class BazController extends Action
9
{
10
    /**
11
     * Dispatch request
12
     *
13
     * @return \Magento\Framework\Controller\ResultInterface|ResponseInterface
14
     * @throws \Magento\Framework\Exception\NotFoundException
15
     */
16
    public function execute()
17
    {
18
        return $this->resultFactory->create(ResultFactory::TYPE_PAGE);
19
    }
20
}
21