GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( ea3c3c...758782 )
by Michael
03:51
created

AbstractDataStructure::isDataStructure()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 12
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 5
CRAP Score 3.0416

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 12
ccs 5
cts 6
cp 0.8333
rs 9.4285
cc 3
eloc 6
nc 3
nop 1
crap 3.0416

1 Method

Rating   Name   Duplication   Size   Complexity  
A AbstractDataStructure::getRegex() 0 4 1
1
<?php
2
3
namespace MS\PHPMD\Rule\CleanCode;
4
5
use MS\PHPMD\Guesser\DataStructureGuesser;
6
use PHPMD\AbstractRule;
7
use PHPMD\Rule\ClassAware;
8
9
/**
10
 */
11
abstract class AbstractDataStructure extends AbstractRule implements ClassAware
12
{
13
    use DataStructureGuesser;
14
15
    /**
16
     * @param string $name
17
     *
18
     * @return string
19 6
     */
20
    protected function getRegex($name)
21 6
    {
22 3
        return $this->getStringProperty($name);
23
    }
24
}
25