DefaultController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A indexAction() 0 4 1
1
<?php
2
3
namespace AppBundle\Controller;
4
5
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
6
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
7
use Symfony\Component\HttpFoundation\Response;
8
9
/** {@inheritDoc} */
10
class DefaultController extends Controller
11
{
12
13
    /**
14
     * @Route("/", name="index")
15
     * @return Response
16
     */
17
    public function indexAction()
18
    {
19
        return $this->redirectToRoute('nelmio_api_doc_index');
20
    }
21
}
22