ClassWithMethodsBeingRemoved   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 19
rs 10
wmc 6

6 Methods

Rating   Name   Duplication   Size   Complexity  
A nameCaseChangePrivateMethod() 0 2 1
A keptPublicMethod() 0 2 1
A keptPrivateMethod() 0 2 1
A keptProtectedMethod() 0 2 1
A nameCaseChangeProtectedMethod() 0 2 1
A nameCaseChangePublicMethod() 0 2 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace RoaveTestAsset;
6
7
class ClassWithMethodsBeingRemoved
8
{
9
    public function nameCaseChangePublicMethod() : void
10
    {
11
    }
12
    public function keptPublicMethod() : void
13
    {
14
    }
15
    protected function nameCaseChangeProtectedMethod() : void
16
    {
17
    }
18
    protected function keptProtectedMethod() : void
19
    {
20
    }
21
    private function nameCaseChangePrivateMethod() : void
0 ignored issues
show
Unused Code introduced by
The method nameCaseChangePrivateMethod() is not used, and could be removed.

This check looks for private methods that have been defined, but are not used inside the class.

Loading history...
22
    {
23
    }
24
    private function keptPrivateMethod() : void
0 ignored issues
show
Unused Code introduced by
The method keptPrivateMethod() is not used, and could be removed.

This check looks for private methods that have been defined, but are not used inside the class.

Loading history...
25
    {
26
    }
27
}
28