TransferApplication   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 10 1
1
<?php
2
3
/*
4
 * This file is part of Transfer.
5
 *
6
 * For the full copyright and license information, please view the LICENSE file located
7
 * in the root directory.
8
 */
9
10
namespace Transfer\Console;
11
12
use Symfony\Component\Console\Application;
13
use Transfer\Console\Command as Commands;
14
15
/**
16
 * Transfer application.
17
 */
18
class TransferApplication extends Application
19
{
20 1
    public function __construct()
21
    {
22 1
        parent::__construct('Transfer Command Line Interface', 'v1.0');
23
24 1
        $this->addCommands(array(
25 1
            new Commands\Manifest\ListCommand(),
26 1
            new Commands\Manifest\RunCommand(),
27 1
            new Commands\Manifest\DescribeCommand(),
28 1
        ));
29 1
    }
30
}
31