Test Failed
Pull Request — master (#14)
by Scott
02:01
created

PylintLoader   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 9
rs 10
wmc 1
lcom 0
cbo 1

1 Method

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