Completed
Pull Request — master (#301)
by personal
02:13
created

Registry::allForProject()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php
2
namespace Hal\Metric;
3
4
class Registry
5
{
6
    public function allForProject()
7
    {
8
9
    }
10
11
    public function allForStructures()
12
    {
13
        return [
14
            'name',
15
            'length',
16
            'vocabulary',
17
            'volume',
18
            'difficulty',
19
            'effort',
20
            'level',
21
            'bugs',
22
            'time',
23
            'intelligentContent',
24
            'number_operators',
25
            'number_operands',
26
            'number_operators_unique',
27
            'number_operands_unique',
28
            'ccn',
29
            'ccnMethodMax',
30
            'kanDefect',
31
            'mi',
32
            'mIwoC',
33
            'commentWeight',
34
            'externals',
35
            'parents',
36
            'lcom',
37
            'relativeStructuralComplexity',
38
            'relativeDataComplexity',
39
            'relativeSystemComplexity',
40
            'totalStructuralComplexity',
41
            'totalDataComplexity',
42
            'totalSystemComplexity',
43
            'cloc',
44
            'loc',
45
            'lloc',
46
            'methods',
47
            'nbMethodsIncludingGettersSetters',
48
            'nbMethods',
49
            'nbMethodsPrivate',
50
            'nbMethodsPublic',
51
            'nbMethodsGetter',
52
            'nbMethodsSetters',
53
            'afferentCoupling',
54
            'efferentCoupling',
55
            'instability',
56
            'depthOfInheritanceTree',
57
            'pageRank',
58
59
        ];
60
    }
61
}