Completed
Push — master ( 72bc65...6342c7 )
by Dave
01:22 queued 01:19
created

SarbRelativeFileJsonIdentifier   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 17
rs 10
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getCode() 0 3 1
A getToolCommand() 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\SarbJsonResultsParser;
14
15
use DaveLiddament\StaticAnalysisResultsBaseliner\Domain\ResultsParser\Identifier;
16
17
class SarbRelativeFileJsonIdentifier implements Identifier
18
{
19
    public const CODE = 'sarb-relative-json';
20
21
    public function getCode(): string
22
    {
23
        return self::CODE;
24
    }
25
26
    public function getDescription(): string
27
    {
28
        return 'SARB format for outputs with relative paths';
29
    }
30
31
    public function getToolCommand(): string
32
    {
33
        return 'sarb-relative-path-outputting-tool';
34
    }
35
}
36