ConvertCommandFactory   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 7
ccs 1
cts 1
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getInstance() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of the Clover to Html package.
5
 *
6
 * (c) Stéphane Demonchaux <[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
namespace CloverToHtml\Command;
12
13
use CloverToHtml\ConverterFactory;
14
15
/**
16
 * Convert command.
17
 *
18
 * @author Stéphane Demonchaux
19
 */
20
class ConvertCommandFactory
21
{
22
    public static function getInstance(): ConvertCommand
23
    {
24
        return new ConvertCommand(ConverterFactory::getInstance());
25 2
    }
26
}
27