Completed
Push — image-processors-refactoring ( dcd98f )
by Luis
05:57
created

NeatoProcessor   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A name() 0 3 1
A command() 0 3 1
1
<?php
2
/**
3
 * PHP version 7.1
4
 *
5
 * This source file is subject to the license that is bundled with this package in the file LICENSE.
6
 */
7
namespace PhUml\Processors;
8
9
class NeatoProcessor extends ImageProcessor
10
{
11 15
    public function command(): string
12
    {
13 15
        return 'neato';
14
    }
15
16 3
    public function name(): string
17
    {
18 3
        return 'Neato';
19
    }
20
}
21