Application   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Test Coverage

Coverage 100%

Importance

Changes 4
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 4
dl 0
loc 15
ccs 8
cts 8
cp 1
rs 10
c 4
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
3
/**
4
 * This file is, guess what, part of WebHelper.
5
 *
6
 * (c) James <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace JamesRezo\WebHelper\Console;
13
14
use Symfony\Component\Console\Application as BaseApplication;
15
use JamesRezo\WebHelper\Command\GenerateCommand;
16
use JamesRezo\WebHelper\Command\DetectCommand;
17
use JamesRezo\WebHelper\Command\AnalyzeCommand;
18
19
/**
20
 * The CLI Application.
21
 */
22
class Application extends BaseApplication
23
{
24
    /**
25
     * Base Constructor.
26
     */
27 1
    public function __construct()
28
    {
29 1
        parent::__construct();
30 1
        $this->setName('WebHelper');
31 1
        $this->setVersion('0.2');
32 1
        $this->add(new GenerateCommand());
33 1
        $this->add(new DetectCommand());
34 1
        $this->add(new AnalyzeCommand());
35 1
    }
36
}
37