Completed
Push — master ( 41ae82...437c90 )
by Dave
13s queued 11s
created

ExakatJsonIdentifier   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 3
dl 0
loc 10
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getCode() 0 3 1
A getDescription() 0 3 1
1
<?php
2
3
/**
4
 * Static Analysis Results Baseliner (sarb).
5
 *
6
 * (c) Dave Liddament
7
 *
8
 * For the full copyright and licence information please view the LICENSE file distributed with this source code.
9
 */
10
11
declare(strict_types=1);
12
13
namespace DaveLiddament\StaticAnalysisResultsBaseliner\Plugins\ResultsParsers\ExakatJsonResultsParser;
14
15
use DaveLiddament\StaticAnalysisResultsBaseliner\Domain\ResultsParser\Identifier;
16
17
class ExakatJsonIdentifier implements Identifier
18
{
19
    public function getCode(): string
20
    {
21
        return 'exakat-sarb';
22
    }
23
24
    public function getDescription(): string
25
    {
26
        return 'Exakat results (JSON format, SARB support). To generate use: php exakat.phar report -p <project> -format Sarb';
27
    }
28
}
29