Pylint   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getDescription() 0 3 1
1
<?php
2
namespace exussum12\CoverageChecker\Loaders;
3
4
use exussum12\CoverageChecker\FileChecker;
5
6
/**
7
 * Class Pylint
8
 * Used for parsing reports in Pylint format
9
 * @package exussum12\CoverageChecker
10
 */
11
class Pylint extends Generic implements FileChecker
12
{
13
    protected $lineMatch = '#\./(?P<fileName>.*?):(?P<lineNumber>[0-9]+): \[.*?\](?P<message>.*)#';
14
15
    public static function getDescription(): string
16
    {
17
        return 'Parses PyLint output';
18
    }
19
}
20