Test Failed
Push — master ( 3e1f63...b2d2e1 )
by Vladimir
04:38
created

ApiController::checkStatusAction()   B

Complexity

Conditions 6
Paths 54

Size

Total Lines 35
Code Lines 21

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 19
CRAP Score 6.031

Importance

Changes 0
Metric Value
eloc 21
dl 0
loc 35
ccs 19
cts 21
cp 0.9048
rs 8.9617
c 0
b 0
f 0
cc 6
nc 54
nop 2
crap 6.031
1
<?php
2
3
/**
4
 * This file is part of the `tvi/monitor-bundle` project.
5
 *
6
 * (c) https://github.com/turnaev/monitor-bundle/graphs/contributors
7
 *
8
 * For the full copyright and license information, please view the LICENSE.md
9
 * file that was distributed with this source code.
10
 */
0 ignored issues
show
Coding Style introduced by
PHP version not specified
Loading history...
Coding Style introduced by
Missing @category tag in file comment
Loading history...
Coding Style introduced by
Missing @package tag in file comment
Loading history...
Coding Style introduced by
Missing @author tag in file comment
Loading history...
Coding Style introduced by
Missing @license tag in file comment
Loading history...
Coding Style introduced by
Missing @link tag in file comment
Loading history...
11
12
namespace Tvi\MonitorBundle\Controller;
13
14
/**
0 ignored issues
show
Coding Style introduced by
Missing short description in doc comment
Loading history...
15
 * @author Vladimir Turnaev <[email protected]>
16
 */
0 ignored issues
show
Coding Style introduced by
Missing @category tag in class comment
Loading history...
Coding Style introduced by
Missing @package tag in class comment
Loading history...
Coding Style introduced by
Missing @license tag in class comment
Loading history...
Coding Style introduced by
Missing @link tag in class comment
Loading history...
17
class ApiController
18
{
19
    use ApiInitTrait;
20
    use ApiCheckTrait;
21
    use ApiInfoTrait;
22
}
23