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

ApiController::checkAction()   A

Complexity

Conditions 4
Paths 17

Size

Total Lines 25
Code Lines 15

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 12
CRAP Score 4.128

Importance

Changes 0
Metric Value
eloc 15
dl 0
loc 25
ccs 12
cts 15
cp 0.8
rs 9.7666
c 0
b 0
f 0
cc 4
nc 17
nop 2
crap 4.128
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